# How to Use AI for Outbound Prospecting with n8n, OpenAI and Airtable

> Build one n8n workflow that qualifies new prospects in Airtable, drafts a first outreach email with OpenAI, and turns long content into posts. Every draft waits in Airtable for your approval, so nothing goes out without you.

- Canonical page: https://syswithai.com/blog/ai-prospecting-n8n-openai-airtable/
- Site: syswithai (syswithai.com)
- Format: executable automation workflow
- Published: 2026-11-21
- Last updated: 2026-11-21
- Author: Syswithai
- Citation policy: every data claim links, in the same sentence, to the page it came from. Claims without a source are not published.

If you run a small digital service business and you're working out how to use AI to grow it, start with the two chores that eat your week: researching prospects one by one before writing a first email, and chopping each long article or video script into posts for LinkedIn, X and your newsletter. Usually the founder or a part-time assistant does both by hand. Tabs pile up, notes live in three places, the same company gets emailed twice, and the blog post you finished on Monday never becomes anything else. This guide shows you how to build one n8n [workflow](https://syswithai.com/blog/n8n-reddit-pain-points-slack/) that reads new rows from Airtable, asks the OpenAI API to qualify each prospect and draft an email, repurposes each new piece of content, and writes everything back to Airtable for you to approve. Nothing goes out without your click.

Last updated: November 2026

## Workflow at a glance

| Item | Details |
| --- | --- |
| Problem it solves | Prospect research and first-draft outreach are slow and inconsistent, and finished content rarely gets reused across channels. |
| Manual steps it replaces | Opening each prospect's notes, judging fit, writing a tailored opener, copying it into a tracker, checking you haven't contacted them before; and for content: rereading the piece, writing a LinkedIn post, splitting a thread for X, writing a newsletter teaser, and pasting all of it somewhere your team can find it. |
| Trigger | n8n Schedule Trigger on weekdays (plus a Manual Trigger for testing). |
| Output | Airtable rows updated with fit decision, reason, email subject and body for prospects; LinkedIn post, X thread, newsletter blurb and outreach hook for content. Status fields show what needs your review. |
| Tools | n8n (cloud or self-hosted), Airtable, OpenAI API through the n8n OpenAI node. |
| Skill level needed | Comfortable with spreadsheets and copy-pasting small bits of JavaScript. No full coding background required. |
| Complexity | Medium. The nodes are simple, but you have to handle JSON output from the model, duplicate protection, and Airtable rate limits. |

## What you need before you start

Get these ready first. It saves you from half-[built](https://syswithai.com/blog/best-ai-automation-tools-2026/) nodes later.

- **An n8n account or instance.** n8n Cloud works, and so does a self-hosted install. You need permission to create credentials and workflows.

- **An Airtable account and a base you own.** Create a base called *Growth Engine*. You'll add two tables below.

- **An Airtable credential.** n8n's Airtable credentials page explains that n8n supports both Personal Access Token (PAT) and OAuth2 authentication for Airtable. A PAT is the quicker route: in Airtable, open the Builder hub, go to Personal access tokens, create a token, add the scopes `data.records:read`, `data.records:write` and `schema.bases:read`, and give it access only to the Growth Engine base. Copy the token once (Airtable won't show it again).

- **An OpenAI API key.** Create one in your OpenAI platform account under API keys, and make sure billing is set up on that account. The n8n OpenAI credentials page shows where the key goes in n8n.

- **A short description of what you sell.** Two or three sentences: who you help, what you deliver, what a good-fit client looks like. The model judges fit against this text, so be specific.

- **Sample data.** Five or six real prospects you'd consider contacting (with a sentence or two of notes each), one deliberate duplicate, one row with empty notes, and two long pieces of your own content (a blog post and a transcript are fine).

### Set up the Airtable base

Create a table named **Prospects** [with](https://syswithai.com/blog/n8n-follow-up-boss-google-sheets/) these fields. Field names matter, because your n8n expressions will reference them exactly.

- Company (single line text)

- Website (URL)

- Contact Name, Role, Email (single line text, email)

- Notes (long text: whatever you know about them, pasted from their site or a call)

- Status (single select: New, Processing, Drafted, Approved, Sent, Skip, Error)

- Fit (single select: yes, no, unknown)

- Fit Reason, Email Subject, Email Body, Error (long text)

- Last Run (date with time)

Then create a table named **Content** with: Title, Source Text (long text), Status (single select: New, Processing, Repurposed, Approved, Error), LinkedIn Post, X Thread, Newsletter Blurb, Outreach Hook, Error (all long text).

That's the whole [data](https://syswithai.com/blog/n8n-workflow-automation-templates-invoices/) model. Simple on purpose.

## How the workflow runs

One workflow, two branches [that](https://syswithai.com/blog/ai-trends-2026-productivity-gains/) start from the same trigger. Here's the path each record takes.

1. **Schedule Trigger** fires on weekdays. It passes no data, just a start signal.

2. **Search Prospects** (Airtable, Search) pulls rows where Status is New. Each item carries `id`, `Company`, `Website`, `Contact Name`, `Role`, `Notes`.

3. **Drop Duplicates** (Code) removes items that share the same cleaned-up website or company name. Decision point: duplicates are dropped here and never reach the model.

4. **Mark Processing** (Airtable, Update) sets Status to Processing on every remaining record id, so a second run can't grab the same rows.

5. **Loop Prospects** (Loop Over Items) hands one record at a time to the next nodes.

6. **Prepare Prospect** (Edit Fields) builds a clean item: `recordId`, `company`, `website`, `contact_name`, `role`, `notes`.

7. **Qualify and Draft** (OpenAI, Message a Model) receives those fields plus your services description and returns JSON: `fit`, `fit_reason`, `subject`, `body`.

8. **Parse Prospect** (Code) parses and validates the JSON and outputs `recordId`, `valid`, `fit`, `fitReason`, `subject`, `body`, `error`.

9. **Is Valid?** (IF) branches. True goes to the next check, false goes to **Write Error**, which sets Status to Error and fills the Error field.

10. **Is Fit?** (IF) branches on `fit`. Yes goes to **Write Draft** (Status Drafted, subject and body filled). No or unknown goes to **Write Skip** (Status Skip, reason filled, email left empty).

11. **Pause** (Wait) slows the loop down, then control returns to Loop Prospects until every record is done.

12. **Content branch** runs the same shape: Search Content (Status New and Source Text not empty), Mark Processing, Loop Content, **Repurpose** (OpenAI), Parse Repurpose, IF valid, then write LinkedIn Post, X Thread, Newsletter Blurb, Outreach Hook and Status Repurposed, or Status Error.

13. **Output:** your Airtable views. You filter Prospects by Drafted and Content by Repurposed, edit, and flip Status to Approved by hand.

## Build it step by step

### Step 1: Add credentials in n8n

In n8n, open **Credentials** and click **Add credential**. Search for Airtable and choose the Personal Access Token type, then paste your token. n8n's Airtable node documentation sends you to the credentials page for setup, so follow that if your screen looks different. Add a second credential for OpenAI and paste your API key. n8n's OpenAI node documentation notes that the node works with OpenAI credentials and can also use n8n Cloud Gateway credits, so if you're on n8n Cloud you may see that option too.

Name them clearly, for example *Airtable Growth Engine PAT* and *OpenAI Prospecting*.

**Check:** both credentials save with a green success message after n8n tests them. A failed Airtable test usually means the token wasn't granted access to the base.

### Step 2: Create the workflow and triggers

Create a new workflow named *Prospecting and Repurposing*. Add a **Schedule Trigger** node. Set **Trigger Interval** to Custom (Cron) if you want weekdays only, and use the expression below. Also add a **Manual Trigger** and connect it to the same first nodes, so you can test without waiting.

```
# Cron expression: every weekday at 09:00 and 15:00 (instance time zone)
0 9,15 * * 1-5
```

Check the workflow's time zone under **Workflow settings**. If it's wrong, the runs land at odd hours.

**Check:** the Schedule Trigger panel shows the next execution times you expect.

### Step 3: Search for new prospects

Add an **Airtable** node after the triggers and name it *Search Prospects*. Settings:

- Credential: your Airtable PAT

- Resource: Record. Operation: Search

- Base: Growth Engine (pick from list). Table: Prospects

- Filter By Formula: the formula below

- Return All: off, and Limit set to `20` (a small batch keeps each run short)

```
AND({Status} = 'New', {Company} != '')
```

Run the node. In recent node versions each output item shows `id`, `createdTime` and your fields at the top level. If your version nests them under `fields`, write `$json.fields.Company` instead of `$json.Company` in every expression below.

**Check:** only rows with Status New appear, each with its Airtable record id starting with `rec`.

### Step 4: Remove duplicates before they cost you anything

Add a **Code** node named *Drop Duplicates*, mode Run Once for All Items, and paste this:

```
// Code node "Drop Duplicates", Mode: Run Once for All Items
const seen = new Set();
const out = [];
for (const item of $input.all()) {
  const key = String(item.json.Website || item.json.Company || '')
    .toLowerCase()
    .replace(/^https?:\/\//, '')
    .replace(/^www\./, '')
    .replace(/\/.*$/, '')
    .trim();
  if (!key || seen.has(key)) continue;
  seen.add(key);
  out.push(item);
}
return out;
```

This catches duplicates inside one batch. To also block companies you contacted months ago, add a second Airtable Search later (see Variations) that checks for the same website with Status Sent.

**Check:** feed it your sample data with the deliberate duplicate. One fewer item comes out than went in.

### Step 5: Lock the rows you're about to process

Add an **Airtable** node named *Mark Processing*. Operation: Update. Base and table as before. **Columns to match on**: id. Mapping Column Mode: Map Each Column Manually. Set:

```
id      {{ $json.id }}
Status  Processing
```

Why bother? Because if a run overlaps with the next one, or you click Execute twice, the second run's search won't see these rows any more. That's your protection against duplicate drafts.

One snag: this node can't pass the original fields forward in every version. To be safe, connect *Loop Prospects* (next step) to the output of *Drop Duplicates* as well, or make sure the Update output still contains the fields you need by checking its output panel.

**Check:** refresh Airtable. The rows you searched now read Processing.

### Step 6: Loop over records one at a time

Add a **Loop Over Items** node named *Loop Prospects*, Batch Size `1`. Connect its **loop** output to the next node. Leave **done** unconnected or attach a No Operation node so you can see when the loop finishes.

Then add an **Edit Fields (Set)** node named *Prepare Prospect*, Mode: Manual Mapping, with these fields:

```
// Edit Fields (Set) node named "Prepare Prospect"
// Mode: Manual Mapping. Add these fields:
recordId       (String)  {{ $json.id }}
company        (String)  {{ $json.Company }}
website        (String)  {{ $json.Website }}
contact_name   (String)  {{ $json["Contact Name"] }}
role           (String)  {{ $json.Role }}
notes          (String)  {{ ($json.Notes || '').slice(0, 4000) }}
```

The `slice` trims very long notes so one oversized record can't blow up your token bill or hit the model's input limit.

**Check:** the node outputs exactly six fields per item and `recordId` starts with `rec`.

### Step 7: Qualify and draft with the OpenAI node

Add an **OpenAI** node named *Qualify and Draft*. Pick Resource: Text, Operation: Message a Model (labels can shift slightly between versions). Settings:

- Credential: OpenAI Prospecting

- Model: a current general model from the list. Smaller models are fine for this job; test before you pick a bigger one.

- Messages: add one message with Role **System** and paste the system prompt from the templates section. Add a second message with Role **User** and paste the user prompt template, replacing each `{variable}` with an expression such as `{{ $json.company }}`.

- Output Content as JSON: on

- Options: set Temperature low (around `0.3`) so drafts stay consistent

Paste your services description straight into the user message where `{services_description}` sits. Then open the node's **Settings** tab and turn on **Retry On Fail** with a few tries and a wait between them. For heavier volumes, n8n's OpenAI node docs point you to separate guidance on handling rate limits, and it's worth reading before you scale up.

**Check:** run it on one good prospect. The output shows a `message` object whose `content` is JSON with `fit`, `fit_reason`, `subject` and `body`.

### Step 8: Parse and validate the model output

Models occasionally return broken JSON or skip a field. Don't let that reach Airtable. Add a **Code** node named *Parse Prospect*:

```
// Code node, Mode: Run Once for Each Item, Language: JavaScript
const src = $('Prepare Prospect').item.json;
const raw = $json.message?.content ?? $json.content ?? $json.text ?? '';

let data;
try {
  data = typeof raw === 'string' ? JSON.parse(raw) : raw;
} catch (e) {
  return { json: { recordId: src.recordId, valid: false, error: 'Model did not return valid JSON' } };
}

const fitOk = ['yes', 'no', 'unknown'].includes(data.fit);
const hasEmail = data.fit !== 'yes' || (data.subject && data.body);

return {
  json: {
    recordId: src.recordId,
    valid: fitOk && hasEmail,
    fit: data.fit,
    fitReason: (data.fit_reason || '').slice(0, 500),
    subject: (data.subject || '').trim(),
    body: (data.body || '').trim(),
    error: fitOk && hasEmail ? '' : 'Missing or invalid fields in model output'
  }
};
```

The node reaches back to *Prepare Prospect* for the record id, because the OpenAI node's output doesn't carry your original fields. If you renamed that node, change the name inside `$('...')` to match.

**Check:** a normal run outputs `valid: true`. Temporarily edit the OpenAI output by pinning bad data (for example plain text) and confirm you get `valid: false` with an error message instead of a crash.

### Step 9: Branch and write back to Airtable

Add an **IF** node named *Is Valid?* with condition Boolean `{{ $json.valid }}` is true.

On the false branch, add an Airtable Update node named *Write Error*:

```
id        {{ $json.recordId }}
Status    Error
Error     {{ $json.error }}
Last Run  {{ $now.toISO() }}
```

On the true branch, add a second IF named *Is Fit?* with String condition `{{ $json.fit }}` is equal to `yes`. True goes to *Write Draft*:

```
id             {{ $json.recordId }}
Status         Drafted
Fit            {{ $json.fit }}
Fit Reason     {{ $json.fitReason }}
Email Subject  {{ $json.subject }}
Email Body     {{ $json.body }}
Last Run       {{ $now.toISO() }}
```

False goes to *Write Skip*, which sets Status to Skip, fills Fit and Fit Reason, and leaves the email fields alone.

For single select fields, the values you send must match an existing option exactly. Typos create errors, not new options, unless you turn on the node's typecast option.

**Check:** after one run, each sample prospect is either Drafted, Skip or Error. None are left in Processing.

### Step 10: Slow the loop so Airtable doesn't push back

Connect all three write nodes (Write Draft, Write Skip, Write Error) into one **Wait** node named *Pause*, then connect Pause back to the input of *Loop Prospects*.

n8n's Airtable troubleshooting page says Airtable returns a 429 error when a PAT exceeds five requests per second per base, and says to wait 30 seconds before resuming requests. With one record per loop and a short pause (set Resume to After Time Interval, a second or two), you stay well clear of that. Also open **Settings** on every Airtable node and turn on Retry On Fail with Wait Between Tries set to `30000` milliseconds, which matches that guidance if you ever do get throttled.

**Check:** in the execution view, the loop runs once per record and the Wait node shows a short pause each time.

### Step 11: Build the content repurposing branch

Now the second half. From the same triggers, add an Airtable node *Search Content* (Search, table Content) with this filter and a Limit of `5`:

```
AND({Status} = 'New', LEN({Source Text}) > 0)
```

Add *Mark Processing* for Content (same pattern as Step 5), a **Loop Over Items** named *Loop Content* with Batch Size `1`, and an OpenAI node named *Repurpose*. Use the repurpose prompts from the templates section, mapping `{title}` to `{{ $json.Title }}` and `{source_text}` to `{{ $json["Source Text"] }}`. Turn on Output Content as JSON.

Then the parse node:

```
// Code node "Parse Repurpose", Mode: Run Once for Each Item
const src = $('Loop Content').item.json;
const raw = $json.message?.content ?? $json.content ?? '';
let d;
try { d = typeof raw === 'string' ? JSON.parse(raw) : raw; }
catch (e) { return { json: { recordId: src.id, valid: false, error: 'Bad JSON' } }; }

const thread = Array.isArray(d.x_thread) ? d.x_thread.join('\n\n---\n\n') : '';
return {
  json: {
    recordId: src.id,
    valid: d.status === 'ok' && !!d.linkedin_post,
    linkedinPost: d.linkedin_post || '',
    xThread: thread,
    newsletterBlurb: d.newsletter_blurb || '',
    outreachHook: d.outreach_hook || '',
    error: d.status === 'too_short' ? 'Source too short' : ''
  }
};
```

Follow it with an IF on `valid`. True writes LinkedIn Post, X Thread, Newsletter Blurb, Outreach Hook and Status Repurposed. False writes Status Error and the error text. Route both into a Wait node and back to Loop Content.

**Check:** your two sample pieces come back Repurposed, the X Thread field shows separate posts divided by `---`, and nothing in the output mentions a fact that isn't in the source.

### Step 12: Catch failures you didn't plan for

Create a small second workflow that starts with an **Error Trigger** node and writes to a *Run Log* table in Airtable (fields: Workflow, Execution URL, Error Message, Time). Map them from the Error Trigger output, for example `{{ $json.execution.url }}` and `{{ $json.execution.error.message }}`. Then, in your main workflow's **Workflow settings**, set **Error workflow** to this new one.

Also write a tiny cleanup rule into your weekly routine: any row stuck in Processing means a run died midway. Set it back to New.

**Check:** break the OpenAI credential on purpose, run the main workflow, and confirm a Run Log row appears. Then fix the credential.

### Step 13: Activate and review

Save, then switch the workflow to Active. In Airtable, create two grid views: *Prospects to review* (Status is Drafted) and *Content to review* (Status is Repurposed). Read each draft, edit freely, and set Status to Approved. Send approved emails from your normal inbox, then mark them Sent.

Keep sending manual at first. Outreach rules differ by country, and your own judgment is the last filter before anything reaches a stranger's inbox.

**Check:** the next scheduled run picks up only new rows and leaves Drafted, Approved and Sent rows untouched.

## Prompts and templates

Copy these verbatim to start. Tune them once you've read a dozen outputs.

### Prospect qualification: system prompt

```
You are a careful B2B research assistant for a small digital services business.
You receive one prospect record and a description of the services we sell.
Your job:
1. Decide if the prospect is a good fit for our services, using ONLY the text provided.
2. If it is a fit, draft a short, plain first outreach email.

Rules:
- Use only facts present in the prospect text. Never invent results, numbers, clients or mutual contacts.
- If the prospect text is empty or too thin to judge, set fit to "unknown" and leave the email fields empty.
- No hype words, no exclamation marks, no fake urgency.
- The email must reference one specific detail from the prospect text.
- Keep the email body under 120 words, one clear question at the end.
- Return ONLY valid JSON matching the schema. No markdown, no commentary.
```

### Prospect qualification: user prompt template

```
OUR SERVICES:
{services_description}

PROSPECT:
Company: {company}
Website: {website}
Contact name: {contact_name}
Role: {role}
Research notes: {notes}

Return JSON with this shape:
{"fit": "yes" | "no" | "unknown", "fit_reason": string, "subject": string, "body": string}
```

### Prospect qualification: expected output

```
{
  "fit": "yes",
  "fit_reason": "Their site lists a new online course but no email follow-up sequence.",
  "subject": "Follow-up emails for your new course",
  "body": "Hi Priya,\n\nI saw your new course launch page..."
}
```

The example output above is illustrative only. Your model fills it from your real notes.

### Content repurposing: system prompt

```
You repurpose one long piece of content for a small digital services business.
Rules:
- Keep every claim that is in the source. Add no new facts, numbers, names or results.
- Write in plain English, second person where natural, no hype.
- If the source text is empty or under a few sentences, return "status": "too_short" and empty fields.
- Return ONLY valid JSON matching the schema.
```

### Content repurposing: user prompt template

```
SOURCE TITLE: {title}
SOURCE TEXT:
{source_text}

Produce:
- linkedin_post: one post, max 1,200 characters, hook in the first line.
- x_thread: an array of 3 to 6 short posts, each under 270 characters.
- newsletter_blurb: 2 to 3 sentences that tease the full piece.
- outreach_hook: one sentence a salesperson could use to open a cold email that links to this piece.

Return JSON:
{"status": "ok" | "too_short", "linkedin_post": string, "x_thread": [string], "newsletter_blurb": string, "outreach_hook": string}
```

### Content repurposing: expected output

```
{
  "status": "ok",
  "linkedin_post": "Most onboarding emails explain the product. Yours should explain the next step...",
  "x_thread": ["Post one...", "Post two...", "Post three..."],
  "newsletter_blurb": "This week: why your onboarding emails stall and the one change that fixes it.",
  "outreach_hook": "I wrote up a short checklist on onboarding emails and thought of your new signup flow."
}
```

What most guides miss is the "unknown" option. Giving the model a legal way to say "not enough information" cuts down on confident nonsense far more than any instruction to "be accurate".

## Test it before you trust it

Run each test with the Manual Trigger and pinned data where noted. Don't activate the schedule until every row passes.

| Test input | Expected output |
| --- | --- |
| A New prospect with clear, relevant notes | Status Drafted, Fit yes, a subject and a body that mention one detail from the notes and nothing invented. |
| A New prospect clearly outside your market | Status Skip, Fit no, a one-line reason, email fields empty. |
| A New prospect with empty Notes | Status Skip, Fit unknown, email fields empty. |
| Two rows with the same website (one with www, one without) | Only one reaches the model. The other stays New for you to delete or merge. |
| A row with Company empty | Never picked up by Search Prospects. |
| Pinned OpenAI output that's plain text instead of JSON | Parse Prospect returns valid false, the row ends as Error with "Model did not return valid JSON", and the loop continues with the next record. |
| Pinned output with fit "maybe" | Status Error with "Missing or invalid fields in model output". |
| Notes pasted from a very long web page | Prepare Prospect trims them, the call succeeds, and the draft still reads sensibly. |
| Execute the workflow twice back to back | The second run finds no New rows from the first batch. No duplicate drafts. |
| A Content row with empty Source Text | Never picked up by Search Content. |
| A Content row with only two sentences | Status Error with "Source too short". |
| A Content row with a long transcript | Status Repurposed. LinkedIn post, thread, blurb and hook all present, no claims missing from the source. |

## Where it breaks and how to fix it

Every automation breaks eventually. Here's where this one usually does.

### Auth expiry or missing scopes

**Symptom:** Airtable nodes fail with an authorization or permission error, often right after you added a new table or base. n8n's Airtable common issues page says these credential errors commonly occur when the credential lacks the scopes required for the resources being managed. **Fix:** edit the PAT in Airtable, add the missing scope or base, and retest the credential in n8n. If you used OAuth2 and someone revoked the app, reconnect it. For OpenAI, a revoked or rotated key fails every call: create a new key and update the credential.

### Rate limits

**Symptom:** Airtable nodes fail mid-loop with a rate-limit error. Same page, another cause: n8n documents an Airtable limit of more than 50 requests across all bases per access token as another trigger for a 429 error. **Fix:** keep the Wait node in the loop, keep Retry On Fail on, and use a separate token for this workflow so other automations don't share its budget. For OpenAI throttling, follow the rate-limit guidance linked from the n8n OpenAI node page and lower the batch Limit.

If you trigger this workflow from another system through the n8n public API, note that [n8n's API authentication page](https://docs.n8n.io/connect/n8n-api/authentication) says requests authenticate with an API key sent in the `X-N8N-API-KEY` header. That API has its own throttling too: n8n's public API docs describe a 429 response and rate-limit headers including `Retry-After`, `X-RateLimit-Limit`, `X-RateLimit-Remaining` and `X-RateLimit-Reset`. Read `Retry-After` and wait that long before calling again.

### Schema drift

**Symptom:** expressions return empty values, or writes fail with "unknown field name". Someone renamed a column, or added a new single select option with different spelling. **Fix:** lock field names (Airtable lets you restrict editing on the base), and when you rename a field, update every expression that mentions it. Search the workflow JSON for the old name before you save.

### LLM output errors

**Symptom:** rows land in Error with JSON messages, or drafts include details that aren't in the notes. **Fix:** keep Output Content as JSON on, keep the parse node, and tighten the system prompt. If drafts invent facts, add a line such as "If a detail is not in Research notes, do not mention it" and lower the temperature. Never skip the human review step.

### Duplicate runs

**Symptom:** the same prospect gets two drafts. Usually that's two executions overlapping, or a row reset to New by mistake. **Fix:** keep the Mark Processing step immediately after search, keep the dedupe node, and add the cross-history check from Variations if your list comes from several sources.

## Running costs and limits

The research behind this guide didn't confirm current plan prices for n8n, Airtable or the OpenAI API, so check each vendor's own pricing page before you commit. n8n's OpenAI node page covers node use, credentials and rate-limit handling but not plan prices. Here are the cost drivers to watch:

- **n8n executions.** Each scheduled run counts as an execution on n8n Cloud. Two runs a day is modest; every-five-minutes polling is not.

- **OpenAI tokens.** You pay for input and output tokens per call. Long notes and long transcripts are the main cost, which is why the workflow trims notes.

- **Airtable requests and records.** Every search and update is an API request, and your plan caps how many records a base can hold.

- **Seats.** If teammates review drafts in Airtable or edit the workflow in n8n, they may need seats.

For the hard limits you'll hit first, see the Airtable rate limits in n8n's docs and the OpenAI node's rate-limit guidance.

## Variations and extensions

- **Check contact history across months.** Before the model call, add an Airtable Search with `AND({Website} = '{{ $json.website }}', {Status} = 'Sent')`. If it returns anything, route the record to Skip with reason "Already contacted".

- **Add a form as the intake.** Swap the Search trigger for an n8n Form Trigger or an Airtable form so your team can drop in prospects from a call without opening the base.

- **Send approved emails from Gmail.** Add a separate workflow that searches for Status Approved, sends through the Gmail node from your own account, and sets Status to Sent. Keep it separate so approval stays a human act.

- **Turn repurposed content into outreach.** Link the Content and Prospects tables. When a piece is Approved, pass its outreach hook into the prospect prompt as an optional opener.

- **Swap the stack.** The same design works in Make or Zapier (Airtable search, OpenAI module, parser, update), or in a short Python script on a cron schedule using the Airtable and OpenAI APIs.

## Hand this to ChatGPT or Claude

You can paste the brief below (or this page's link) into an AI assistant and ask it to adapt the build to your own tools, field names or market.

```
GOAL
Build an n8n workflow that (a) qualifies new prospects stored in Airtable and drafts a first outreach email for each good fit, and (b) turns long-form content stored in Airtable into a LinkedIn post, an X thread, a newsletter blurb and an outreach hook. Nothing is sent automatically. A human approves every draft in Airtable.

TRIGGER
Schedule Trigger in n8n, weekdays during working hours. A Manual Trigger is attached for testing.

STEPS
1. Airtable base "Growth Engine" with tables Prospects and Content (fields listed below).
2. Credentials in n8n: Airtable Personal Access Token with scopes data.records:read, data.records:write, schema.bases:read, limited to this base. OpenAI API key.
3. Prospect branch:
   3.1 Airtable node, Search, table Prospects, Filter By Formula: AND({Status} = 'New', {Company} != ''), Limit 20.
   3.2 Code node "Drop Duplicates": remove items with the same normalized website or company.
   3.3 Airtable node, Update: set Status = Processing for each record id.
   3.4 Loop Over Items, batch size 1.
   3.5 Edit Fields node "Prepare Prospect": recordId, company, website, contact_name, role, notes.
   3.6 OpenAI node, Text > Message a Model, system prompt + user prompt below, JSON output on, Retry On Fail on.
   3.7 Code node "Parse Prospect": parse JSON, validate fit, subject, body.
   3.8 IF valid: Airtable Update with Fit, Fit Reason, Email Subject, Email Body, Status = Drafted (fit yes) or Skip (fit no/unknown).
       ELSE: Airtable Update Status = Error, Error = message.
   3.9 Wait node before the next loop iteration to stay inside Airtable rate limits.
4. Content branch: same pattern on table Content, Filter By Formula AND({Status} = 'New', LEN({Source Text}) > 0), OpenAI repurpose prompt, write LinkedIn Post, X Thread, Newsletter Blurb, Outreach Hook, Status = Repurposed.
5. Error Trigger workflow that writes failed execution details to a Run Log table.

DATA FIELDS
Prospects: Company, Website, Contact Name, Role, Email, Notes, Status (New, Processing, Drafted, Approved, Sent, Skip, Error), Fit, Fit Reason, Email Subject, Email Body, Error, Last Run.
Content: Title, Source Text, Status (New, Processing, Repurposed, Approved, Error), LinkedIn Post, X Thread, Newsletter Blurb, Outreach Hook, Error.

PROMPTS
Use the system and user prompts from the "Prompts and templates" section of this page verbatim, filling the {variables} from the Prepare nodes.

ACCEPTANCE TESTS
- A New prospect with good notes ends as Drafted with subject and body filled.
- A prospect with empty notes ends as Skip with Fit = unknown and empty email.
- Two rows with the same website produce one draft.
- Malformed model output ends as Error with a message, and the run does not stop.
- A Content row with empty Source Text is never picked up.
- Running the workflow twice in a row creates no duplicate drafts.

CONSTRAINTS
- No email is sent by the workflow.
- The model may use only facts from the record text.
- Respect Airtable and OpenAI rate limits with Wait nodes and Retry On Fail.
- Keep API keys in n8n credentials only, never in node fields or Code nodes.
```

## Frequently Asked Questions

### Can this workflow send the emails for me?

It can, but this version deliberately doesn't. Drafting is safe to automate. Sending under your name to people who've never heard of you deserves a human check, and outreach rules differ by country. Add the Gmail extension only after you trust the drafts.

### Should I use a Personal Access Token or OAuth2 for Airtable?

Both work, since n8n's Airtable credential docs list PAT and OAuth2 as supported methods. A PAT is quicker for a single builder. OAuth2 makes more sense when several people manage the connection.

### Why does the OpenAI node return text I can't map to fields?

Usually because Output Content as JSON is off, or the prompt doesn't ask for JSON clearly. Turn the option on, keep "Return ONLY valid JSON" in the system prompt, and keep the parse node so a bad reply becomes an Error row instead of a crash.

### Where do I find prospect notes without scraping?

Paste them yourself from the company's site, a discovery call, or a public profile. You can add an HTTP Request node to fetch a homepage later, but check the site's terms first and keep the text trimmed.

### Why are rows stuck in Processing?

A run stopped between Mark Processing and the write step, often because of an error before the loop finished. Check the Run Log, fix the cause, then set those rows back to New.

### Can I run this on self-hosted n8n?

Yes. The nodes are the same. You'll manage updates, backups and the server time zone yourself, and you'll use your own OpenAI key rather than any Cloud-only credit option.

### How do I stop the model from making things up about a prospect?

Give it less room. Feed it only your notes, tell it to use nothing else, allow "unknown", and read every draft before it leaves Airtable.

## Your first step

Open Airtable today, create the Growth Engine base with the Prospects table, and paste in five real prospects with a sentence of notes each. Once that table exists, the n8n build is mostly mapping fields you can already see.

## Related Articles

- [n8n Workflow Automation Examples: Reddit Pain Points to Slack](https://syswithai.com/blog/n8n-reddit-pain-points-slack/)

- [n8n Follow Up Boss Integration: Leads to Google Sheets with AI Scoring](https://syswithai.com/blog/n8n-follow-up-boss-google-sheets/)

- [Automate Business Tasks with ChatGPT: Meeting Action Items to Slack](https://syswithai.com/blog/chatgpt-meeting-action-items-slack/)

- [Workflow automation software: Gmail to Sheets with n8n and OpenAI](https://syswithai.com/blog/n8n-openai-email-to-google-sheets/)

- [AI Agent Workflows: n8n Research-to-Proposal Pipeline](https://syswithai.com/blog/ai-agent-workflows-n8n-proposals/)

- [Back to Home](https://syswithai.com/)

## Sources

- [Authentication | Connect | n8n Docs](https://docs.n8n.io/connect/n8n-api/authentication)
