WhatsApp automations

Set up automatic WhatsApp messages such as a greeting, an away message and keyword replies, and decide when the agent or a person takes the conversation.

Working draft. These docs are illustrative: names, endpoints and examples describe the intended behaviour and can change before launch.

WhatsApp automations send fixed messages on a rule, before or alongside the agent. Use them for a greeting to new customers, an away message outside support hours, or a quick reply to a keyword such as "hours".

Before you start

  • WhatsApp connected to the agent. See WhatsApp.
  • The text you want to send, written for a phone screen.

Types of automation

Automation When it runs
Greeting A customer writes for the first time, or after a long silence.
Away message A message arrives outside your support hours.
Keyword reply The message contains a keyword you set.
Handoff notice The agent passes the conversation to a person.

Create an automation

  1. Open the agent and select Channels > WhatsApp.
  2. Select Automations and then Add automation.
  3. Choose the Type and write the Message.
  4. For a keyword reply, enter the keywords, separated by commas.
  5. Choose whether the Agent continues after the message or stays quiet.
  6. Turn the automation on and select Save.

You should see the automation in the list with its type and a status switch.

Order of rules

Automations run before the agent. If a keyword reply matches, it is sent first. When Agent continues is on, the agent then answers the rest of the message. If you want an automation to be the only reply, turn Agent continues off.

For support hours, set the schedule once in Out of hours. The away message uses it.

Write good messages

  • Keep greetings to one or two short lines.
  • Say what the agent can help with and how to reach a person.
  • Do not repeat what the agent says next.
Hi, this is the Northwind assistant. Ask about orders, returns or sizes, or write "person" to reach our team.

Test it

  1. Send a message from a personal phone that triggers the automation.
  2. Open Activity and check that the automation message and the agent reply appear in order.

Tip: Test an away message by temporarily setting support hours that exclude the current time.

Troubleshooting

  • The automation never runs. Check it is on and the keywords match what you typed, without extra punctuation.
  • Customers get two greetings. Remove the greeting from the agent's initial messages if the automation covers it.
  • The message is not delivered. Outside a customer's conversation, WhatsApp needs an approved template. See WhatsApp templates.

Something unclear or missing? Tell us and we will fix the page.