workflows.fit
Back to n8n workflows
n8n templateFreeBy Giulio

Build an endpoint to perform CRUD operations with multiple HTTP methods

This n8n workflow template allows you to create a CRUD endpoint that performs the following actions: - Create a new record - Get a record - Get many records - Update a record - Delete a record This template is connect...

Data & StorageDevelopmentCore NodesUtilityRespond To WebhookSticky NoteAirtableWebhook
Loading interactive preview...

Template notes

This n8n workflow template allows you to create a CRUD endpoint that performs the following actions:

- Create a new record - Get a record - Get many records - Update a record - Delete a record

This template is connected with Airtable but you can replace the Airtable nodes with anything you need to interact with (e.g. Postgres, MySQL, Notion, Coda...).

The template uses the n8n Webhook node setting 'Allow Multiple HTTP Methods' to enable multiple HTTP methods on the same node.

Features

- Just two nodes to create 5 endpoints - Use it with Airtable or replace the Airtable nodes for your own customization - Add your custom logic exploiting all n8n's possibilities

Workflow Steps

- Webhook node: exposes the endpoints to get many records and create a new record - Webhook (with ID) node: exposes the endpoints to get, update, and delete a record. Due to a n8n limitation, this endpoint will have an additional code in the path (e.g. https://my.app.n8n.cloud/webhook/580ccc56-f308-4b64-961d-38323501a170/customers/:id). Keep this in mind when using these endpoints in your application - Various Airtable nodes: execute various specific operations to interact with Airtable records