Daeda Essentials

User Guide: Using the Data Essentials Throttle Action

Overview

The Throttle action in Data Essentials is designed to help you manage workflow execution rates and avoid hitting HubSpot’s rate limits. When workflows execute too quickly, you may encounter errors such as “creating records too fast,” leading to failed actions. The Throttle action spaces out workflow executions to ensure they stay within HubSpot’s rate limits.

How It Works

The Throttle action allows you to set a minimum time interval between workflow executions. This ensures that actions like creating records are spaced out, reducing the likelihood of exceeding rate limits.

For example, if you set the throttle to 500 milliseconds, there will be a half-second pause between each workflow execution. You can adjust this interval to suit your needs, such as setting it to 50 or 40 milliseconds for faster execution while still staying within limits.

Step-by-Step Instructions

1. Add the Throttle Action to Your Workflow

  1. Open the workflow editor in HubSpot.
  2. Locate the Throttle action in the Data Essentials actions menu.
  3. Drag and drop the Throttle action into your workflow.

2. Configure the Throttle Action

  1. Click on the Throttle action in your workflow.
  2. Set the minimum time interval between executions (e.g., 500 milliseconds).
    • Suggested intervals:
      • 500 milliseconds for moderate spacing.
      • 110 - 150 milliseconds for faster processing while avoiding rate limits.

3. Test the Workflow

  1. Enroll a batch of tasks or records into the workflow.
    • Example: Enroll 145 tasks.
  2. Observe the workflow execution.
    • The throttle will space out executions to ensure compliance with rate limits.

Example Scenario

Workflow Setup

  • Action: Create a record.
  • Throttle: Set to 500 milliseconds.

Execution

  • Enrolling 145 tasks into the workflow.
  • Expected execution time: Approximately 70 seconds (0.5 seconds per task).

Results

  1. Tasks execute gradually, with a consistent interval between them.
  2. No errors related to rate limits occur.
  3. Execution progress is visible, with approximately 5 seconds per batch of 10 tasks.

Benefits of the Throttle Action

  • Avoid Rate Limits: Prevent errors caused by exceeding HubSpot’s rate limits.
  • Ensure Reliable Execution: Reduce the risk of failed actions in workflows.
  • Flexible Configuration: Customize the minimum interval to balance speed and reliability.

By incorporating the Throttle action into your workflows, you can ensure smooth, error-free execution, even during high-volume tasks.