Tabla and n8n: a webhook into a workflow
Point a Tabla webhook at an n8n Webhook node, read the record from the payload, and write back with an HTTP Request node, step by step with node names.
Updated November 2026
n8n handles what happens after a change. A record changes in Tabla, and n8n sends the email, posts to the channel or files the invoice. Setting it up takes one webhook on the Tabla side and two nodes on the n8n side: a Webhook trigger and, when the flow writes back, an HTTP Request node.
This guide names nodes and fields instead of showing n8n's screens, because
n8n's screens change from time to time. The example throughout is an order whose Status reaches
Out for delivery. The flow tells the courier system, then marks the order
assigned.
Get a URL from n8n
- Create a workflow and add a Webhook node as its trigger.
- Set its HTTP Method to POST. Leave the response setting as it is. The node acknowledges the request without waiting for the rest of the flow, which is what a webhook sender wants.
- The node offers two URLs. The test URL is live only while you're listening in the editor, and the production URL is live once the workflow is active. Copy the test URL for now.
The URL has to be reachable from the public internet. n8n's hosted service is, but a self-hosted n8n on a private network isn't, and Tabla will refuse that address when you save.
If your self-hosted n8n can't take requests from outside, it can poll
instead. Give the table a Last modified time field,
and have a Schedule Trigger run an HTTP Request to
GET /api/tables/:id/records with a filter for
records whose Last modified time is after the previous run. The results are
only as current as the schedule, and each record comes as it is now, without
a before. The rest of this guide uses the webhook.
Point a Tabla webhook at it
In the database's Webhooks tab, click Add webhook and set it up like this:
When a record starts matching in Orders (with the condition
StatusisOut for delivery), Send to the n8n URL.
Starts matching fires once each time a record arrives in that state, and not on every later edit. The conditions guide explains the rule. If you want every edit, use a record is updated with watched fields instead.
Teach n8n the shape
Set the Webhook node listening (n8n's editor has an execute-and-wait state for this), then click Send a test on the Tabla side. A sample delivery arrives, built with your table's own field names, and n8n shows the payload's structure so you can map from it.
Then send one actual event by switching an order to Out for delivery, and
pin that execution instead. Actual values are better than sample values while
you build.
Read the record in the flow
The delivery is the POST body. It has event, record_id, full before and
after snapshots of the record with every field in each, and
changed_field_ids, all listed in the payload reference.
The Webhook node passes the request to the next node with the JSON under its
body property, so in the node right after it, expressions look something like
this:
{{ $json.body.after.fields["Customer email"] }}
{{ $json.body.after.fields.Status }}
{{ $json.body.record_id }}
Further down the flow, $json is whatever the previous node returned, which
in this example is the courier system's answer. So reach back to the Webhook
node by its name instead, with {{ $('Webhook').item.json.body.record_id }},
using your node's name if you renamed it.
The root ($json.body here) can differ depending on the node's settings.
Open the node's output panel once and read the structure it shows, instead of
trusting any guide, this one included.
Two habits keep a flow working over time:
- Bind to field ids, not names, for anything long-lived. Set Cells
keyed by to Field id (it's inside Example payload on the Tabla
webhook's page), and a colleague renaming
Customer emailcan't break your mapping. Your expressions change too. Cells arrive under their ids, as in{{ $json.body.after.fields["fld_bftdjdcgku7d"] }}, and each delivery'sfield_namesmap says which id is which. After you switch, send a new test and pin it. - Dedupe on
delivery_id. Delivery is at-least-once, so an n8n outage at the wrong moment can mean the same delivery arrives twice. Before anything that must not run twice, check whether you've already seen thedelivery_id(with a Code node using workflow static data, or your own store) and branch on it.
Write back through the API
To act on Tabla, for example to mark the order or stamp a time, add an HTTP Request node:
- Method: PATCH
- URL:
https://tabladb.com/api/tables/tbl_sf6ir2p5y3uc/records - Authentication: Generic Credential Type → Header Auth, with a
credential whose Name is
Authorizationand Value isBearer key_xxxx.your-secret, so the key is stored in n8n's credentials and not in the node - Body (JSON):
{
"records": [
{
"id": "{{ $('Webhook').item.json.body.record_id }}",
"fields": { "Assigned to": "omar@sakkaraplants.com" }
}
]
}
That's the ordinary records API. The webhook
carried the record_id, so you don't need a lookup round trip. The id is read
from the Webhook node by name because this node comes after the courier call.
Be careful about one loop. This node's PATCH fires a record is updated
webhooks on the table, and a webhook that triggers a flow that edits the
record that fires the webhook is an infinite loop. Watched fields and
conditions prevent it. If the webhook triggers on Status and the flow
writes to Assigned to, the loop can't close.
Go live
Activate the workflow, then change the Tabla webhook's URL from the test URL to the production URL. The two are different, and a webhook left pointing at the test URL only delivers while the editor is listening. The rest of the time those deliveries fail, and they show as failures in the ledger, which is how you'd notice.
If the endpoint does anything that matters, verify the signature. For how the pattern fits together (payloads, retries, idempotency), see the overview, database webhooks with Make and n8n.