Company domain
Airtable remains the operator-facing source. Only records with Status = New and a non-empty domain proceed.
A seven-node workflow that reads new company domains from Airtable, enriches firmographic data through Apollo, assigns an AI-assisted ICP grade, and writes the result back by Airtable record ID.
The template is deliberately narrow: enrich an organization and score account fit. Apollo’s organization endpoint is not represented as a source of verified decision-maker emails; people search and contact enrichment belong in a separate, consent-aware workflow.
Airtable remains the operator-facing source. Only records with Status = New and a non-empty domain proceed.
Apollo returns organization data. Gemini evaluates that data against an explicit ICP rubric and returns structured JSON.
The code node restores the originating Airtable record ID before fields are written back to the same record.
The visual groups seven n8n nodes into five responsibilities. All examples are synthetic; no client or prospect data appears on this page.
HTTP nodes replace the current item payload. A common failure is to return only the API response and silently lose the source record identifier. The template reads the original Airtable node explicitly and fails closed if the ID is missing.
const sourceRecord = $('Airtable — List New Accounts').item.json;
const recordId = sourceRecord.id;
if (!recordId) {
throw new Error('Airtable record ID is missing');
}
return {
recordId,
companyName,
industry,
headcount,
icpScore,
scoreReason,
status: 'Enriched'
};
REVIEW, not an automatic low-quality score. This keeps parse failures visible to an operator.Field names in an imported n8n workflow must match the destination base exactly. The template uses this small contract.
| Field | Role | Written by | Validation |
|---|---|---|---|
| Company Domain | Lookup key | Operator/import | Required and normalized without www |
| Company Name / Industry / Headcount | Firmographics | Apollo response | May be empty when no match is found |
| ICP Score | A, B, C, or REVIEW | Gemini + parser | Constrained to the approved values |
| Score Reason | Short rationale | Gemini | Human-readable and reviewed in dry-run |
| Status | Processing guard | n8n update | Prevents the next poll from reprocessing the record |
The downloadable JSON contains placeholders and is intentionally inactive. These are the minimum checks before production.
x-api-key header credentials for Apollo and Gemini; never paste secrets into a public workflow export.The uploaded draft was corrected to match the documented organization endpoint and header-based Gemini authentication available at the time of this review.
generateContent and x-goog-api-key authentication.It contains placeholder IDs and credential references only. Import it into a non-production workspace, complete the checklist, and keep it inactive until the dry-run passes.