QuvanticBook free audit

ZapierChecked blueprint5 nodes

Triage Gmail and draft the reply

Classify each new email by category and urgency, leave a draft reply in the thread, and ping Slack only when something is urgent.

Portfolio reference build with demo data and placeholder credentials, not a client deployment.

Pain

Stops the inbox from taking the first two hours of the morning. The blueprint tags threads, flags urgent ones to Slack, and writes a draft.

Solution

Classify each new email by category and urgency, leave a draft reply in the thread, and ping Slack only when something is urgent.

Impact · From the blueprint

About 2 minutes per email that needs a reply. At 30 replies a day, roughly an hour.

Library status: passing. Schema, field mapping, task count, and Code-step unit tests pass. Not built in a live Zapier account.

Triage Gmail and draft the reply step list
Step list

Step inspector

The first step shows the checked-in sample payload.Later steps name the node. They are not a live execution.

Guardrails

  • Gmail · Create Draft Reply
  • Filter by Zapier · Only continue if...

Credential ids in the JSON are placeholders. These files are portfolio demos.

Deploy this for your business

Tell us this slug and what still happens by hand. We will map it onto your accounts. This page is not a claim that the blueprint already runs for a customer.

README

Portfolio demo by Mustafa (mustafaautomation). Not client work. The people, companies, and numbers in it are made up. Rebuild it in your own Zapier account. Nothing here is connected to anyone's account.

Category: Email
Difficulty: intermediate
Apps: Gmail, AI by Zapier, Filter by Zapier, Slack
Zapier plan: Professional (multi-step Zap: 4 steps after the trigger; Filter by Zapier; AI by Zapier)
Tasks per run: 2 typical, 3 at most
Test status: passing (schema, mapping scope, task count)

Problem

A founder's inbox mixes customer questions, invoices, partnership pitches, and the occasional fire. Every email gets opened to decide what it is, and replies to routine questions are typed from scratch each time.

Who it's for

Founders, consultants, and small-team leads who answer their own inbox and want a first draft waiting rather than an auto-sent reply.

How the Zap runs

flowchart TD
  s1["1. Gmail: New Email<br/>New email in the inbox"]
  s2["2. AI by Zapier<br/>Classify and draft"]
  s1 --> s2
  s3["3. Gmail<br/>Leave a draft in the thread"]
  s2 --> s3
  s4{{"4. Filter by Zapier<br/>Only urgent mail"}}
  s3 --> s4
  s5["5. Slack<br/>Ping Slack about it"]
  s4 -->|"passes"| s5

Build it in the Zapier editor

Zapier has no import file for a Zap like this one, so it is built by hand from the steps below. zap.json is the same Zap in a machine-readable form (schema), and zap.yaml is the same document in YAML.

A value like [2. vendor] means: click the field, open step 2 in the data picker, and choose vendor. Plain text is typed as shown. YOUR_... is a value from your own account.

Before you start

  • Have these ready from your own accounts: YOUR_NAME.

Steps

1. Trigger: New email in the inbox

App: Gmail · Event: New Email · polling (Zapier checks on your plan's update interval) · Tasks: 0

Fires for each new email in the inbox. Drafts are never sent, so a wrong classification costs nothing but a deleted draft.

FieldValue
LabelINBOX

Fields this library maps from the trigger: message_id, thread_id, from_email, from_name, to, subject, date, body_plain, snippet, labels, attachment_count, attachment_names. Zapier shows them with its own labels; pick the one with the same meaning.

2. Action: Classify and draft

App: AI by Zapier · Event: Analyze and Return Data · Tasks: 1

One AI call returns the category, the urgency, a one-line summary, and a reply draft in your voice.

FieldValue
ModelDefault (fast)
InstructionsYou triage email for a small-business owner. Return: category (one of customer_question, sales_lead, invoice_or_billing, partnership, newsletter, personal, other), urgency (urgent if a customer is blocked, money is at risk, or a deadline is today; otherwise normal), summary (one sentence, under 20 words), and draft_reply (a short, friendly reply that answers what you can from the email and asks for what is missing; never promise refunds, dates, or prices that are not in the email; sign off as YOUR_NAME). For newsletters, leave draft_reply empty.
Input dataFrom: [1. from_name] <[1. from_email]>
Subject: [1. subject]

[1. body_plain]
Output fieldscategory, urgency, summary, draft_reply

Later steps can map: category, urgency, summary, draft_reply.

3. Action: Leave a draft in the thread

App: Gmail · Event: Create Draft Reply · Tasks: 1

The draft sits in the original thread, ready to edit and send. Nothing is sent automatically.

FieldValue
Thread[1. thread_id]
To[1. from_email]
Body Typeplain
Body[2. draft_reply]

Later steps can map: id.

4. Filter: Only urgent mail

App: Filter by Zapier · Event: Only continue if... · Tasks: 0

Most email is not urgent, so most runs stop here.

Only continue if: [2. urgency] (Text) Exactly matches urgent.

Most runs stop here, which is the point: the steps below are the exception path.

5. Action: Ping Slack about it

App: Slack · Event: Send Channel Message · Tasks: 1

A direct, short alert with the summary and a link to the thread.

FieldValue
Channel#inbox-urgent
Message Text:rotating_light: Urgent [2. category] from [1. from_name]: [2. summary] A draft reply is waiting. https://mail.google.com/mail/u/0/#inbox/[1. thread_id]
Send as a bot?Yes
Bot NameZap alerts
Include a link to this Zap?No

Later steps can map: ts, permalink.

Test it

Use sample-trigger.json as the test record. For an instant or webhook trigger, send it to the trigger once; for a polling trigger, create a matching record in the app and click Test trigger. Then test each step in order and read its output before you turn the Zap on.

{
  "message_id": "18c2f4a9b7d01e55",
  "thread_id": "18c2f4a9b7d01e55",
  "from_email": "ops@globex.example",
  "from_name": "Ravi Menon",
  "to": "dana@northwind-studio.example",
  "subject": "Export broken before our board meeting",
  "date": "2026-11-24T09:14:03Z",
  "body_plain": "Hi Dana,\n\nThe CSV export from the reporting page returns an empty file since this morning. Our board meeting is at 3pm today and we need last quarter's numbers. Is there a workaround?\n\nRavi",
  "snippet": "The CSV export from the reporting page returns an empty file since this morning.",
  "labels": "INBOX",
  "attachment_count": 0,
  "attachment_names": ""
}

Plan and task usage

StepAppTasks
1. New email in the inboxGmail0
2. Classify and draftAI by Zapier1
3. Leave a draft in the threadGmail1
4. Only urgent mailFilter by Zapier0
5. Ping Slack about itSlack1

A typical run uses 2 tasks; the upper bound is 3, when every filter passes and the costliest paths run. Zapier does not charge tasks for triggers, Filter, Paths, Formatter, Delay, Looping, Digest, Storage, or Zapier Tables steps. AI by Zapier is counted here as 1 task; Zapier prices it by model tier, so a larger model can cost more.

Minimum plan: Professional, because of: multi-step Zap: 4 steps after the trigger; Filter by Zapier; AI by Zapier. The Free plan only runs two-step Zaps (a trigger and one action) and leaves out Filters, Paths, Formatter, webhooks, AI by Zapier, and premium apps.

Customize

  • Add a Gmail Add Label to Email step mapped to the category, so the inbox sorts itself as well.
  • Give the instructions two or three of your real replies as examples to get the tone right.
  • Add a Filter before the draft that skips the newsletter category, to save a task on every newsletter.

Limits

  • The AI step only sees the email body, not attachments or earlier messages in the thread.
  • Each email uses at least two tasks. On a busy inbox, point the trigger at a label instead of INBOX.

Time saved

About 2 minutes per email that needs a reply. At 30 replies a day, roughly an hour.

Files

FileWhat it is
zap.jsonThe Zap, step by step, in schema 1.0.0.
zap.yamlThe same document in YAML.
sample-trigger.jsonFictional trigger record for the first test.
diagram.pngThe step list, drawn like the Zapier editor.