π¬ Create Teable records from incoming webhook requests using a REST API
β‘ 8 views Β· π¬ Document Extraction & Analysis
Description
Quick overview
This workflow receives a POST webhook request and creates one or more records in a Teable table via the Teable REST API, then returns the API response to the caller.
How it works
- Receives a POST request on the webhook endpoint containing a Teable tableId and record data.
- Validates that tableId is present and normalizes the payload into a records array with fields, applying defaults like fieldKeyType and typecast.
- Sends an authenticated HTTP POST request to Teableβs Create Records API for the specified table.
- Returns Teableβs creation result as a JSON response with HTTP status 201.
Setup
- Set the
TEABLE_TOKENenvironment variable in your n8n runtime (Teable Personal Access Token) so the workflow can authenticate to the Teable API. - (Optional) Set
TEABLE_BASE_URLto your Teable instance URL if you are self-hosting; otherwise it defaults tohttps://app.teable.ai. - Copy the n8n webhook URL (
/webhook-test/teable/recordsfor testing and/webhook/teable/recordsafter activation) into the system that will send record-creation requests, and includetableIdin the request body, query string, orx-teable-table-idheader.
π Nodes Used
HTTP Request, Webhook
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File