QuvanticBook free audit

ZapierChecked blueprint4 nodes

Route a support email to ClickUp

Turn each support email into a ClickUp task with a queue, a priority, and an agent picked by a stable rotation, then DM that agent in Slack.

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

Pain

Tickets stop sitting in a shared inbox or bouncing between billing, tech, and ops.

Solution

Turn each support email into a ClickUp task with a queue, a priority, and an agent picked by a stable rotation, then DM that agent in Slack.

Impact · From the blueprint

About 2 minutes of triage per email, and duplicate replies stop. At 25 emails a day that is close to an hour daily.

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

Route a support email to ClickUp 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

No approval, retry, or demo-gate node was detected by name. Read the README before connecting live credentials.

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: Support
Difficulty: intermediate
Apps: Gmail, Code by Zapier, ClickUp, Slack
Zapier plan: Professional (multi-step Zap: 3 steps after the trigger)
Tasks per run: 3
Test status: passing (schema, mapping scope, task count, Code step unit tests)

Problem

Support lives in a shared Gmail inbox. Everyone reads everything, two people answer the same customer, and a billing complaint from a key account sits unread over the weekend because it looked like the other twenty emails.

Who it's for

Small product and service teams that handle support from a shared inbox and already track work in ClickUp.

How the Zap runs

flowchart TD
  s1["1. Gmail: New Labeled Email<br/>New email under the Support label"]
  s2["2. Code by Zapier<br/>Pick a queue, priority, and agent"]
  s1 --> s2
  s3["3. ClickUp<br/>Create the support task"]
  s2 --> s3
  s4["4. Slack<br/>DM the agent"]
  s3 --> s4

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

  • Use each agent's Slack username in the agents list (comma-separated). The same handle is added as a ClickUp tag.
  • Have these ready from your own accounts: YOUR_CLICKUP_WORKSPACE.

Steps

1. Trigger: New email under the Support label

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

Fires for each email under the Support label. A Gmail filter on the support@ address can apply it automatically.

FieldValue
LabelSupport

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: Pick a queue, priority, and agent

App: Code by Zapier · Event: Run JavaScript · Tasks: 1

Keyword rules choose billing, account, bug, sales, or general; urgent words and VIP domains raise the priority; the agent comes from a hash of the Gmail message id, so a re-run lands on the same person without Storage.

Paste the whole of code/assign-ticket.js into the code box. Source: content/code/assign-ticket.cjs. Unit tests: content/code/assign-ticket.test.cjs.

Input Data keyValue
subject[1. subject]
body[1. body_plain]
from_email[1. from_email]
vip_domainsglobex.example, initech.example
agentsayesha.k, bilal.r, chen.w
ticket_id[1. message_id]

Returns: queue, priority, assignee, matched_keyword, is_vip.

3. Action: Create the support task

App: ClickUp · Event: Create Task · Tasks: 1

One task per email in the Support list, tagged with the queue and the agent's handle so the board can be filtered either way.

FieldValue
WorkspaceYOUR_CLICKUP_WORKSPACE
SpaceCustomer Support
Folder(none)
ListInbox
Task Name[[2. queue]] [1. subject]
ContentFrom: [1. from_name] <[1. from_email]>
Priority: [2. priority] (matched "[2. matched_keyword]")
Owner: [2. assignee]

[1. body_plain]

Gmail: https://mail.google.com/mail/u/0/#all/[1. message_id]
Priority[2. priority]
Tags[2. queue], [2. assignee]

Later steps can map: id, url.

4. Action: DM the agent

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

The person who owns it hears about it directly, with the link, instead of everyone watching the inbox.

FieldValue
To Username[2. assignee]
Message TextNew [2. priority] [2. queue] ticket for you: "[1. subject]" from [1. from_email]. [3. url]
Send as a bot?Yes
Bot NameZap alerts

Later steps can map: ts.

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": "support@northwind-studio.example",
  "subject": "CSV export is broken since this morning",
  "date": "2026-11-24T09:14:03Z",
  "body_plain": "Hi team,\n\nThe CSV export on the Reports page returns a blank page for all users since about 8am. We need it for the board pack this afternoon. Can someone look urgently?\n\nRavi, Ops lead, Globex",
  "snippet": "The CSV export on the Reports page returns a blank page for all users",
  "labels": "INBOX, Support",
  "attachment_count": 0,
  "attachment_names": ""
}

Plan and task usage

StepAppTasks
1. New email under the Support labelGmail0
2. Pick a queue, priority, and agentCode by Zapier1
3. Create the support taskClickUp1
4. DM the agentSlack1

A typical run uses 3 tasks. 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: 3 steps after the trigger. 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

  • Edit the keyword lists in code/assign-ticket.js to match how your customers actually describe problems.
  • Put your largest customers' email domains in vip_domains; their bugs become urgent automatically.
  • Use a ClickUp list per queue by adding a Formatter Utilities → Lookup Table step from queue to list id.

Limits

  • The rotation is a hash, not a load balancer. Over many tickets it evens out, but two tickets in a row can go to the same agent.

Time saved

About 2 minutes of triage per email, and duplicate replies stop. At 25 emails a day that is close to an hour daily.

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.
code/assign-ticket.jsPaste-ready Code by Zapier step.