Route WhatsApp support messages to Zendesk or an AI reply

Reads incoming WhatsApp messages and either answers common questions instantly or opens a Zendesk ticket for real issues.

How the work actually flows

It branches. Exactly one path is taken.

Pattern: Exclusive Choice (4) · Simple Merge (5)

flowchart TD trig>"whatsapp message received"]:::trig s0["read incoming message"]:::task s1["ai classifies message"]:::task s2["send acknowledgment to customer"]:::task trig --> s0 s0 --> s1 gx{"× question or real issue"}:::gate s1 --> gx p00["ai sends instant reply"]:::task gx -->|"general question"| p00 p10["create zendesk ticket"]:::task gx -->|"real issue"| p10 jn{"○ send acknowledgment"}:::gate p00 --> jn p10 --> jn jn --> s2 out[/"appropriate reply or ticket created"/]:::out pay{{"faster replies with fewer missed issues"}}:::pay s2 --> out out --> pay classDef task fill:#e7f6fe,stroke:#34b8f0,color:#2c2a29 classDef svc fill:#f6f8fa,stroke:#7c8795,color:#2c2a29 classDef mi fill:#e7f6fe,stroke:#0079a8,color:#2c2a29,stroke-width:2px classDef human fill:#fff,stroke:#0079a8,color:#0079a8 classDef store fill:#f6f8fa,stroke:#0079a8,color:#2c2a29 classDef trig fill:#00a4eb,stroke:#0079a8,color:#fff,font-weight:bold classDef trigtime fill:#00a4eb,stroke:#0079a8,color:#fff,font-weight:bold classDef trigdata fill:#8ad4f5,stroke:#0079a8,color:#06314c,font-weight:bold classDef gate fill:#fff,stroke:#e8a23d,color:#6b4708,font-weight:bold classDef out fill:#1f9d6b,stroke:#167a53,color:#fff,font-weight:bold classDef pay fill:#06314c,stroke:#021f33,color:#fff
Starts itA stepOne path onlyPaths rejoinResultPayoff
Build size
Advanced

A larger build with multiple systems, AI reasoning, and custom rules.

Business functions
AI Agents & Autonomous SystemsVoice & PhoneMessaging & NotificationsCustomer Support & Ticketing
Connects
WhatsAppTwilioZendeskGoogle GeminiPostgreSQL

The problem it solves

Every WhatsApp support message needs someone to read it, decide if it's a real problem or a simple question, and respond or escalate. Sorting through all of that manually slows down replies and lets urgent issues sit in a shared inbox.

Who it fits

Support teams handling customer messages over WhatsApp who want faster responses and fewer things falling through the cracks.

How it works

  1. Triggers when a new WhatsApp message comes in
  2. AI reads the message and classifies it as a general question or a real issue
  3. General questions get an immediate AI-written reply
  4. Real issues get a Zendesk ticket created with a summary of the problem
  5. The customer receives an acknowledgment message either way
What you get

Customer messages sorted correctly without the guesswork

You get instant answers to common WhatsApp questions and a Zendesk ticket automatically opened for anything more serious.

What you get

Either an instant AI reply or a Zendesk support ticket, depending on the message.

What you need

A Twilio WhatsApp Business account, a Zendesk account, a Google Gemini account, and a PostgreSQL database.

We can build this. But should you?

The hard question is not how to build it. It is whether this is the right thing to build first.

That is what a Fractional Chief AI Officer figures out with you, before anyone writes a line of code.

Let's Talk Strategy

Related automations

Back to the AI Playbook