Use this powerful n8n workflow to automate B2B lead enrichment. Extract emails and contact data from domains stored in Google Sheets using the Apollo API.
Download this n8n workflow template and start using it instantly.
Sales Development Representatives (SDRs) seeking automated lead lists.
Growth marketers needing large-scale B2B contact data enrichment.
Data analysts looking for robust data extraction n8n templates.
Users who frequently utilize the Apollo platform for data harvesting.
This comprehensive n8n workflow solves the challenge of manually enriching large lists of domains. Leveraging the powerful Apollo API, this n8n automation takes a list of target company domains from a specified Google Sheet and returns detailed contact information, including emails, titles, and LinkedIn profiles, appending them to a designated 'Results' sheet. This particular n8n workflow demonstrates advanced external API usage combined with custom data manipulation via the Code n8n node, making it an essential n8n template for any serious lead generation operation requiring accurate and structured data output.
The entire process is initiated by the manual n8n trigger, 'When clicking ‘Test workflow’'.
mixed_people/search endpoint using the domain name retrieved in the previous step. This requires supplying a valid Apollo API key in the headers.people/match endpoint) using the contact's name and the original domain to retrieve refined or verified details. This showcases advanced data referencing between different n8n node steps. When clicking ‘Test workflow’ (n8n trigger): A manual trigger n8n node used for instant execution and testing of the n8n workflow logic.
Pull Target Domains (Google Sheets n8n node):
Function: Reads the input list of domains from the 'Target Domains' sheet.
Key Configuration: Operation set to Read. Filters potentially applied based on a 'Status' column (although the filter parameter is present, it is set to fetch all data based on the full JSON context).
Loop Targets (Split In Batches n8n node):
Function: Iterates over the domains retrieved from Google Sheets one by one.
Get People By Domain (HTTP Request n8n node):
Function: Primary call to Apollo's mixedpeople/search endpoint to retrieve contacts associated with the current domain.
Key Configuration: Uses an expression {{ $json['Domain To Enrich'] }} in the JSON body. Requires x-api-key header for authentication.
Clean Up Results (Code n8n node):
Function: Parses the initial comprehensive Apollo response, flattening the structure to extract core contact fields (email, name, company) into separate items for processing.
Get Person Info (HTTP Request n8n node):
Function: Performs a secondary, targeted API call using the people/match endpoint for detailed or verified information.
Key Configuration: The URL is highly dynamic, using expressions like firstname={{ $json.firstName }} and complex referencing $('Get People By Domain').item.json.breadcrumbs[0].value[0] to retrieve the original domain context.
Clean Up (Code n8n node):
Function: Final data normalization step, ensuring only required fields (email, title, organization name) are passed to the output sheet.
Results To Results Sheet (Google Sheets n8n node):
Function: Writes the final, enriched contact details into the 'Results' sheet.
* Key Configuration: Operation set to append, mapping the extracted JSON fields to specific sheet columns (Email, Title, Company, etc.).
Deploy an advanced n8n workflow for automated lead generation, web content scraping via Jina AI, AI-powered personalization using OpenAI, and automated Gmail outreach.

Use this powerful n8n workflow to automatically monitor domain name availability using the Porkbun API. Get instant Gmail and Discord alerts when a domain drops.

Build a powerful AI-powered domain availability checker using this n8n workflow. Integrates Google Gemini, LangChain, and WHMCS API. This n8n template ensures verified availability results and provides conversational support.

Use this powerful n8n workflow template for deep, domain-limited web crawling. Extracts text, manages recursion with n8n static data, and chunks output.

Automate Facebook video downloading and storage using this robust n8n workflow. Upload MP4 files to Google Drive and log every transaction in Google Sheets with built-in error handling.

Hueston is a website design and marketing agency passionate about automation. We craft engaging digital experiences while implementing smart marketing strategies that deliver results. Our team specializes in leveraging automation tools to streamline workflows and boost efficiency for our clients. Let us help your business grow through technology-driven solutions.







































