Track leadership hires and send AI outreach using PredictLeads, OpenAI and Gmail
Overview
Watch target companies for C-level and VP hiring signals, then send AI-personalized outreach emails when leadership roles are posted.
This workflow reads a list of target company domains from Google Sheets, checks each one for leadership-level job openings via the PredictLeads Job Openings API, enriches matching companies with additional company data, and uses OpenAI to generate a personalized outreach email referencing the specific leadership hire. The email is sent automatically through Gmail.
How it works
A schedule trigger runs the workflow daily at 8:00 AM. The workflow reads target account domains from Google Sheets. It loops through each company and fetches job openings from PredictLeads. It filters for leadership roles such as CRO, CMO, CTO, VP, Head of, Chief, and Director. If leadership roles are found, it enriches the company with PredictLeads company data such as industry, size, and location. It builds a structured prompt combining company context and the detected leadership roles. It sends the prompt to OpenAI to generate a personalized outreach email. It sends the AI-generated email through Gmail with a tailored subject line. It loops back to process the next company.
Setup
Create a Google Sheet with these columns:
domain company_name Connect your Gmail account using OAuth2 for sending outreach emails. Add your OpenAI API key in the Generate Outreach Email HTTP Request node. Add your PredictLeads API credentials using the X-Api-Key and X-Api-Token headers.
Requirements
Google Sheets OAuth2 credentials Gmail OAuth2 credentials OpenAI API account using gpt-4o-mini PredictLeads API account: https://docs.predictleads.com
Notes
The leadership role filter uses regex matching for roles such as CRO, CMO, CTO, VP, Vice President, Head of, and Chief. You can customize this as needed. The AI prompt instructs OpenAI to write concise emails with a maximum of 150 words, referencing the specific leadership hire. PredictLeads Job Openings and Company API docs: https://docs.predictleads.com
Related Templates
Automatic News Summarization & Email Digest with GPT-4, NewsAPI and Gmail
š° AI News Digest Agent: Auto News Summarizer & Email Newsletter Create an intelligent news curation system that automat...
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...
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...
š Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments