Back to Integrations
integrationGmail node
integrationHunter node

Gmail and Hunter integration

Save yourself the work of writing custom integrations for Gmail and Hunter and use n8n instead. Build adaptable and scalable Communication, HITL, and Sales workflows that work with your technology stack. All within a building experience you will love.

How to connect Gmail and Hunter

  • Step 1: Create a new workflow
  • Step 2: Add and configure nodes
  • Step 3: Connect
  • Step 4: Customize and extend your integration
  • Step 5: Test and activate your workflow

Step 1: Create a new workflow and add the first step

In n8n, click the "Add workflow" button in the Workflows tab to create a new workflow. Add the starting point – a trigger on when your workflow should run: an app event, a schedule, a webhook call, another workflow, an AI chat, or a manual trigger. Sometimes, the HTTP Request node might already serve as your starting point.

Gmail and Hunter integration: Create a new workflow and add the first step

Step 2: Add and configure Gmail and Hunter nodes

You can find Gmail and Hunter in the nodes panel. Drag them onto your workflow canvas, selecting their actions. Click each node, choose a credential, and authenticate to grant n8n access. Configure Gmail and Hunter nodes one by one: input data on the left, parameters in the middle, and output data on the right.

Gmail and Hunter integration: Add and configure Gmail and Hunter nodes

Step 3: Connect Gmail and Hunter

A connection establishes a link between Gmail and Hunter (or vice versa) to route data through the workflow. Data flows from the output of one node to the input of another. You can have single or multiple connections for each node.

Gmail and Hunter integration: Connect Gmail and Hunter

Step 4: Customize and extend your Gmail and Hunter integration

Use n8n's core nodes such as If, Split Out, Merge, and others to transform and manipulate data. Write custom JavaScript or Python in the Code node and run it as a step in your workflow. Connect Gmail and Hunter with any of n8n’s 1000+ integrations, and incorporate advanced AI logic into your workflows.

Gmail and Hunter integration: Customize and extend your Gmail and Hunter integration

Step 5: Test and activate your Gmail and Hunter workflow

Save and run the workflow to see if everything works as expected. Based on your configuration, data should flow from Gmail to Hunter or vice versa. Easily debug your workflow: you can check past executions to isolate and fix the mistake. Once you've tested everything, make sure to save your workflow and activate it.

Gmail and Hunter integration: Test and activate your Gmail and Hunter workflow

Find and email ANYONE on LinkedIn with OpenAI, Hunter & Gmail

Setup Time

5-10 minutes

Problem

🚨 LinkedIn search is BROKEN. Personalized cold-emailing takes hours!

I waste hours on LinkedIn manually filtering profiles, reading summaries, hoping they’d reply—tedious, frustrating, inefficient.

But even after finding the email IDs of the contacts, the job to be done is incomplete. 𝗜 𝘄𝗮𝗻𝘁 𝘁𝗼 𝘀𝘁𝗮𝗿𝘁 𝗮 𝗰𝗼𝗻𝘃𝗲𝗿𝘀𝗮𝘁𝗶𝗼𝗻 𝘄𝗶𝘁𝗵 𝘁𝗵𝗲𝘀𝗲 𝗰𝗼𝗻𝘁𝗮𝗰𝘁𝘀.

If only I could type "𝘗𝘳𝘰𝘥𝘶𝘤𝘵 𝘮𝘢𝘯𝘢𝘨𝘦𝘳𝘴 𝘸𝘰𝘳𝘬𝘪𝘯𝘨 𝘰𝘯 𝘨𝘦𝘯𝘦𝘳𝘢𝘵𝘪𝘷𝘦 𝘈𝘐 𝘪𝘯 𝘠𝘰𝘶𝘛𝘶𝘣𝘦 𝘪𝘯 𝘕𝘦𝘸 𝘠𝘰𝘳𝘬" and seconds later have 10 personalized outreach emails in my Gmail drafts folder, ready for my review.

It would save me hours of research effort!

Introducing LinkGPT, a LinkedIn Agent, an automated agentic workflow powered by n8n.

Prerequisites:
Required accounts/API keys for Hunter.io, Google, and OpenAI.

This would be helpful for:

🎯 Job Seekers wanting direct outreach to hiring managers (everyone applies to multiple jobs, and crafting personal emails takes hours!)

🎯 Recruiters looking to personalize candidate outreach at scale

🎯 Sales & Founders aiming for targeted customer conversations

Step-by-step workflow:

Takes 5-10 minutes to setup.

Generate a Boolean search string for LinkedIn profiles.
Perform authenticated Google searches using your query.
Extract LinkedIn URLs and workplace context from the search results.
Use OpenAI to extract first name, last name, and domain name from the context.
Use Hunter.io to find emails of the contacts.
Append all results to your connected Google Sheet. Columns: first_name, last_name, domain_name, email, context
Read everything publicly available about your target profiles
Identify common ground (shared backgrounds, interests, experiences)
Craft highly personalized, thoughtful email drafts
Automatically save tailored drafts in your Gmail and Google Sheets

I put together a clear, step-by-step guide on setting this up yourself.

Sample Query

Sample:

Input: "I am headed to NYC later this month, whom should I meet with that works in product management for gen AI products?"

Output: List of 10 contacts with first name, last name, workplace, email address and context about them, and 10 personalized emails waiting for you review in your Gmail drafts folder

Nodes used in this workflow

Popular Gmail and Hunter workflows

Find and email ANYONE on LinkedIn with OpenAI, Hunter & Gmail

Setup Time 5-10 minutes Problem 🚨 LinkedIn search is BROKEN. Personalized cold-emailing takes hours! I waste hours on LinkedIn manually filtering profiles, reading summaries, hoping they’d reply—tedious, frustrating, inefficient. But even after finding the email IDs of the contacts, the job to be done is incomplete. 𝗜 𝘄𝗮𝗻𝘁 𝘁𝗼 𝘀𝘁𝗮𝗿𝘁 𝗮 𝗰𝗼𝗻𝘃𝗲𝗿𝘀𝗮𝘁𝗶𝗼𝗻 𝘄𝗶𝘁𝗵 𝘁𝗵𝗲𝘀𝗲 𝗰𝗼𝗻𝘁𝗮𝗰𝘁𝘀. If only I could type "𝘗𝘳𝘰𝘥𝘶𝘤𝘵 𝘮𝘢𝘯𝘢𝘨𝘦𝘳𝘴 𝘸𝘰𝘳𝘬𝘪𝘯𝘨 𝘰𝘯 𝘨𝘦𝘯𝘦𝘳𝘢𝘵𝘪𝘷𝘦 𝘈𝘐 𝘪𝘯 𝘠𝘰𝘶𝘛𝘶𝘣𝘦 𝘪𝘯 𝘕𝘦𝘸 𝘠𝘰𝘳𝘬" and seconds later have 10 personalized outreach emails in my Gmail drafts folder, ready for my review. It would save me hours of research effort! Introducing LinkGPT, a LinkedIn Agent, an automated agentic workflow powered by n8n. Prerequisites: Required accounts/API keys for Hunter.io, Google, and OpenAI. This would be helpful for: 🎯 Job Seekers wanting direct outreach to hiring managers (everyone applies to multiple jobs, and crafting personal emails takes hours!) 🎯 Recruiters looking to personalize candidate outreach at scale 🎯 Sales & Founders aiming for targeted customer conversations Step-by-step workflow: Takes 5-10 minutes to setup. Generate a Boolean search string for LinkedIn profiles. Perform authenticated Google searches using your query. Extract LinkedIn URLs and workplace context from the search results. Use OpenAI to extract first name, last name, and domain name from the context. Use Hunter.io to find emails of the contacts. Append all results to your connected Google Sheet. Columns: first_name, last_name, domain_name, email, context Read everything publicly available about your target profiles Identify common ground (shared backgrounds, interests, experiences) Craft highly personalized, thoughtful email drafts Automatically save tailored drafts in your Gmail and Google Sheets I put together a clear, step-by-step guide on setting this up yourself. Sample Query Sample: Input: "I am headed to NYC later this month, whom should I meet with that works in product management for gen AI products?" Output: List of 10 contacts with first name, last name, workplace, email address and context about them, and 10 personalized emails waiting for you review in your Gmail drafts folder
+10

Generate product-aware B2B leads and outreach emails with Gemini, Pinecone and Gmail

How can you find your target market if you don't know what your product is. This simple philosophy changes the way we think about automated sales agents. Context changes everything. In this 4-part workflow, we start by creating a knowledge base that will act as context across the workflow. This context will guide and provide our AI Agents across the workflow to locate better leads and perform market research based on what the product actually offers. Use Case: Lead generation for Product-based Sales Tech Required Neon DB**: For storing Research and Lead Data. You can use Google sheets but it has a rate limiting problem. Google Serper**: As a web search tool for our AI. Google Drive**: For storing our knowledge base documents. Pinecone**: Vector DB for converting our knowledge base into context for AI. Hunter.io**: For finding emails for outreach. Email Client**: An email client, maybe gmail or anything that can send an email on your behalf. Gemini**: Our trusty AI LLM. Good to know All of the tools that I use in this workflow are either free or have an extremely generous free-tier. How it works We start by converting our knowledge base into context for AI. Take in the documents from Google drive and convert it into embeddings and store them in a vector store like Pinecone. This needs to be only run once, or whenever you have a new document in your knowledge base. Then we pass this context to an AI agent and tell it to generate search queries for locating companies that actually need my services. Then for each company that we've located, we determine the company staff that we need to reach out to for selling our product. This will be done by a combination of Google Serper and Hunter.io Once we have the list of employees and their emails, we start creating personalized emails based on the data we've collected for each of the employee and send them outreach emails.

Generate PDF business proposals with Google Gemini and PDF Generator API

AI-Powered Automated Proposal & Lead Management System This advanced n8n workflow automates the transition from "Raw Lead" to "Sent Proposal." By integrating Email Verification, Large Language Models (LLMs), and Document Automation, it eliminates manual data entry and ensures that every proposal sent is personalized, professional, and delivered to a verified address. 🛠️ How It Works Data Intake & Validation The workflow is triggered via a Webhook. Before any processing occurs, the data passes through the Hunter node, which performs a real-time email verification check. Smart Error Handling: An If Node evaluates the verification result. If the email is invalid or "risky," the workflow redirects to a Respond to Webhook node, providing immediate feedback to the source and preventing wasted API credits on downstream nodes. The AI Agent Layer Once validated, the data reaches the Set Fields node to be mapped for the AI. Custom Prompt Logic: The AI Agent node, powered by Google Gemini, contains a sophisticated custom prompt. This prompt acts as a "template engine," instructing the AI to take specific input variables (like client name, project scope, and budget) and output a clean, professional HTML structure. This allows for dynamic content generation that adapts to the unique context of every lead. Professional PDF Generation Instead of sending a plain text email, the workflow passes the AI-generated HTML to the PDF Generator API. This tool renders the code into a high-quality, brand-consistent PDF document ready for client viewing. Automated Delivery & CRM Logging Gmail Integration: The final PDF is automatically attached and sent to the verified email address with a personalized message. Google Sheets Logging: To ensure full visibility, the workflow appends a row to a Google Sheet, tracking the date, client details, and the status of the sent proposal. 📋 Requirements To run this workflow, you will need active accounts and API credentials for the following services: n8n Instance: (Self-hosted or Cloud). Hunter.io API: For the email verification node. Google Gemini API: To power the AI Agent and custom prompt. PDF Generator API: To convert the AI's HTML output into documents. Google Workspace Account: Required for the Gmail (Sending) and Google Sheets (Logging) nodes. ⚙️ How to Set Up Follow these steps to get the workflow operational: Import the Workflow: Download the JSON file and paste it into your n8n canvas. Configure Credentials: Connect your Hunter API key. Set up your Google Gemini credentials (via Google Cloud Console). Add your PDF Generator API key. Authenticate your Google Account (OAuth2) for Gmail and Google Sheets. Customize the AI Prompt: Open the AI Agent node. Under the "System Message" or "Prompt" section, adjust the HTML template to match your brand's style and the specific fields you want to include in your proposal. Map your Google Sheet: Open the Append row in sheet node and select the specific spreadsheet and worksheet where you want to log your leads. Test the Flow: Use the Webhook simulator (Example DATA) to send a test payload and verify that the PDF is generated and the email is sent correctly.

Generate PDF documents from HTML with PDF Generator API, Gmail and Supabase

Who’s this for 💼 This template is designed for teams and developers who need to generate PDF documents automatically from HTML templates. It’s suitable for use cases such as invoices, confirmations, reports, certificates, or any custom document that needs to be created dynamically based on incoming data. What this workflow does ⚙️ This workflow automates the full lifecycle of document generation, from request validation to delivery and storage. It is triggered by a POST webhook that receives structured JSON data describing the requested document and client information. Before generating the document, the workflow validates the client’s email address using Hunter Email Verification to prevent invalid or mistyped emails. If the email is valid, the workflow loads the appropriate HTML template from a Postgres database, fills it with the incoming data, and converts it into a PDF using PDF Generator API. Once the PDF is generated, it is sent to the client via Gmail, uploaded to Supabase Storage, and the transaction is recorded in the database for tracking and auditing purposes. How it works 🛠️ Receives a document generation request via a POST webhook. Validates the client’s email address using Hunter. Generates a PDF document from an HTML template using PDF Generator API. Sends the PDF via Gmail and uploads it to Supabase Storage. Stores a document generation record in the database. How to set up 🖇️ Before activating the workflow, make sure all required services and connections are prepared and available in your n8n environment. Create a POST webhook endpoint that accepts structured JSON input. Add Hunter API credentials for email verification. Add PDF Generator API credentials for HTML to PDF conversion. Prepare a Postgres database with tables for HTML templates and document generation records. Set up Gmail or SMTP credentials for email delivery. Configure Supabase Storage for storing generated PDF files. Requirements ✅ PDF Generator API account Hunter account Postgres database Gmail or SMTP-compatible email provider Supabase project with Storage enabled How to customize the workflow 🤖 This workflow can be adapted to different document generation scenarios by extending or modifying its existing steps: Add extra validation steps before document generation if required. Extend delivery options by sending the generated PDF to additional services or webhooks. Enhance security by adding document encryption or access control. Add support for additional document types by storing more HTML templates in the database. Modify the database schema or queries to store additional metadata related to generated documents. Adjust the data mapping logic in the Code node to match your input structure.
+3

Automated B2B Prospecting with RapidAPI, Hunter.io, GPT & Gmail

Automate your B2B prospecting by finding local businesses and sending AI-personalized outreach emails to qualified contacts. What This Workflow Does This workflow acts as a powerful AI Sales Assistant, automating your entire B2B lead generation process for local businesses. It saves you countless hours of manual research and outreach by intelligently finding prospects, enriching their data, and drafting personalized emails tailored to their specific business. Stop prospecting manually and start scaling your outreach efforts effectively. How It Works The process is designed to be both smart and efficient: Find Businesses: It starts by searching for local businesses based on your criteria (e.g., "engineering in London"). Qualify & Enrich: It filters out businesses without a website. For the valid ones, it scrapes the website's title and description to understand what they do. Identify Contacts: Using Hunter.io, it finds professional email contacts associated with the company and verifies their validity to ensure high-quality leads. Generate AI-Personalized Emails: For each valid contact, it uses OpenAI to write a unique, short, and professional outreach email. The AI uses the scraped website information to create a personalized hook, showing you've done your research. Send & Organize: The final email is sent automatically via your Gmail account. If a business has no website, a follow-up task is created in your Google Tasks for manual review. Key Benefits Save Time: Automate a time-consuming prospecting process from start to finish. Increase Reply Rates: Engage prospects with personalized emails, not generic templates. Scale Your Outreach: Generate and contact dozens of qualified leads effortlessly. Stay Organized: Never lose a lead, thanks to the integrated task management for manual follow-ups.

Automate Personalized B2B Outreach with GPT-4, LinkedIn & Hunter.io

How It Works ⚙️ Imagine a relentless, intelligent sales assistant working for you 24/7. That's exactly what this system is. It takes the grueling, manual work of outreach and transforms it into a precision-guided, automated process that wins clients. Your Target Identified & Profiled: You simply tell the system who you're looking for. Our first AI brain dives deep, scouring LinkedIn and the web to find your ideal prospects, pulling in every crucial detail about them – from their recent posts to their company's latest moves. No more endless searching. Hyper-Personalized Messages, Crafted Just For Them: This is where the magic happens. A series of smart AI agents take all that rich data and write your emails. They craft opening lines that instantly grab attention by referencing something specific to your prospect. They tailor your value proposition to hit their exact pain points. They even generate subject lines that get opened and calls-to-action that get clicked. It feels like you wrote every email by hand, but it's all automatic. Strategic Multi-Touch Outreach: Your perfectly crafted email goes out. Then, the system intelligently tracks engagement. If there's no reply, it doesn't give up. It automatically sends follow-ups, each one uniquely generated by AI to re-engage, adding new value or a gentle nudge, until you get that crucial response. Your Pipeline, Optimized: Every action is logged in your database. You see exactly who's been contacted, their status, and when the next touchpoint is. This isn't just sending emails; it's building a predictable, efficient revenue machine that fuels your growth without you lifting a finger. This system isn't just automating tasks; it's automating revenue. Setup Steps 🛠️ Getting this powerhouse running is straightforward. Follow these steps, and you'll be on your way to revolutionizing your outreach. Prep Your Prospect List & Database: Start with a simple list of your target prospects (Company Name, Website, Prospect Name, LinkedIn URL). Create a clean Google Sheet (or Airtable base) to serve as your central database. Set up columns for everything: Name, Email, Company, LinkedIn URL, Status, Follow-Up Count, etc. This is where all the magic gets tracked. Get Your Digital Tools Ready: Apify API Key: You'll need an Apify account and an API key for the powerful LinkedIn scraping. Hunter.io API Key: Secure your Hunter.io API key to accurately find professional email addresses. OpenAI API Key: This is the brain behind the operation. Get your OpenAI API key for GPT-4 access. Gmail / SendGrid / Your Email Service Credentials: Connect your email sending platform so the system can fire off those personalized messages. Slack Credentials (Optional): If you want your team to get instant notifications about replies, have your Slack bot token ready. Build Your Report Template (Google Docs): Create a Google Docs template for any reports or internal summaries you might want to generate. You'll add special placeholders ({{ }} ) where the AI will inject data. Import & Connect: Import the n8n workflow JSON (you'll get this from us!). Connect all your prepared credentials inside n8n. It’s like plugging in the power cords for your new sales machine. Customize Your Strategy: Refine the AI Prompts: This is key! Tweak the OpenAI nodes' instructions to perfectly match your brand voice, your unique value proposition, and the specific nuances of your outreach strategy. This is where you infuse your expertise into the AI. Adjust Follow-Up Timing: Decide how many days to wait between follow-ups and how many follow-ups you want to send. It's fully flexible. Launch & Watch It Work: Hit 'Save' and then 'Activate' your workflow. Run your first test with a few prospects. Watch as the system researches, crafts, sends, and tracks, all on autopilot. Stop leaving money on the table. This is your chance to automate your growth. Start building now!

Build your own Gmail and Hunter integration

Create custom Gmail and Hunter workflows by choosing triggers and actions. Nodes come with global operations and settings, as well as app-specific parameters that can be configured. You can also use the HTTP Request node to query data from any app or service with a REST API.

Gmail supported actions

Add Label
Delete
Get
Get Many
Mark as Read
Mark as Unread
Remove Label
Reply
Send
Send and Wait for Response
Create
Delete
Get
Get Many
Create
Delete
Get
Get Many
Add Label
Delete
Get
Get Many
Remove Label
Reply
Trash
Untrash

Hunter supported actions

Domain Search
Get every email address found on the internet using a given domain name, with sources
Email Finder
Generate or retrieve the most likely email address from a domain name, a first name and a last name
Email Verifier
Verify the deliverability of an email address

FAQs

  • Can Gmail connect with Hunter?

  • Can I use Gmail’s API with n8n?

  • Can I use Hunter’s API with n8n?

  • Is n8n secure for integrating Gmail and Hunter?

  • How to get started with Gmail and Hunter integration in n8n.io?

Need help setting up your Gmail and Hunter integration?

Discover our latest community's recommendations and join the discussions about Gmail and Hunter integration.
jake chard
Jan Koch
Paul Kennard

Looking to integrate Gmail and Hunter in your company?

Over 3000 companies switch to n8n every single week

Why use n8n to integrate Gmail with Hunter

Build complex workflows, really fast

Build complex workflows, really fast

Handle branching, merging and iteration easily.
Pause your workflow to wait for external events.

Code when you need it, UI when you don't

Simple debugging

Your data is displayed alongside your settings, making edge cases easy to track down.

Use templates to get started fast

Use 1000+ workflow templates available from our core team and our community.

Reuse your work

Copy and paste, easily import and export workflows.

Implement complex processes faster with n8n

red iconyellow iconred iconyellow icon