Quick overview
This workflow collects a plain-English LinkedIn audience description via an n8n form, uses Google Gemini to generate a search URL, pulls matching leads from Apify, writes five personalized icebreakers to Google Sheets, and drip-launches a PhantomBuster agent every 15 minutes.
How it works
- Receives a form submission with a plain-English description of your target LinkedIn audience.
- Uses Google Gemini to turn the audience description into a JSON response containing an Apollo-style search URL, then parses and extracts the
searchUrl value.
- Calls the Apify API to run an actor and return up to 100 lead records matching the configured filters.
- Limits processing to the first five leads to control outreach volume.
- Uses Google Gemini to generate a short, unique connection-message icebreaker for each lead based on their profile fields.
- Appends or updates each lead in Google Sheets with contact details, LinkedIn URLs, and the generated icebreaker.
- Waits 15 minutes per lead and then triggers a PhantomBuster agent via HTTP request to start the outreach action.
Setup
- Create and add credentials for Google Gemini (PaLM API) and update the model selection if needed.
- Add an Apify API token and (optionally) adjust the actor input filters (location, titles, total results) in the Apify request.
- Add a Google Sheets OAuth connection, set your target spreadsheet URL/ID and sheet name, and ensure the sheet has columns matching the fields being written.
- Add your PhantomBuster API key and confirm the agent ID and launch endpoint match the PhantomBuster agent you want to run.
- Open the n8n form trigger, copy the public form URL, and share it with whoever will start campaigns.