Block 1 - Loop Over Items
- Type / Role
- n8n-nodes-base.splitInBatches - splitInBatches
- Config choices
- Version 3
This workflow is provided as-is. Please review and test before using in production.
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. Automatica...
n8n-nodes-base.splitinbatches, n8n-nodes-base.stickynote, n8n-nodes-base.code, n8n-nodes-base.set, n8n-nodes-base.limit, n8n-nodes-base.if, n8n-nodes-base.httprequest, n8n-nodes-base.splitout
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Zacharia Kimotho.
Original n8n.io sourceThis ETL system automates the process of migrating data from Airtable to PostgreSQL with a single API request.
> ⚙️ Originally built in-house to help us migrate off Airtable after exceeding usage limits.
> Bonus operations: You can list or delete created tables using API endpoints.
Gather your PostgreSQL connection details:
curl or Postman to trigger migration actions.Here are the available HTTP endpoints and how to use them.
curl -X POST "https://n8n.com/webhook/123/validate-airtable" \
-H "Content-Type: application/json" \
-d '{
"airtable": {
"airtableId": "app12345",
"airtableToken": "pjhy.iyhhs"
}
}'
curl -X POST "https://n8n.com/webhook/123/validate-postgres" \
-H "Content-Type: application/json" \
-d '{
"postgres": {
"host": "aws-0-us-west-1.pooler.supabase.com",
"port": "6543",
"user": "postgres.username",
"password": "gamjgnrkxetb",
"database": "postgres"
}
}'
curl -X POST "https://n8n.com/webhook/123/sync" \
-H "Content-Type: application/json" \
-d '{
"host": "aws-0-us-west-1.pooler.supabase.com",
"port": "6543",
"user": "postgres.username",
"password": "gamjgnrkxetb",
"database": "postgres",
"airtableId": "app73PqALbM3AM0xN",
"airtableToken": "patNCueRkrLI98fEq.9ae7f9786e9ad73ac21ca26d8046f08ad77e135ae950a6e2ff3760d85aca3db4",
"action": "Move"
}'
[
{
"statusCode": 200,
"statusMessage": "Data migration successful",
"recordsProcessed": 152,
"tablesProcessed": 3
}
]
curl -X POST "https://n8n.com/webhook/123/list-tables" \
-H "Content-Type: application/json" \
-d '{
"postgres": {
"host": "aws-0-us-west-1.pooler.supabase.com",
"port": "6543",
"user": "postgres.username",
"password": "gamjgnrkxetb",
"database": "postgres"
}
}'
curl -X POST "https://n8n.com/webhook/123/delete-tables" \
-H "Content-Type: application/json" \
-d '{
"postgres": {
"host": "aws-0-us-west-1.pooler.supabase.com",
"port": "6543",
"user": "postgres.username",
"password": "gamjgnrkxetb",
"database": "postgres"
}
}'
singleLineText → VARCHAR, number → INTEGER, checkbox → BOOLEAN, etc.).curl, Postman, or integrations)Feel free to reach out via LinkedIn or Email if you need help adapting this workflow for your organization or extending it with extra transformations.
Happy productivity!
This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
Showing the first 24 of 66 workflow blocks. Download the JSON for the full node graph.
| Workflow | Automated Airtable to Postgres migration with n8n |
|---|---|
| Complexity | advanced |
| Nodes | 66 |
| Categories | Engineering |
| Author | Zacharia Kimotho |
| Published | 08 Jun 2025 |
Use the JSON export at /data/workflows/4772/4772.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
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. Automatica...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Engineering use case.