# agregation data

**URL:** <https://community.hubspot.com/t/agregation-data/105888>\
**Category:** APIs & Integrations\
**Tags:** professional\
**Created:** [April 26, 2024, 3:50pm UTC](https://community.hubspot.com/t/agregation-data/105888 "2024-04-26T15:50:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ELaevskaiia](https://avatars.discourse-cdn.com/v4/letter/e/898d66/32.png) [@ELaevskaiia](https://community.hubspot.com/u/ELaevskaiia)\
**Post date:** [April 26, 2024, 3:50pm UTC](https://community.hubspot.com/t/agregation-data/105888/1 "2024-04-26T15:50:57Z")

</div>

Hello! I really need the community’s help))))  
I am using a marketing pro plan.  
I want to send emails to users who have renewed their subscriptions 4 times. I keep the payment dates in Deals properties.  
How can I filter users by the number of payments?  
F.e. if I pass the payment dates to HubSpot, can I aggregate them later?  
Is there some kind of count so I can specify that payments = 4?  
If I understand correctly, I need to filter by list?

Or is there any other solution within the marketing pro plan to implement such a workflow?

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [April 29, 2024, 5:53am UTC](https://community.hubspot.com/t/agregation-data/105888/2 "2024-04-29T05:53:45Z")

</div>

Hey, @ELaevskaiia 👋 Can you clarify if you are looking to do this in-app, using lists and workflows, for example? Or are you looking to build an app and use our APIs to accomplish this?

Thanks! — Jaycee

---

<div class="post-metadata">

**Author:** ![ELaevskaiia](https://avatars.discourse-cdn.com/v4/letter/e/898d66/32.png) [@ELaevskaiia](https://community.hubspot.com/u/ELaevskaiia)\
**Post date:** [May 6, 2024, 2:34pm UTC](https://community.hubspot.com/t/agregation-data/105888/3 "2024-05-06T14:34:04Z")

</div>

Yes) I wanted to do this in-app, using lists and workflows)

But can you describe me both ways to chose the best one for my purposes)

---

<div class="post-metadata">

**Author:** ![RudakovaS](https://avatars.discourse-cdn.com/v4/letter/r/958977/32.png) [@RudakovaS](https://community.hubspot.com/u/RudakovaS)\
**Post date:** [May 7, 2024, 9:35am UTC](https://community.hubspot.com/t/agregation-data/105888/4 "2024-05-07T09:35:27Z")

</div>

Hey, [Jaycee\_Lewis](https://community.hubspot.com/t5/user/viewprofilepage/user-id/127074)

the same question from my side.

How does it work?
