Docs › Automate5 min

Tell another app when a record changes

Your billing tool wants to know when an invoice is approved. Your chat bot wants every P1 bug. A webhook sends the record to their address the moment it happens.

A webhook listens to a view, so make the view first: "Invoices where Status is Approved".

Add one

  1. Open the table and choose Automate.
  2. Under Outgoing channels, choose Tell another app, then Add webhook.
  3. When a record enters, is created in, is edited into or leaves the view you pick.
  4. Send to: Webhook, or your DoInbox and the webhook both.
  5. Paste the other tool's Webhook URL.
  6. Choose Turn on alert. The signing secret shows once: keep it for the other tool.

Only people who manage the table can add a webhook.

What arrives

Each delivery is JSON: the event, when, who or what caused it, which fields changed, and the record with the fields its owner can see. A record that was deleted arrives empty.

It carries an X-DoMyWork-Signature header, an HMAC of the body with your secret, so the other tool can check it came from DoMyWork. Rotate… gives a new secret; the old one stops at once.

Deliveries, Retry, Pause

Open the webhook's card for its panel: what it sends, the address with Edit, and the last 20 deliveries, each with the record and whether it worked.

  • Send a test sends a sample event, once.
  • When the other tool is down, DoMyWork tries again five times over several hours. After ten failures in a row, or when the tool answers that the address is gone, the webhook turns off and its owner and the table's admins get a notice in their DoInbox. When something fails
  • Retry now sends the failed deliveries of the last 14 days again and turns the webhook back on.
  • Pause stops it. What happens while paused is never sent later.
  • Remove… stops it for good.

Workspace admins see every failing webhook in Settings › Workspace › Automate, with Retry now.

From a script

The API can make and remove webhooks too, for record added, changed or deleted. The API

Go further

DoMyWork

Create your free workspace

Sign in with your Google work account and we’ll take you through the first steps. No card, nothing to install.

Continue with Google

We only ask Google for your name, email address and picture. By continuing you agree to the Terms Of Use and Privacy Policy.