What you can do#
Connect a WhatsApp Business phone number to your LumenFlow workspace. Sidekick can send messages (including template messages), manage approved templates, and receive inbound WhatsApp messages.
| Action | Description | Status |
|---|---|---|
| Send message | Send text messages to WhatsApp users | Shipped |
| Send template | Send pre-approved template messages with parameters | Shipped |
| List templates | View synced approved templates from your WABA | Shipped |
| Receive messages | Ingest inbound messages via Meta webhook | Shipped |
| Webhook verification | Handle Meta's hub.verify challenge | Shipped |
| Approval routing | Route outbound messages through approval workflow | Shipped |
Setup#
- Get your WhatsApp Business credentials from the
Meta Business Suite:
- Permanent Access Token (System User token with
whatsapp_business_messagingpermission) - Phone Number ID
- WhatsApp Business Account (WABA) ID
- App Secret (from your Meta App settings)
- Permanent Access Token (System User token with
- Go to Settings > Connections in LumenFlow
- Click Add Connection > WhatsApp
- Enter all four credentials
- Click Save
LumenFlow will:
- Validate the phone number against the WhatsApp Cloud API
- Sync your approved message templates
- Generate a unique webhook URL and verify token
warning Use a permanent System User token, not a temporary token from the API Setup page. Temporary tokens expire after 24 hours and will break the integration.
Webhook setup#
After saving, register the webhook in Meta's App Dashboard:
- Open the Meta App Dashboard
- Go to WhatsApp > Configuration > Webhook
- Set the Callback URL to:
https://your-domain.com/api/v1/sidekick/integrations/whatsapp/webhook?key=<unique-key>
- Set the Verify Token to the value shown in LumenFlow's connection status panel
- Click Verify and Save
- Subscribe to the
messageswebhook field
info LumenFlow handles the Meta verification challenge automatically. When Meta sends the
hub.verify_tokenchallenge, LumenFlow responds with thehub.challengevalue if the token matches.
Template messages#
WhatsApp requires pre-approved templates for initiating conversations outside the 24-hour customer service window. LumenFlow syncs your approved templates during setup.
To send a template message, include the template name, language code, and any parameters in your send request. Templates are listed at Settings > Connections > WhatsApp > Templates.
Security#
- Phone number validation -- the WhatsApp Cloud API is called during setup to verify the phone number id is accessible
- Meta signature verification -- every inbound webhook is
verified using the
X-Hub-Signature-256header and your App Secret, following Meta's standard HMAC-SHA256 scheme - Rate limiting -- distributed per-integration and per-workspace limits
- Credentials encrypted at rest -- your access token and app secret are encrypted before storage
Disconnecting#
To remove the integration, go to Settings > Connections > WhatsApp and click Disconnect. Remember to also remove the webhook subscription in the Meta App Dashboard.