Track leadership hires and send AI outreach using PredictLeads, OpenAI and Gmail

Go to Workflow
0 views
Built by Yaron Been Yaron Been
Created on June 05, 2026

Description

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

Nodes Used (5)

Code
n8n-nodes-base.code
Gmail
n8n-nodes-base.gmail
Google Sheets
n8n-nodes-base.googleSheets
HTTP Request
n8n-nodes-base.httpRequest
Slack
n8n-nodes-base.slack