Latenode

Automatically sync Gmail leads to Google Sheets and notify Slack

This template watches Gmail for a new message, extracts company and email in JavaScript, appends a Google Sheets row, and sends a Slack message.

Skip personal domains so the sheet stays business-only. Connect Gmail, Google Sheets, and Slack. Point the Gmail trigger at the inbox or label that holds leads.

Updated Sep 16, 2026Est. run: 13sEst. cost: $0.0008
How Latenode estimates time and cost

Latenode bills workflow runtime in CPU seconds. The first 10,000 CPU seconds are free each month, then usage follows pay-as-you-go CPU-second pricing. Plug-and-Play (PnP) AI nodes are billed separately—each PnP token is $1 USD, charged pay-as-you-go at vendor cost plus a small processing fee, with no API keys required.

Full pricing — how CPU seconds work →

Workflow preview

What this template does

  • Logs Gmail leads in Google Sheets
  • Skips personal domains in JavaScript
  • Alerts the team in Slack for each new lead
  • Keeps Gmail, Sheets, and Slack access on those connections

How it works

1
Trigger

Watch Gmail for leads

The scenario starts when a new email arrives in the Gmail inbox or label you choose.

2
Logic

Extract the lead

JavaScript reads company and email, skips personal domains, and drops addresses already in the sheet.

3
Action

Append the Google Sheets row

Google Sheets adds company and email in the worksheet you choose.

4
Action

Notify Slack

Slack posts the new lead in the channel you set so the team can follow up.

Setup guide

1

Connect Gmail

Add a Gmail connection. Watch new email on the inbox or label that should feed leads.

2

Connect Google Sheets

Add a Google Sheets connection. Use a worksheet with columns for date, company, and email.

3

Connect Slack

Add a Slack connection with access to the channel that should get lead alerts.

4

Map, append, and notify

In JavaScript, return company and email and skip personal domains. Add a Sheets row, then send a Slack channel message. Send a test lead email and confirm the row and the Slack post.

Requirements

A Gmail inbox or label Latenode can read
A Google Sheet Latenode can write
A Slack channel Latenode can post to

FAQ

Common questions about this template

Each run uses credits on your Latenode plan. We charge for processing time (1 credit = 30 seconds). Your actual cost depends on your plan and how long the run takes. See pricing plans for plans and how credits work.