Qualify B2B accounts and contacts for human-reviewed outreach with OpenAI and Airtable
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 for human review.
How it works Receives a research request via a POST webhook (or runs from a manual test) and normalizes the targeting criteria. Validates required fields and returns a 400 webhook response when the criteria are incomplete. Calls a configurable company-discovery HTTP API, removes excluded companies, and uses OpenAI to evaluate fit and generate evidence that is converted into a weighted account score. Filters out low-scoring accounts, checks Airtable to avoid duplicates, and creates a “Qualified” account record for new matches. Calls a configurable contact-discovery HTTP API for each qualified account, then uses OpenAI to score each contact’s relevance and filters out low-scoring or duplicate contacts using Airtable. Uses OpenAI to generate an evidence-based outreach brief and creates an Airtable queue item with status “Needs Human Review”, then returns a compact JSON result for webhook requests. Runs daily on a schedule to load “Needs Human Review” items from Airtable, identify stale reviews, and optionally email a summary via Gmail.
Setup Create an Airtable base with Accounts, Contacts, and Outreach Queue tables (with fields referenced by the workflow such as Company_Name, Company_Domain, Review_Status, and Created_At) and add an Airtable personal access token credential. Provide your company-discovery API URL/token and contact-discovery API URL/token in the configuration values used by the workflow. Add an OpenAI credential and confirm the selected model (gpt-5-mini) is available in your account. (Optional) Add a Gmail credential, set the notification email address, and enable the disabled “Email Review Queue Summary” step if you want daily reporting. If using the webhook trigger, copy the production webhook URL and configure the calling system to POST the required criteria fields (target_market, target_industries, and target_roles).
Related Templates
AI Email Classifier & Auto-Delete for Gmail (SPAM/OFFER Cleaner)
This workflow is designed for freelancers, solopreneurs, and business owners who receive a high volume of irrelevant mes...
Generate Product Ad Copy & CTAs with GPT-4 for Slack and Airtable
⚡ AI Copywriter Pro: Instant Ad Copy & CTA Generator Transform product details into compelling marketing copy in second...
Auto-classify Gmail emails with AI and apply labels for inbox organization
Who is this for? Professionals and individuals who receive high volumes of emails, those who want to automatically organ...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments