function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Kristin McCownKristin McCown 

Need to create a rule that syncs last activity date into our hubspot instance

We are creating a campaign in hubspot that is triggered by the last activity date in salesforce (when there has been no activity for 2 weeks and email will be sent out.) How can we set up a rule to do this? Hubspot does not sync with dynamic fields and I know that last activity date is a dynamic field. Can you help with this?
ShashankShashank (Salesforce Developers) 
You can probably setup a scheduled apex job to check this on a daily basis.