Clay Icon

Implementing Delay on Column Execution in Automated Workflows

Β·
Β·

Hi! Is there any way to put a delay on a column before it runs? The workaround of waiting for "complete" or something to happen doesn't work. In my use case, here's what's happening:

  1. 1.

    I had a URL to a PDF in Clay

  2. 2.

    I push that PDF to pdf.co via their API and it returns a temp file URL

  3. 3.

    I then push that temp file into a google sheet which then basically converts it and uploads it to a GDrive folder, then uploads that file to the vector store in chatgpt and returns the file ID's

  4. 4.

    I then take those file ideas back into Clay so i can use them later

The problem is that I can't run any of the prompts until I have the IDs but that could take 5 seconds or 1 minute.

  • Avatar of Channeled
    Channeled
    APP
    Β·
    Β·

    You can use the "Required to Run" feature in the Prompt Editor to ensure your AI enrichments only run when the necessary file IDs are available. Here's how: 1. Open the Prompt Editor for your AI enrichment 2. Find the field that contains your file IDs 3. Enable the "Required to Run" toggle for that field This way, the AI prompts will only run when the file ID fields contain data, preventing errors from running prompts too early. Additionally, you can optimize your workflow by setting up conditional runs, which ensures enrichments only execute when specific conditions are met. This not only helps with timing but also makes your process more efficient.

  • Avatar of Channeled
    Channeled
    APP
    Β·
    Β·

    Is that what you were looking for?

  • Avatar of Channeled
    Channeled
    APP
    Β·
    Β·

    Hi Greg C.! This thread was recently closed by our Support team. If you have a moment, please share your feedback:

  • Avatar of Bharat D.
    Bharat D.
    Β·
    Β·

    Bruno R. - Here is another use case. I see at least 1-2 requests regarding the delay functionality in the support group. Currently its only possible with external API calls like Make/Zapier etc. Greg C. - You can use Google AppScript to delay this at Google level and then push it to Clay.

  • Avatar of Channeled
    Channeled
    APP
    Β·
    Β·

    Currently, Clay does not have a built-in delay functionality. For processing delays, you can: 1. Break your data processing into smaller batches to manage the workflow more effectively 2. Use external tools to implement delays: β€’ Zapier integration for automated workflows β€’ Webhook functionality with customizable timing If you need precise timing control, you'll need to use one of these external tools to manage the delay between operations. For optimal results, monitor your usage limits and ensure your queries are specific and well-defined.

  • Avatar of Channeled
    Channeled
    APP
    Β·
    Β·

    Did that answer your question?