APIs & Integrations

Mohammad3113
Member | Diamond Partner
Member | Diamond Partner

Running a Custom code in workflow every 5 min.

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)

dennisedson
Community Manager
Community Manager

Running a Custom code in workflow every 5 min.

Hi @Mohammad3113 

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

@tominal , any sage advice here?

Thanks,

Dennis




HubSpot Community Developer ShowMake sure to subscribe to our YouTube channel
where you can find the HubSpot Community Developer Show
tominal
Top Contributor | Diamond Partner
Top Contributor | Diamond Partner

Running a Custom code in workflow every 5 min.

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.