Clay Icon

Delaying Row Runs in Clay for LinkedIn API to Avoid Bans

Β·
Β·

Is there a way to delay row runs in clay? i mean like a delay of 60s for each row run. I have an apify actor and I want to delay pings to avoid bans from LinkedIn. I know there is a delay in the apify parameter of the API but thats for between extraction and not when to initiate the actor.

  • Avatar of Channeled
    Channeled
    APP
    Β·
    Β·

    Unfortunately, Clay doesn't have a built-in feature to delay row runs by a specific time interval. However, you can use the rate limiting feature in the HTTP API integration to control the frequency of requests. Here's what you can do: 1. Set up your Apify actor using the "Run Apify Actor" integration. 2. In the rate limit section, set the Request Limit to 1 and the Duration to 60000 ms (60 seconds). This will ensure that only one request is sent every 60 seconds, effectively creating a delay between row runs. Keep in mind that this may significantly increase the total runtime for your table.

  • Avatar of Sunny D.
    Sunny D.
    Β·
    Β·

    I dont see a rate limit section. Where specifically is it at?

  • Avatar of Channeled
    Channeled
    APP
    Β·
    Β·

    The rate limit section is in Step 9 of the HTTP API integration setup. It's labeled as "Define rate limit" and is optional. Here's how to use it: 1. Find the "Request Limit" field and enter the maximum number of allowed requests. 2. In the "Duration (in ms)" field, enter the time window in milliseconds. For example, to create a 60-second delay between row runs, set the Request Limit to 1 and the Duration to 60000 ms. This will ensure only one request is sent every 60 seconds, effectively creating the delay you're looking for.

  • Avatar of Channeled
    Channeled
    APP
    Β·
    Β·
  • Avatar of Channeled
    Channeled
    APP
    Β·
    Β·

    Thank you so much for sharing your feedback ​Sunny D.​!