I am facing an issue while trying to count the total number of sales emails received per deal, similar to how it is tracked at the contact level using the Recent Sales Email Reply Date property. Here is the scenario:
A single contact can have multiple deals associated with it.
When I send an email to a contact from a deal card and the contact replies, the reply is logged on both the deal and the contact card, while the other deals remain unaffected.
I am managing all deals separately, and I want to count all sales emails received for each deal individually.
To achieve this, my approach was:
If the contact’s Recent Sales Email Reply Date matches a deal’s Sales Activity Date, then that should count as a sales email received for that deal.
I want to increment a counter property on the deal each time this condition is met.
However, I am unable to add this as a trigger condition in my workflow (i.e., Recent Sales Email Reply Date = Deal Sales Activity Date).
I also tried using a calculation property to compare the dates, but it is not working as expected.
I would really appreciate guidance or best practices on how to set up a workflow that accurately counts sales emails per deal, taking into account multiple deals associated with the same contact.
We have discussed this in a few threads before already: As you have already found out, this is currently not possible with the out-of-the-box features in HubSpot. Neither is there a default property, nor is it possible to reliably have a number property increase via calculation or workflow.
If you want this behavior, you would have to look into the HubSpot API and build an app that updates the deal with the count of associated emails. As of now, I don’t see a way to achieve this without development. Alternatively, leverage third-party automation like Make, Zapier, n8n to achieve the same.
There is always the route of simply visualizing this information in reports – in a custom report builder configuration, simply pull in deals and activities, then visualize the count of activities with type email.