With webhook-triggered automations, you can set up a Coda automation to be run when an external app sends data to the Coda webhook URL. This allows you to run a Coda automation on-demand when a record changes within another application.
Setting up the rule
Select “Webhook invoked” as the rule trigger.
Set up the rest of rule steps. You will be able to reference the webhook payload (JSON object) in later steps as Step 1 Result. For example, if the payload is {"message": "hello!"}, you can use ParseJSON([Step 1 Result].ToText(), "message") to get the message value.
Triggering the rule
The rule is triggered when you send a POST request to the URL provided in Step 1. You will need to provide an API token with write access to the doc using Bearer Authentication.
You can create a new API token from Step 1 of the rule builder or use an existing API token. You can reuse the same API token to trigger multiple rules in the same doc.
You can view and remove API tokens from your account page (under Coda API tokens).
If you provide a JSON payload in the POST request body, the payload will be available in later automation steps as Step 1 Result.
I don’t think I fully understand your question. Each automation rule has a separate webhook endpoint associated with it. Anytime that webhook endpoint is triggered (i.e. anytime a valid POST request is sent to the endpoint), the rule will run. You can specify in the later steps what exactly the automation will do.
@Kelsey_Chan so does the automation and its webhook only apply to the table on the page where it’s created? And you can then further filter what triggers it?
Can you help me on your OKR/Kanban Table application?
My associates and the owner of the CODA app are based in Germany. I’m based in Ohio near Cleveland. On the plus side, my friends and associates in Germany enter data in English, but when I select a Kanban Table column to sort alphabetically, or right click the column, the instructions are in German. Is there a way to make these ‘right click’ boxes read in English? Or, an easy way to sort the column alphabetically? Please advise.
Thank you in advance,
Tom Fuerst | US Business Development Manager | Industrial Solutions
I think it can be limited through indirection. The automation is where the business logic would be applied. Trigger fires → automation runs → automation determines what happens.
The webhook endpoint URLs will be different, so you’ll need to make sure any third party services are contacting the correct endpoint and using the proper authentication. Here’s the overall structure
For example, if your original doc with doc id 1EZ-10ugpv has an automation with automation rule id grid-auto-Hjq2i_lzTy, the webhook endpoint URL will be
When I’ve used webhooks elsewhere (ie, clickup, Integromat, zapier), I was able to trigger the webhook via action, not trigger the webhook then apply actions/filters, so just want to be sure I’m doing it right.