Qualify B2B accounts and contacts for human-reviewed outreach with OpenAI and Airtable
Ready for 3.0What this workflow does
This AI workflow has 50 nodes and runs when an HTTP POST request hits its webhook URL (plus 2 other triggers). Along the way it connects OpenAI, Airtable and Gmail.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 2 other triggers).
- Configure Research Environment (Edit Fields (Set)): sets 9 fields: airtable_base_id, airtable_accounts_table_id, airtable_contacts_table_id…
- Set Target Criteria Fields (Edit Fields (Set)): sets 11 fields: campaign_id, target_market, target_industries…
- Configure Queue Review Settings (Edit Fields (Set)): sets 4 fields: airtable_base_id, airtable_queue_table_id, notification_email…
- Normalize Request Data (Code): runs custom JavaScript code
- GET Pending Review Queue (HTTP Request): calls an HTTP API
- Validate Criteria in Request (Code): runs custom JavaScript code
- Summarize Review Queue Data (Code): runs custom JavaScript code
- Check Validity of Criteria (If): checks a condition and branches into true / false
- Send Review Summary Email (Gmail): uses Gmail
- Search Company Candidates (HTTP Request): calls an HTTP API (POST)
…plus 34 more steps. See the full node list below.
Services it uses
Other OpenAI + Gmail templates (1,623) · Other OpenAI + Airtable templates (215) · Other Airtable + Gmail templates (133)
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 (12)
- Manual Trigger
n8n-nodes-base.manualTrigger - Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - HTTP Request
n8n-nodes-base.httpRequest - OpenAI
@n8n/n8n-nodes-langchain.openAi - Airtable
n8n-nodes-base.airtable - Respond to Webhook
n8n-nodes-base.respondToWebhook - No Operation, do nothing
n8n-nodes-base.noOp - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Gmail
n8n-nodes-base.gmail
From the author
Quick overview This workflow accepts B2B targeting criteria via webhook or manual input, discovers matching companies and contacts via external APIs, uses OpenAI to score fit and build an evidence-based outreach brief, and stores qualified results in Airtable…