Clay Icon

Conditional HTTP API Call Based on Column Value Check

ยท
ยท

Is it possible to do a conditional check against a column on an HTTP API call? So for example if a column value in the row doesnt say: "NOT A LAW FIRM" go ahead and run the HTTP API call and retrieve the result values

  • Avatar of Channeled
    Channeled
    APP
    ยท
    ยท

    Yes, you can set up a conditional run for your HTTP API call. Here's how to do it:1. Go to the Run Settings of your HTTP API enrichment column 2. Look for the "Only run if" box 3. You can either: โ€ข Type your condition manually โ€ข Click the "Use AI" button and describe your condition in plain language (e.g., "Only run if the law firm column does not equal 'NOT A LAW FIRM'")This approach helps you save credits by ensuring the enrichment only runs on rows that meet your specified condition. The HTTP API call will only execute when your conditional formula evaluates to true. Sources: Guide: Ways to Save Clay Credits - Clay University Conditional Formulas

  • Avatar of Channeled
    Channeled
    APP
    ยท
    ยท

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