# Recent Activity Based

**URL:** <https://community.hubspot.com/t/recent-activity-based/53234>\
**Category:** Lists, Lead Scoring & Workflows\
**Created:** [March 15, 2022, 8:38pm UTC](https://community.hubspot.com/t/recent-activity-based/53234 "2022-03-15T20:38:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![matosnoah](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/matosnoah/32/81139_2.png) [@matosnoah](https://community.hubspot.com/u/matosnoah)\
**Post date:** [March 15, 2022, 8:38pm UTC](https://community.hubspot.com/t/recent-activity-based/53234/1 "2022-03-15T20:38:55Z")

</div>

Trying to create a workflow that could potentially assign new leads coming in - to someone if they have past activity with that company/contact.

I only see:

“At least one associated Activity has …”

Is there a way to filter by (most recent associated activity by user)?

---

<div class="post-metadata">

**Author:** ![karstenkoehler](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/karstenkoehler/32/68554_2.png) [@karstenkoehler](https://community.hubspot.com/u/karstenkoehler)\
**Post date:** [March 16, 2022, 5:57am UTC](https://community.hubspot.com/t/recent-activity-based/53234/2 "2022-03-16T05:57:13Z")

</div>

Hi @matosnoah,

Out of the box, this isn’t possible. HubSpot would have to either store the user of a previous activity in a contact property or allow copying information from activities (via the copy action in workflows or activity-based workflows) – none of which are a thing, unfortunately.

At the moment, the only way this can be approached is with [custom code actions](https://developers.hubspot.com/docs/api/workflows/custom-code-actions), requiring development and Operations Hub Professional or Enterprise.

Best regards!

---

<div class="post-metadata">

**Author:** ![matosnoah](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/matosnoah/32/81139_2.png) [@matosnoah](https://community.hubspot.com/u/matosnoah)\
**Post date:** [March 16, 2022, 2:33pm UTC](https://community.hubspot.com/t/recent-activity-based/53234/3 "2022-03-16T14:33:48Z")

</div>

@karstenkoehler okay, thank you so much for the response and further insight!
