Fetch deeply nested Airtable records (Level 1, 2, and 3) into a unified JSON structure using this powerful n8n workflow. Includes rich text Markdown to HTML conversion.
Download this n8n workflow template and start using it instantly.
Developers needing to ingest complex relational Airtable data into an application.
Data analysts requiring structured, de-normalized records for reporting.
Users looking for advanced n8n templates to handle nested API logic.
Anyone automating data syncs between Airtable and other systems using a powerful n8n workflow.
This is an advanced n8n workflow designed to overcome the limitations of standard Airtable API calls when dealing with deep data relationships. Traditional methods only return record IDs for linked fields. This specialized n8n node sequence automatically resolves those links up to three levels deep, fetching the actual child and grandchild records. By using optimized HTTP requests and dynamic field mapping, this n8n workflow generates a clean, nested JSON output, optionally converting Airtable's rich text (pseudo-markdown) fields into usable HTML using a custom code n8n node. This makes it a crucial tool for sophisticated data fetching automation. This n8n workflow demonstrates complex logic and efficient data handling.
baseid, tableid, recordid, and the optional array of level3 field IDs. The Set n8n node prepares these inputs.filterByFormula based on the linked record IDs) to efficiently retrieve Level 2 child records. It selectively excludes further linked fields in L2 unless they are required for Level 3 fetching (specified in the level3 input).tohtml flag is true, the n8n workflow identifies all Rich Text fields using the schema and passes the data through a custom Code n8n node that converts the Markdown content to HTML using the marked library, completing the data enrichment pipeline of this powerful n8n workflow.To use this n8n workflow template, follow these steps:
tohtml: true), you must install the marked NPM package in your n8n environment. This is necessary for the Code n8n node to function.baseid, tableid, and recordid for testing. Execute Workflow Trigger (n8n trigger): The starting point. It accepts structured JSON input defining the target Airtable record and the desired level 3 fields.
Airtable (n8n node): Used to retrieve both the full Base Schema definition (essential for identifying link fields) and the initial Level 1 Target Record.
HTTP Request (n8n node): Performs the heavy lifting for efficient retrieval of Level 2 and Level 3 records using Airtable's custom filtering API endpoint, a key element of this advanced n8n workflow.
Set (n8n node): Used extensively throughout the n8n workflow to define dynamic variables, prepare parameters for HTTP calls (like field lists), and map inverse field names.
Filter (n8n node): Filters the base schema to locate link-to-another-record fields, determining the scope of Level 2 fetching.
SplitInBatches/Split Out (n8n node): Manages the complex looping and iteration required for processing arrays of Level 2 records and their nested Level 3 link fields.
Automate AI prompt creation in n8n. Fetch prompts from GitHub, validate variables, auto-populate placeholders using n8n node logic, and execute with an Ollama language model for powerful, reproducible results.

Use this powerful n8n workflow to instantly fetch country-specific Google Trends reports by sending a simple country code message to your Telegram bot. Get top insights automatically.

Use this robust n8n workflow to reliably fetch all Shopify orders, overcoming the 250-item API limit via looping, and summarize sales data by SKU into Google Sheets. Download the n8n templates today.

Use this powerful n8n workflow to fetch SEO keywords from Google Sheets, classify them using the OpenAI AI Agent n8n node, and automatically update your spreadsheet for rapid data analysis.








































