Contents

Cancel

Recommended Articles

  1. unify-apps

    Indexing

    Unify AI

    Transform raw content into searchable knowledge through AI-powered indexing and vector embeddings

  2. unify-apps

    JobNimbus

    Unify Integrations

    Integrate your application with JobNimbus to manage leads, track jobs, and streamline your workflow processes efficiently

  3. unify-apps

    IMAP

    Unify Integrations

    Integrate your app with IMAP to enable seamless email synchronization, real-time access, and enhanced communication workflows.

  4. unify-apps

    Preview Your Work

    Unify Automations

    Effortlessly review & monitor your automation’s performance

  5. unify-apps

    QuickBooks

    Unify Integrations

    Integrate your app with QuickBooks to streamline accounting, automate invoicing, and manage finances effortlessly

  6. unify-apps

    FTP/FTPS

    Unify Integrations

    Connect your app with FTP/FTPS to automate secure file transfers and streamline data exchange across systems.

  7. unify-apps

    Filters

    Unify Applications

    Enable users to refine, search, and sort data effortlessly across dashboards and datasets

  8. unify-apps

    Insided

    Unify Integrations

    Integrate your app with Insided to enhance customer engagement, streamline community management, and drive self-service support.

  9. unify-apps

    Facebook Ads

    Unify Integrations

    Connect your app with Facebook Ads to automate campaign management, optimize ad performance, and track marketing success.

  10. unify-apps

    Gainsight

    Unify Integrations

    Integrate your app with Gainsight to enhance customer success, automate engagement workflows, and drive retention

  11. unify-apps

    Livestorm

    Unify Integrations

    Integrate your app with Livestorm to streamline webinar hosting, automate event management, and enhance audience engagement.

  12. unify-apps

    Snowflake

    Unify Automations

    Connect to Snowflake for fast, scalable cloud data warehousing and analytics

  13. unify-apps

    Pipeline CRM

    Unify Integrations

    Integrate your app with Pipeline CRM to streamline sales processes, automate lead management, and enhance customer relationships

  14. unify-apps

    Cognito Forms

    Unify Integrations

    Integrate your app with Cognito Forms to create custom forms, automate data collection, and streamline workflows

  15. unify-apps

    Button

    Unify Applications

    Create interactive elements with ease using buttons

  16. unify-apps

    BambooHR

    Unify Automations

    Integrate your app with BambooHR to streamline HR management, automate employee data processing, and enhance onboarding workflows

  17. unify-apps

    Build your first automation

    Unify Automations

    Learn how to build your automation step by step

  18. unify-apps

    User Management

    Unify Applications

    Efficiently manage user roles and permissions

#
Unify Automations
Logo
Rate limiting

Rate limiting

Logo

4 mins READ

Overview

Rate Limiting allows you to control the frequency of requests made by your automations, ensuring compliance with API rate limits, preventing overload, and maintaining stable operations.

Image
Image

Use Cases

API Compliance

Your automation needs to interact with an external API with strict rate limits. For example. Asana has a standard rate limit policy of 1500 requests per minute.

In such cases we need to Configure rate limiting to match the API's restrictions, ensuring your automation doesn't exceed allowed request quotas.

Detailed Breakdown

  1. Rate Limit Toggle


    Users can independently enable or disable the rate-limiting functionality for each node. This granular control allows for optimized request management across different parts of a workflow.

  2.  Duration and Unit


    Set the time interval for the rate limit. The duration is a numeric value, and the unit can be selected from options like seconds, minutes, or hours, allowing for flexible rate limit configurations.

  3. Number of Requests


    Specify the maximum number of requests allowed within the defined time interval. This helps adhere to API quotas and prevent request overload.

  4. Wait for the Next Window


    This option causes the automation to pause and wait until the rate limit window resets before attempting new requests. This helps manage workflows that process large volumes of data over time.

Configuration Steps

  1. Access Node Settings

    • Select the node you want to configure in your workflow for rate limiting.

    • Look for the Rate Limit section in the node's settings panel.

  2. Enable Rate Limiting

    • Locate the Rate Limit checkbox and enable it.

  3. Set Duration and Unit

    • Find the Duration field and enter a numeric value.

    • In the Unit dropdown, select the appropriate time unit (e.g., seconds, minutes, hours).

  4. Configure Number of Requests

    • Enter the maximum number of allowed requests in the Number of requests field.

    • This value represents how many requests can be made within the specified duration.

  5. Enable Wait for Next Window (Optional)

    • If you want the automation to pause and wait for the next rate limit window, check the Wait for next window option.

FAQs

How does rate limiting differ from retry mechanisms?

While retries handle errors by attempting the same operation multiple times, rate limiting proactively manages request frequency to prevent errors and ensures smooth operation within defined constraints.

Can I use different rate limit configurations for different APIs within the same workflow? 

Yes, rate limits can be configured independently for each node in your workflow, allowing you to tailor settings to the requirements of different APIs or services.

What happens if my workflow tries to exceed the configured rate limit? 

If Wait for the next window is enabled, the workflow will pause until the next rate limit window begins. Disabling may result in errors or skipped operations depending on your error-handling configuration.

How do I determine the appropriate rate limit for my automation? 

Consult the documentation of the APIs or services you're interacting with. Many provide specific guidelines on rate limits. For internal systems, consider factors like system capacity and desired performance.

Can rate limiting be used in conjunction with caching to optimise performance? 

Yes, combining rate limiting with caching can be a powerful strategy. Caching can reduce the number of necessary API calls, while rate limiting ensures that they comply with usage restrictions when calls are needed.