WhatsApp Business and Slack
Set up a connection for WhatsApp Business or Slack under the agent connections. Credentials are encrypted through shared connection storage. The actions reply_text, send_template and notify_team are agent write actions and require approval of the work order before they run.
WhatsApp Business
You need a Meta system user access token with WhatsApp messaging permission, the phone number ID, a supported Graph API version (for example v23.0), App Secret and a self-chosen, random webhook verification token with at least 16 characters. The connection check reads the phone number via Meta; it does not send a message.
The publicly accessible HTTPS callback address is:
https://<SIHub-Host>/api/agent-connectors/webhooks/whatsapp/<Arbeitsbereich-ID>/<Verbindungs-ID>
Enter this address in Meta with the identical verification token and subscribe to the messages field. POST delivery requires Meta's X-Hub-Signature-256, calculated with the App Secret over the unmodified request body. The phone number ID in the event must match the connection. Each message is deduplicated based on its Meta ID; repeated deliveries do not open an additional case. Messages are merged into the same SIHub inbox thread per connection and phone number. Content and numbers are stored encrypted. Media are recorded as a reference to their message type; downloading them is not part of this integration. Delivery status events are acknowledged but not yet shown as delivery history.
reply_text sends a text reply only within 24 hours of a customer message that was actually received with a valid signature. The time comes from the webhook, not from agent parameters. send_template requires a template already approved by Meta and a matching language. Optionally, text parameters can be passed for the template body. Header and button parameters are not yet supported. Phone numbers with documented consent are stored with the connection (international format, comma-separated); templates may only be sent to these recipients. Entering a number does not replace obtaining consent.
A successful send response means accepted by Meta, not delivered to the device. If the connection drops, check the sending status before approving again. Replies are sent via the WhatsApp agent action; the inbox's normal email reply function does not send WhatsApp messages.
Slack
Set up a Slack app with a bot token and the chat:write scope. Invite the bot to the desired handover channel and store its channel ID in the channel_id field. The connection check uses auth.test; Slack checks membership in the selected channel when the message is sent. notify_team sends a text to exactly this fixed channel, optionally as a reply to thread_ts. Agents cannot choose a different target channel. Link previews and Markdown are disabled. A handover can include, for example, the case number, the request and the next required human step. A handover is executed through the normal approval flow.
References
- Meta: Cloud API text messages (official Postman collection)
- Meta: WhatsApp Webhooks
- WhatsApp: Message templates
- Slack: chat.postMessage
- Slack: auth.test
Adapter and route tests check signatures, deduplication, workspace boundaries, reply windows and approval requirements without sending anything externally. A live test requires the customer's own credentials and an approved recipient.