Skip to main content

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

Workflow preview

Workflow preview
100%
Track leadership hires and send AI outreach using PredictLeads, OpenAI and Gmail preview
Open on n8n.io

1. Workflow Overview

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 f...

Best for

  • Lead Nurturing automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.scheduletrigger, n8n-nodes-base.googlesheets, n8n-nodes-base.splitinbatches, @predictleads/n8n-nodes-predictleads.predictleads, n8n-nodes-base.code, n8n-nodes-base.if, n8n-nodes-base.slack

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Yaron Been.

Original n8n.io source

1.1 Workflow description

Title
Track leadership hires and send AI outreach using PredictLeads, OpenAI and Gmail
Workflow name
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

  1. A schedule trigger runs the workflow daily at 8:00 AM.
  2. The workflow reads target account domains from Google Sheets.
  3. It loops through each company and fetches job openings from PredictLeads.
  4. It filters for leadership roles such as CRO, CMO, CTO, VP, Head of, Chief, and Director.
  5. If leadership roles are found, it enriches the company with PredictLeads company data such as industry, size, and location.
  6. It builds a structured prompt combining company context and the detected leadership roles.
  7. It sends the prompt to OpenAI to generate a personalized outreach email.
  8. It sends the AI-generated email through Gmail with a tailored subject line.
  9. 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

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 2 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 3 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 4 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 5 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 6 - Daily Schedule

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 7 - Load Target Accounts

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.5

Block 8 - Split Into Batches

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 9 - Retrieve Company Job Openings

Type / Role
@predictleads/n8n-nodes-predictleads.predictLeads - predictLeads
Config choices
Version 1

Block 10 - Filter Leadership Roles

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 11 - Leadership Role Found?

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2

Block 12 - Detect Sales Hiring Signals

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 13 - Sales Hiring Detected?

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.3

Block 14 - Send Sales Hiring Alert

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.4

Block 15 - Calculate Job Count

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 16 - High Hiring Volume?

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.3

Block 17 - Send Hiring Spike Alert

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.4

Block 18 - Retrieve Company

Type / Role
@predictleads/n8n-nodes-predictleads.predictLeads - predictLeads
Config choices
Version 1

Block 19 - Store Lead Signals

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 20 - Build AI Prompt

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 21 - Generate Outreach Email

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 22 - Send Outreach Email

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.1

3. Summary Table

Workflow Track leadership hires and send AI outreach using PredictLeads, OpenAI and Gmail
Complexity advanced
Nodes 22
Categories Lead Nurturing, Multimodal AI
Author Yaron Been
Published 17 Mar 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/14104/14104.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Track leadership hires and send AI outreach using PredictLeads, OpenAI and Gmail do?

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 f...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Lead Nurturing, Multimodal AI use case.