YallaHelp Centre

Test your agent before it goes live

Chat with your agent as if you were a customer, see what shaped each reply, and fix an answer before anyone else sees it. Nothing is sent to customers.

Owners and adminsChecked against Yalla on 4 Dec 2026

Use the Preview panel on the right of your agent's page to chat with it as a customer would, using your latest changes, before you publish them.

What it does for you

You change a rule, add an FAQ, and want to know how your agent will answer. Preview lets you ask it right away. It always uses your current changes, including ones you haven't published yet, so you can check them first. Nothing you type in Preview is sent to a real customer.

Steps

  1. In the left menu, click Agents (if you don't see it, look for Bots), then click Edit on your agent. Preview is on the right of every page of the agent, so you can test while you change things.
    The Preview panel on the right of the agent's page
  2. Next to Testing as, you can click the pill to choose who your test customer is. Type a Their name (optional) and pick where they write from under Writes on, for example WhatsApp.
    The Testing as pill, opened to show Their name and Writes on
  3. If your agent uses a premium AI model, Preview tells you that test messages use your AI credits. Click Use credits to go ahead, or Switch to a standard model to test for free. (If your agent is on a standard model you won't see this.)
    The Use credits button under the premium model notice
  4. Type a question your customers might ask in the box at the bottom, then press Enter or click the send arrow. Your agent's reply appears in Customer view.
    A customer question typed in the Preview box, with the send arrow beside it
  5. To see what shaped a reply, click Why. You can also click Why under a reply itself.
    The Why tab next to Customer view
  6. The Why tab lists what was in play for the last reply, for example what your agent used, what it weighed, what it did, and what it would do. Before you send a first message, it asks you to ask something first.
    The Why tab before a first question has been asked

What happens next

Read the reply. If it is right, carry on. If it is not, change the rule or FAQ behind it and ask the same question again. Click the circular arrow at the top of Preview to start a new chat.

Under a reply you may see Not right?. Click it, write what your agent should have said, and click Try again. Your agent shows what it will remember from this, and you can click Undo.

Common questions

Can a real customer see what I type here?

No. Preview says "Nothing is sent to customers."

Do test messages cost AI credits?

On a standard model, test messages are free. On a premium model they use your AI credits, and Preview asks you first with Use credits.

What does Why show?

It lists what was in play for the reply, for example what your agent used, what it weighed, tools it used and actions it would take. If it said it would look at the calendar and didn't, Why says so. It lists what was involved; it does not promise that one item caused the reply.

Good to know