Running a Custom code in workflow every 5 min.

Mohammad3113
Member | Diamond Partner

I have an internal system, and I need to sync the internal system and HubSpot data every 5 min using custom code in the workflow.
How can I make the code run automatically every 5 mins (trigger on time)

2 Replies 2
dennisedson
Community Manager

Hi @Mohammad3113 

Curious what you are syncing and if webhooks might be a better alternative.

@RBThomas , any sage advice here?

Thanks,

Dennis




Check out our Community Developer Blog
where we feature our Community driven developer podcast and how to content
RBThomas
Top Contributor | Diamond Partner

Possibly 😉

I'm not 100% sure what you're referring to though @Mohammad3113. When you say custom code my brain immediately jumps to the Node.js code in workflows. Is that what you're referring to? Or are you talking about code within your internal system?

 

If you're trying to keep data synchronized with an external source of truth, then I would rely on a separate integration or code your own.