AgentHub

Qualify leads and send outreach emails with Google Sheets, CometAPI, and Gmail

Quick overview

Live
Open / InstallLast updated July 27, 2026

Description

Quick overview This workflow watches a Google Sheets lead intake sheet for new rows, uses CometAPI to score and summarize each lead, and for high-scoring leads drafts and sends a personalized outreach email via Gmail, then saves the score, summary, and email draft back to a Google Sheets results sheet. How it works Triggers every minute when a new row is added to a Google Sheets spreadsheet. Sends the lead’s name, company, and message to CometAPI to generate a 1–10 purchase-likelihood score. Extracts the numeric score from CometAPI’s response and checks whether the score is 7 or higher. For leads scoring 7+, uses CometAPI to create a short lead summary and generate a personalized outreach email draft. Sends the outreach email to the lead using Gmail with a personalized subject line. Appends or updates a Google Sheets results spreadsheet (matched by email) with the lead details, score, summary, and email draft. Setup Connect Google Sheets credentials and set the correct spreadsheet and sheet for both the lead intake trigger and the results sheet update. Configure CometAPI credentials (or required API key settings) for the scoring, summarization, and email-drafting steps. Connect a Gmail account and confirm the workflow is allowed to send email to the lead’s address from your sheet. Ensure your source sheet includes Name, Email, Company, and Message columns, and your results sheet includes columns for Score, Summary, and Email Draft (or adjust the column mappings). An n8n automation workflow template by nStack..

Author

nStack.

Platform

web

Pricing model

free

Categories

Automation

Tags

n8n
workflow
google-sheets
gmail
code

Capabilities

  • 3 nodes
  • 1 views