Hi there 2 questions, I'd love to get assistance with
I created an http api integration to send some of the enriched records to our system. What's the best way to automate this send all new/updated records to the http api every update or once a day?
Is there a way to pull the data from clay, so instead of defining the HTTP API we can call clay api and get all records/ updated ones?
Hey, thanks for reaching out! While we don't have a traditional version of an API you could potentially use a webhook to achieve something very similar paired with HTTP if needed.
HTTP API integration documentation. Quick video on how HTTP API works: https://www.loom.com/share/114ff06973bd4ed7985b32fa031be867Here's a video showing a few automations you can set up in Clay (webhook example in the first few minutes of this video): https://youtu.be/yw5paDolwTQ?feature=shared
About the automation, how or what trigger are you using currently to queue up your HTTPโ are you auto-importing leads into a table to get enriched and then push them out with HTTP?
Thanks, I'll try the webhooks! any plans to support a formal api (mainly to support pulling the data)?
Currently it's done manually (adding and enrichment) and then pushing them through the http
we want to automate both ends, but while the former is more straightforward, sending from clay out to our system seems to be tricky
Not quite sure if we'll be able to do that in the short or medium term (if possible), since each enrichment/data provider involves a separate call it may be a difficult or complex task to add them and manage via a single API call. Many users already automate their workflows in a similar way described above though
So to put it in perspective: 1. You can import automatically into a Clay table via webhooks. 2. Let your enrichments run 3. HTTP pushes the final output over to your endpoint.
how can i make sure that the http enrichment will run last (after all other enrichments finished)? is there a way to automate the http call following an update of some field?
You can either give it a conditional formula or make sure to set the inputs as required to run in the body section. Only when the values are available and all finished processing accordingly it will run
Unfortunately, no way to automate when there's an update, at least not without triggering another webhook to run the update process and have the HTTP API collect that for you, maybe in a different table.