Workflow Action That Allows You To Throttle Amount Per Second
The Problem: We recently enabled OpsHub and have been building out different Custom Code integrations with different APIs. Each of these APIs we are working with have different rate limits that I'm unable to account for in my custom code. Ideally if I could control how many objects get passed through through a specific workflow action at a time per second, I could configure a custom throttle right on the workflow. This could also be a useful feature for email marketing and sequences as well.
The Solution: A new workflow action that allows you 2 inputs
Choose how many objects should be moved per interval
* Object Count ___
* Interval (Ideally seconds, minutes, hours)
For example If I have 500 contacts I am importing into the system that would automatically trigger this workflow, I could set the Throttle to * Contact Count 5
* Interval 1 second
When 500 contacts hit the Throttle Action, 5 would get processed every 1 second (any additional that come in would get in the queue. This would take approximately 100 seconds before the Throttle queue was empty (assuming no additional contacts were added to the workflow).
Yes this would be amazing! Something like Random Sample but ensuring that we can do multiple, mutually-exclusive samples from within a workflow.
In my particular use case, I would like to execute property updates on batches of leads without overwhelming our sales team or SFDC API with thousands of leads all at once. Being able to throttle X many leads per X time would solve this completely.
I created a "Cohort" field to potentially write a custom code step that assigns each Contact a number 1-10, and then add later steps to execute 1 cohort each day, but haven't had the time to write and debug it.
Hey! We've built an app that will be able to help you with this. It's called Time Turner, and it allows you to throttle your HubSpot workflows and drip-feed your emails out over time.
Great app there @JTolley , well done! My only recommendation would be to add a little note for users to see - Making a recommendation for if the action is being used to feed custom code. (Don't exceed 100/10s, consider lowering it to allow space for other API calls being made elsewhere, etc).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.