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
- A customer writes to your number.
- 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.
- A person gets the customer's message and the draft, with a Send it and a Skip it link.
- Send it sends exactly that draft through safe send. Skip it, or no click within the time limit, sends nothing.
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=skipSet 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.
- Download JSON
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.
- Import WhatSync: safe send, pick your WhatSync API key credential in it and publish it.
- Import this workflow. In the node that sends, pick WhatSync: safe send from the list.
- Pick your credentials in the nodes with a warning sign and fill in Settings.
- Publish. Copy the Webhook node's Production URL.
- In WhatSync Developers add a webhook with that URL and the event
message.received. Paste its signing secret into Verify signature.
| Settings field | What to put there |
|---|---|
businessName | Used in the AI's instructions. |
facts | What 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, aiModel | The chat completions address and a model that supports structured outputs. |
alertUrl | A 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. |
approvalHours | How long the links stay valid. After that the run ends and nothing is sent. |
About the links
- They are n8n's own resume links for that one run, signed by n8n. Whoever has the link can decide, so post alerts where only your team reads them.
- Slack and email scanners open links to preview them. The Wait for the decision node has Ignore Bots on, so a preview does not count as a click.
- After the click the browser shows n8n's short "Workflow was started" answer. That is the confirmation.
- The person cannot edit the draft. To say something else, skip it and answer by hand in WhatsApp.
- On the Business API, free text is only allowed within 24 hours of the customer's message. Keep
approvalHourswell under that. - n8n must be reachable from where the person clicks. Self-hosted: set
WEBHOOK_URLto your public address.
Prefer buttons inside Slack, Telegram or email? Replace Ask a person and Wait for the decision with that node's Send and wait for response operation and keep the rest.
Test it
- Write to your number from another phone. The message and a draft arrive in your alert channel, and nothing is sent yet.
- Click Send it. The customer gets exactly the draft.
- 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.