Prompt
send webhook on record update
Latest observation
Oct 5, 2026
OpenAI APIWeb search: off
To send a webhook when a record is updated, you usually need to:
-
Detect the update event
- In your app/backend, hook into the “before update” or “after update” lifecycle event.
- In no-code tools/CRMs, use an automation/trigger like “Record updated”.
-
Build the payload
- Include the record ID and the fields that changed.
- Example:
{ "event": "record.updated", "record_id": "123", "changes": { "status": "active" } }
-
Send an HTTP POST request
- POST to your webhook URL with JSON body.
- Example in Node.js:
import fetch from "node-fetch"; async function sendWebhook(record) { await fetch("https://example.com/webhook", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ event: "record.updated", record_id: record.id, record }) }); }
-
Call it after the update succeeds
- Important: send the webhook only after the database update is confirmed.
- If you need reliability, queue retries in case the webhook endpoint fails.
If you want, I can help with a version for a specific platform like:
- Airtable
- Supabase
- Firebase
- Node/Express
- Django
- Laravel
- Bubble / Zapier / Make