Skip to content

AI drafts a WhatsApp reply, a person approves it

The AI writes a draft from the facts you give it. A person gets the draft with two links: send it, or skip it. Nothing reaches the customer without that click.

What it does

  1. A customer writes to your number.
  2. The workflow reads the last messages of that chat and asks the AI for a short draft. The AI may only use the facts in Settings and is told never to invent prices, times or promises.
  3. A person gets the customer's message and the draft, with a Send it and a Skip it link.
  4. Send it sends exactly that draft through safe send. Skip it, or no click within the time limit, sends nothing.
What the person sees
WhatsApp from Kai +15550000031:
"Are you open on Mondays?"

Draft reply:
"We are closed on Mondays. We are open Tuesday to Sunday, 13:00 to 23:00."

Send it: https://YOUR-N8N/webhook-waiting/114?signature=...&decision=send
Skip it: https://YOUR-N8N/webhook-waiting/114?signature=...&decision=skip

Set it up

New to n8n with WhatSync? Do the one-time setup in WhatsApp workflows in n8n first: the API key credential, importing, the webhook and the signing secret.

  • n8n: safe send (sub-workflow)

    Import and publish this first. Every workflow that sends uses it.

    Download JSON
  • n8n: AI drafts a reply, a person approves

    Built-in nodes only.

    Download JSON
  1. Import WhatSync: safe send, pick your WhatSync API key credential in it and publish it.
  2. Import this workflow. In the node that sends, pick WhatSync: safe send from the list.
  3. Pick your credentials in the nodes with a warning sign and fill in Settings.
  4. Publish. Copy the Webhook node's Production URL.
  5. In WhatSync Developers add a webhook with that URL and the event message.received. Paste its signing secret into Verify signature.
Settings fieldWhat to put there
businessNameUsed in the AI's instructions.
factsWhat the AI may say: opening hours, address, policies. If the facts do not answer the question, the draft says a team member will reply.
aiUrl, aiModelThe chat completions address and a model that supports structured outputs.
alertUrlA Slack incoming webhook address works as is: the workflow posts {"text": "..."} to it. For email or Telegram, replace the alert node with that node and map the same text.
approvalHoursHow long the links stay valid. After that the run ends and nothing is sent.

Test it

  1. Write to your number from another phone. The message and a draft arrive in your alert channel, and nothing is sent yet.
  2. Click Send it. The customer gets exactly the draft.
  3. Write again and click Skip it. Nothing is sent.

Tested on n8n 2.49 with a stand-in for OpenAI: the draft arrived with both links, a Slack link-preview request was ignored, Send sent exactly the draft once, and Skip sent nothing.