Home  /  Integrations  /  Gmail

Automate with
Gmail

Gmail is the front door of your business. NVS turns every incoming email into a trigger — automatically classifying, routing, responding, and syncing messages to the tools that need them.

Use Cases
01

AI Email Triage , 4-path Switch

Every inbound Gmail message is classified by GPT-4o into one of four categories and automatically handled: support emails get a draft reply queued, sales leads go to HubSpot, spam is trashed.

Trigger
Email Received
gmail.trigger
New email arrives in Gmail, immediately entering the triage pipeline.
Classify Email
openai.gpt-4o
GPT-4o reads subject and body, returning: support / sales / spam / info.
Switch
Category
nvs.switch
Routes the email to the correct handler based on GPT-4o classification.
support
Draft Reply
openai.gpt-4o
AI writes a context-aware draft response to the support message.
Output
Queue Draft
gmail.drafts
Draft saved in Gmail for one-click review before sending.
sales
Output
Create Contact
hubspot.crm
Lead contact created in HubSpot with email source and metadata.
spam
Output
Move to Trash
gmail.trash
Email deleted automatically. Zero time wasted on junk.
info
Output
Apply Label
gmail.label
Email labeled 'Info' in Gmail and archived for future reference.
02

Approval Gate , Draft + Slack Button

External emails trigger an AI draft, but nothing sends automatically. The draft is posted to Slack with Approve/Reject buttons. Only a human click sends it.

Trigger
External Email
gmail.trigger
New email from outside your domain enters the approval pipeline.
Draft Reply
openai.gpt-4o
GPT-4o generates a draft response based on the full email thread.
Post to Slack
slack.interactive
Draft posted to #email-review with Approve and Reject buttons attached.
Wait for Click
webhook.wait
Workflow pauses. Execution resumes only when a button is clicked.
IF
Approved?
nvs.condition
Checks whether the approver clicked Approve or Reject.
YES
Output
Send Draft
gmail.send
Approved draft sent from Gmail, tracked in the original thread.
NO
Output
Delete Draft
gmail.draft
Draft discarded. Submitter notified in Slack that it was rejected.
03

Lead Outreach Dedup Loop

Hourly, pending leads are read from Sheets and looped through. Before emailing, Gmail is searched for an existing thread. Duplicates are skipped; fresh leads get the outreach.

Trigger
Every Hour
schedule.cron
Hourly trigger pulls the latest batch of leads from the queue.
Get Pending Leads
google.sheets
Fetches all rows from the outreach sheet where status=ready_to_send.
Loop
Each Lead
nvs.loop
Processes every pending lead row individually to avoid batch send errors.
IF
Thread Exists?
gmail.search
Searches Gmail for any existing thread with this lead's email address.
YES
Output
Mark Contacted
google.sheets
Row updated: status=already_contacted. No duplicate email sent.
NO
Send Outreach
gmail.send
Cold outreach email sent with lead's name and company personalized.
Output
Mark Sent
google.sheets
Row updated: status=sent, sent_at timestamp recorded.

Ready to automate Gmail?

We'll map your workflow, connect your tools, and build it in days, not months.

Book a Free Strategy Call →