Test an agent
The Testar (Test) button in the agent editor opens the test panel with four modes — Chamada web (Web call), Chamada telefónica (Phone call), Chat and Simulação (Simulation) — and gives access to the Centro de Testes (Test Center). Every role in the organization, including Viewer, can test agents.
Draft or published version
While the test panel is open, a bar at the top of the editor reads Modo de teste · não é tráfego live (Test mode · not live traffic) and shows which version is under test:
- Rascunho (Draft) — the changes you have not published yet;
- Publicado (Published) — the version in production.
Use the switch in the bar to change it. Until you publish the agent for the first time, you can only test the draft.
Web call
Talk to the agent in the browser, using your computer's microphone.
- Click Testar → Chamada web.
- Optional: fill in Contacto do chamador (Caller contact — used, for example, as the SMS recipient) and the Variável: … fields for the agent's pre-call variables.
- Click Iniciar chamada de teste (Start test call) and allow the microphone.
- Click Terminar (End) to hang up.
The web test call is not connected to any phone line: if the agent tries to transfer, the transfer does not happen and the agent carries on with the conversation. This call is not recorded.
Phone call
The agent calls your mobile from its DISKA number. This is how you hear the agent exactly as a customer does.
Requirements
- Your organization must be enabled by Diska for outbound phone calls.
- The agent must have been published at least once with an active DISKA number assigned. The call always comes from the published version's number, even when you test the draft.
- Testing the published version (real actions) requires permission to execute actions: a Visualizador (viewer) can only test the draft, with simulated actions.
- The destination must be an Angolan mobile (Africell or Unitel) with 9 digits — for example
923 000 000. Only the +244 country code is available, and you cannot call the agent's own number.
Make the call
- Click Testar → Chamada telefónica.
- Under Versão do agente (Agent version), choose Rascunho — ações simuladas (Draft — simulated actions) or the published version (for example, V3 publicada — ações reais, V3 published — real actions).
- Check the number under Chamada de (Call from — the agent's number).
- Under Ligar para (Call to), type your mobile number.
- Fill in the pre-call variables, if the agent has any.
- Click Ligar-me (Call me) and answer your phone.
The status line follows the call: A preparar a chamada… (Preparing the call), A tocar no … (Ringing …), Em chamada · m:ss (In call) and, at the end, Chamada terminada (Call ended). To hang up from the panel, click Desligar (Hang up).
Limits and messages
| Message | What to do |
|---|---|
| Indique um telemóvel angolano (Africell ou Unitel)… (Enter an Angolan mobile) | Fix the number: 9 digits, starting with 92–96. |
| Esta organização ainda não está habilitada para chamadas telefónicas de saída. (Not enabled for outbound calls) | Ask Diska to enable outbound calls. |
| Publique o agente uma vez para lhe atribuir o número que faz a chamada. (Publish the agent once) | Publish the agent. |
| Atribua ao agente um número DISKA activo e publique-o para testar por telefone. (Assign an active DISKA number and publish) | Assign a DISKA number under Publicação → Telefone and publish. |
| Indique o seu telemóvel, não o número do agente. (Your mobile, not the agent's number) | Use a different destination number. |
| Já tem uma chamada de teste em curso. Termine-a antes de ligar de novo. (A test call is already in progress) | Each person can only have one test call at a time. |
| Atingiu o limite de chamadas de teste desta hora. Tente mais tarde. (Hourly test call limit reached) | Each organization has a limit on test calls per hour. |
| A organização atingiu o limite de chamadas em simultâneo. (Concurrent call limit reached) | Wait for another phone call to end. |
| O número está ocupado, desligado ou rejeitou a chamada. / A chamada não foi atendida. (Busy, off or rejected / Not answered) | Check your phone and try again. |
| A linha telefónica não está disponível neste momento. (Phone line unavailable) | Try again later; if it persists, contact support. |
Chat
Talk to the agent by text, without voice. For a Flow Designer agent, each message goes through the flow; for a Prompt Builder agent, the agent answers from its prompt. Novo chat (New chat) restarts the conversation. Chat never runs real actions.
Simulation
Testar → Simulação shows this agent's test suites — the same ones as in the Test Center, seen from the editor. A suite groups scenarios with success criteria: an AI-simulated caller talks to the agent by text and each case passes or fails. It works for both Prompt Builder and Flow Designer agents.
The panel has two tabs:
- Suites de teste (Test suites) — the agent's suites, with a search box and the Suite button to create one;
- Histórico (History) — this agent's runs, with how many cases passed and the status.
Create and run a suite
- Click Suite. The suite is created for this agent, in its language, and opens empty.
- Choose Gerar com IA (Generate with AI — tick the scenarios and the number of cases, then click Gerar … casos de teste) or Criar caso personalizado (Create custom case).
- Review the cases: each one needs a Prompt do cenário (Scenario prompt) and at least one Critério de sucesso (Success criterion).
- Click Executar (Run). Testes iniciados. (Tests started) appears and the run opens, with each case Em curso (Running) until it finishes.
The run uses the version chosen in the test bar: Rascunho (Draft) or Publicado (Published). Click a finished case to see the criteria (Visão geral, Overview) and the conversation (Transcrição, Transcript).
Everything you create here shows in the Test Center, and the other way round. Abrir no Centro de Testes (Open in the Test Center), at the bottom of the panel, opens it filtered to this agent. Each field and the evaluations are covered in Test Center.
Every role can see and run suites; creating and editing suites and cases requires the Owner, Administrator or Member role.

