Diska
WhatsApp

Connect the number

Connect a WhatsApp Business number to Diska through Meta, choose the agent and follow the connection state.

You connect the number in Definições → Integrações (Settings → Integrations), in the WhatsApp section. Only Owners and Administrators see this page. You do not need to copy tokens or IDs: you authorise Diska in a Meta window and the platform validates the rest.

Connect the first number

  1. In Definições → Integrações, WhatsApp section, click Ligar WhatsApp (Connect WhatsApp).
  2. Under Agente para novas conversas (agent for new conversations), choose the agent that will answer. Only Prompt Builder agents with a published version are listed; if there are none, you see Publique um agente primeiro (publish an agent first).
  3. Click Preparar ligação (Prepare connection) and then Continuar na Meta (Continue at Meta).
  4. In the Meta window, sign in and choose the business, the WhatsApp Business account and the number to connect. If the window does not open, allow pop-ups for the Diska backoffice and try again.
  5. When the window closes, Diska validates the authorisation (A validar ligação… — validating connection). At the end you see WhatsApp ligado (WhatsApp connected) — "Número validado e agente associado." (number validated and agent linked).

Complete the Meta authorisation without interruptions: if it takes too long, the preparation expires and you have to start again.

To connect more numbers, use Ligar outro número (Connect another number). Each number can belong to only one Diska organisation.

The connection card

Each connected number has a card. At the top, always visible:

FieldDescription
Número (Number) and nome apresentado (display name)The number customers see and the name verified at Meta.
Estado (State)The connection state, on the right (see below).
Agente das mensagens (Messages agent)The agent answering new conversations.
WebhookLigado (connected), Falhou (failed) or Por validar (to be validated) — whether Meta is sending this number's messages to Diska.
Ligado desde / Desligado emWhen it was connected or disconnected.

When something needs fixing, it shows right below: the state alert, with Repetir subscrição do webhook (Retry webhook subscription) when the webhook failed and the connection allows it, and the Por resolver antes de atender clientes (to resolve before serving customers) list — for example "Associar um agente publicado em Prompt Mode" (link a published Prompt Mode agent) or "Confirmar o registo e a verificação do número" (confirm number registration and verification). The number's buttons follow, such as Alterar agente (Change agent) and Desligar (Disconnect).

The rest of the card is split into sections that open with a click:

  • Chamadas de voz (Voice calls) — turn calls on and choose the agent that answers them. The title shows Activas (on) or Desligadas (off). See Voice calls.
  • Templates de mensagem (Message templates) — the templates approved at Meta. See Templates.
  • Diagnóstico técnico (Technical diagnosis) — the title shows operational health. Inside are the credential status, last message received, last reply sent, last delivery event, the send queue and the WABA and Phone Number ID identifiers, with the buttons:
    • Validar com a Meta (Validate with Meta) — checks with Meta and refreshes the state. It does not send messages or change the number or the credential.
    • Actualizar estado (Refresh state) — reloads the card.
    • Ver histórico (See history) — opens Históricos → WhatsApp.

Connection states

StateMeaningWhat to do
Activo (Active)Incoming messages go to the agent and replies go out through this number.Nothing.
Configuração incompleta (Setup incomplete)Steps are missing before serving customers.See the Por resolver antes de atender clientes list.
Requer atenção (Needs attention)The connection works, but there are open alerts (for example, failed sends).Check the alerts on the card and the affected conversations.
Webhook com falha (Webhook failed)Meta is not sending this number's messages to Diska.Click Repetir subscrição do webhook.
Número indisponível (Number unavailable)The number is not registered or verified at Meta.Complete verification in WhatsApp Manager and use Reconectar.
Autorização expirada (Authorisation expired)The Meta credential expired or is invalid.Use Reconectar (Reconnect).
Autorização removida (Authorisation removed)The authorisation was removed at Meta.Use Reconectar. History is preserved.
Desligação pendente (Disconnection pending)Service is already off in Diska, but Meta has not confirmed yet.Use Concluir desligação (Complete disconnection) or Reconectar.
Só chamadas (Calls only)Messages are off on this number, but voice calls are on.Nothing, if intended. To answer messages again, use Reconectar (Reconnect).
Desligado (Disconnected)No service and no sending through this number.Reconnect whenever you want; history is preserved.

Send a test message

Mensagem de teste (Test message) sends a message through the connected number without creating a conversation or changing the agent's service.

  1. Enter the Número de destino (destination number) in international format (for example +244 923 456 789).
  2. Choose:
    • Texto de teste (test text) — sends "Mensagem de teste da Diska: este número WhatsApp está ligado e pronto a responder." It is only delivered if that number wrote to the connected WhatsApp in the last 24 hours. Send a "Hello" from that phone first.
    • Template aprovado (approved template) — an approved utility template with no variables.
  3. Confirm that the number belongs to your team or agreed to receive the message, and click Enviar teste (Send test).

The result goes through A enviar (sending), Aceite pela Meta, a aguardar entrega (accepted by Meta, awaiting delivery), Enviada pela Meta (sent by Meta), Entregue (delivered) and Lida (read); or Falhou (failed) / Envio por confirmar (send unconfirmed). If Meta does not confirm the send, check the phone before trying again. There is a limit on tests per hour.

Change the agent

Alterar agente (Change agent) picks another published Prompt Builder agent. The new agent answers new conversations; conversations already under way keep their current agent and context.

Reconnect, switch numbers and disconnect

  • Reconectar renews the authorisation and restores the webhook. At Meta, select the same number. The connection, conversations and history are preserved.
  • Switch numbers: connect the new number with Ligar outro número and then disconnect the old one. The old number's history is preserved.
  • Desligar (Disconnect) turns off automatic service and sending through that number. Pending sends are blocked and not resumed automatically; a message that is being sent must finish first. History is preserved and you can reconnect later.

Common errors

MessageWhat to do
"Ligação cancelada. Pode voltar a tentar quando quiser."The Meta window was closed before the end. Try again.
"A autorização não terminou a tempo. Volte a ligar o WhatsApp." / "Esta autorização expirou. Inicie novamente a ligação."Start again with Preparar ligação and complete the Meta authorisation straight away.
"Não foi possível abrir a Meta. Verifique a ligação e os bloqueadores do navegador."Allow pop-ups and disable blockers for the backoffice.
"Escolha uma conta Cloud API com um número. Coexistência e migrações ainda não são suportadas neste fluxo."Use a Cloud API number that is not in use in the WhatsApp Business app.
"Este número ou conta WhatsApp já está associado a outra organização. Contacte a Diska."Each number can only be in one organisation.
"Este número já está ligado. Use Reconectar na conexão existente."Use Reconectar on the number's card.
"Conclua a verificação do número no WhatsApp Manager e volte a ligar."Verify the number at Meta and try again.
"Autorize a gestão da conta WhatsApp e o envio de mensagens na Meta."In the Meta window, accept all the permissions requested.
"Escolha um agente em Prompt Mode com uma versão publicada."Publish a Prompt Builder agent and choose it.

For other errors, the message says whether history was preserved; try again or contact Diska.

Copyright © 2026