In order to setup automatic replies for WhatsApp or Signal you need to:
use Zammad in version 6.1.0 or newer
have previously created WhatsApp/Signal bot
create a webhook:
go to Settings → Webhook → New Webhook
give it any name
the endpoint is (for link based instances):
<http://link:3000/link/api/whatsapp/bots/><bot-token>/send
<http://link:3000/link/api/signal/bots/><bot-token>/send
where the <bot-token> can be found in admin panel of your helpdesk (helpdesk-name-admin.cdr.link) - go to WhatsApp/Signal, click on the bot, copy the token
HMAC SHA1 SIGNATURE TOKEN - leave empty
SSL VERIFY - no
HTTP BASIC AUTHENTICATION USERNAME - empty
HTTP BASIC AUTHENTICATION PASSWORD - empty
CUSTOM PAYLOAD - use json below, you can modify it in order to create more customised message body:
{
"to": "#{ticket.customer.phone}",
"message": "Your ticket has been received."
}
now you need to create a Trigger:
<aside> 🤩 Thats it!
</aside>