Inbox and operations

WhatsApp, Instagram and Messenger

Connect WhatsApp numbers, Instagram accounts and Facebook Pages so their messages land in your inbox and the AI agent answers them.

Customers can reach you on WhatsApp, Instagram direct messages and Facebook Messenger as well as in the chat. Every message lands in the same inbox, the AI agent answers it from the same knowledge, and it hands off to your team exactly as it does in the chat. Channels are on the Pro plans, and only admins can connect them.

Connect a channel

Open Settings → Channels.

  • Messenger and Instagram: choose Connect with Facebook, sign in, and share the Facebook Pages you want. Back in PandaDesk, tick Messenger for each page, and Instagram for the Instagram professional account linked to that page. To connect an Instagram account, it has to be a professional (business or creator) account linked to a Facebook Page, and Allow access to messages has to be on in the Instagram app (Settings → Privacy → Messages → Connected tools).
  • WhatsApp: choose Connect WhatsApp and follow Meta's signup to pick or create a WhatsApp Business account and phone number. You can instead enter a phone number ID, WhatsApp Business Account ID and a permanent system-user token from Meta Business Settings.

A page or number can be connected to one PandaDesk app at a time. Disconnect stops new messages from reaching the inbox; existing conversations stay.

How conversations work

  • Each customer gets a contact (shown with a WhatsApp, Instagram or Messenger badge in the inbox), so blocking, notes and history work as in the chat.
  • Messages arrive as text. Photos, voice notes and files show as [image], [audio] or [attachment]: open the conversation on your phone to see them.
  • AI, teammate and system replies are sent on the channel as plain text. Formatting is removed and the pages the AI cited are listed at the end. Replies are never emailed.
  • A resolved conversation stays resolved: the customer's next message starts a new one.
  • If Meta rejects a reply, the message shows Not delivered with the reason, and an expired or revoked token shows on the channel in Settings. Reconnect the channel to fix it.

The 24-hour window

Meta only lets businesses send free-text messages within 24 hours of the customer's last message. After that, PandaDesk doesn't send the reply: the message is marked as not delivered, and the reply box warns you before you write. Once the customer writes again, the window opens for another 24 hours. WhatsApp message templates (for writing first) aren't supported yet.

Reports and webhooks

Reports splits conversations by channel once you use more than the chat. Webhook events carry conversation.channel (widget, whatsapp, instagram or messenger).

For coding agents

list_channels shows what's connected and any errors; get_channel_status gives one channel's health, or whether a conversation's 24-hour window is still open. Connecting needs a Facebook sign-in, so it stays in the dashboard.

Running your own server

If the Channels page says channels aren't set up, the server needs a Meta app: see "Messaging channels (Meta)" in the README for the environment variables (META_APP_ID, META_APP_SECRET, META_VERIFY_TOKEN, META_WA_CONFIG_ID) and the permissions to request.

View as Markdown