Templates / Ai data extraction with dynamic prompts and Airtable

Ai data extraction with dynamic prompts and Airtable

Ready for 3.0

by Jimleuk ✓ · 5,467 views · created 2025-01-21 · HR, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 36 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects OpenAI Chat Model and Airtable.

How it runs

Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).

  1. Set Airtable Vars (Edit Fields (Set)): sets 4 fields: appId, tableId, notificationUrl…
  2. Get Table Schema (Airtable): get schema (base)
  3. Get Table Schema (Airtable): get schema (base)
  4. FieldsChanged Webhook (HTTP Request): calls an HTTP API (POST)
  5. Get Prompt Fields (Code): runs custom JavaScript code
  6. Get "Input" Field (Edit Fields (Set)): sets or maps fields
  7. Get Webhook Payload (HTTP Request): calls an HTTP API
  8. RecordsChanged Webhook (HTTP Request): calls an HTTP API (POST)
  9. Parse Event (Code): runs custom JavaScript code
  10. Event Type (Switch): routes items into 3 branches

…plus 18 more steps. See the full node list below.

Services it uses

OpenAI Chat ModelAirtable

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.

Nodes used (13)

From the author

This n8n template introduces the Dynamic Prompts Ai workflow pattern which are incredible for certain types of data extraction tasks where attributes are unknown or need to remain flexible. The general idea behind this pattern is that the prompts for…

Excerpt from Jimleuk's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.