We are looking at creating an external script that connects over the API to read all the rows in a specific table. Once there, it will return all the data it finds. I am certain this is possible, but can find examples. Has anyone done this?
Currently, Clay does not offer exposed API endpoints that would allow you to directly query and read data from tables outside of our interface. However, there are alternative ways to work with data programmatically:1. You can send input data to Clay using webhooks 2. Process and enrich the data within Clay 3. Use our HTTP API integration to send the output data to your desired external services or applicationsFor more details on these options, you can check:** How to use webhooks to send data to Clay ** How to use HTTP API integration to push data to other applications * A video tutorial on using the HTTP API integration column
Looks like you're still looking for help. We're escalating this over to our support team and someone should be in touch soon. In the meantime, feel free to include any other information that may be helpful in solving your issue!
Is there a way rerun a table (Run Column) externally (over the API) rather than collecting data?
Hey Keiron, Clay doesn't have any traditional API endpoints to e.g. run column- or table-level operations programmatically. As you saw, using webhooks and HTTP API columns are the best ways to get data in and out. Our engineering team is working on adding ability to e.g. schedule runs for a datasource, and for individual columns. No exactly timelines on the columns piece, but that would be the direction we're headed โ more ability to fine-tune within Clay.
We have stuff joined up already. What we are implementing now is some dynamically generated landing pages initiated from Clay... but... our website is statically generated so when we redeploy the site code ideally we want to run the columns to recreate the pages. We know we can store this in a database at the website's end but if there is a way not to have effectively two database tables for landing page content then that's a bonus.
In this case, when you redeploy your static site, just point your HTTP API call to hit the new endpoint and trigger a re-run. This keeps things clean since: - Your data stays preserved in Clay - Re-running simply resends everything to your table - No need for duplicate database storage Let me know if you need help setting up those API endpoints or optimizing the re-run process.
Hey there - just wanted to check in here to see if you needed anything else! Feel free to reply back here if you do.
Not right now, thank you. I will see what solution the team come up with from this side... and then I will post an update of our process if anyone else is interested
That'd be awesome! Thank you for thinking about this, Keiron!! :)
Hey there - just wanted to check in here to see if you needed anything else! Feel free to reply back here if you do.
We haven't heard back from you in a bit, so we're going to go ahead and close things out here - feel free to let us know if you still need something!