Automated Airtable to Postgres migration with n8n
Ready for 3.0What this workflow does
This workflow has 56 nodes and runs when an HTTP GET request hits its webhook URL (plus 1 other trigger). It uses only n8n's built-in nodes.
How it runs
Trigger: When an HTTP GET request hits its webhook URL (plus 1 other trigger).
- set webhook (Edit Fields (Set)): sets or maps fields
- Pass all data (Edit Fields (Set)): sets or maps fields
- Claude (HTML): parses or builds HTML
- Switch: routes items into branches
- Respond to Webhook: sends the response back to the webhook caller
- postgres credentials (Edit Fields (Set)): sets or maps fields
- Set webhook user data (Edit Fields (Set)): sets or maps fields
- base id to delete (Edit Fields (Set)): sets or maps fields
- Set user data (Edit Fields (Set)): sets or maps fields
- If: checks a condition and branches into true / false
…plus 44 more steps. See the full node list below.
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (11)
- Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Code
n8n-nodes-base.code - Edit Fields (Set)
n8n-nodes-base.set - Limit
n8n-nodes-base.limit - If
n8n-nodes-base.if - HTTP Request
n8n-nodes-base.httpRequest - Split Out
n8n-nodes-base.splitOut - Webhook
n8n-nodes-base.webhook - Respond to Webhook
n8n-nodes-base.respondToWebhook - HTML
n8n-nodes-base.html - Switch
n8n-nodes-base.switch
From the author
Overview This ETL system automates the process of migrating data from Airtable to PostgreSQL with a single API request. It maps your Airtable schema into a Postgres-compatible structure. Automatically creates new tables in your Postgres database. Migrates all…