Skip to content

Simulator

The Simulator lets you test your flow interactively directly in the Automation Builder without having to publish and test from a WhatsApp device.

Open your automation in the builder. Click the Simulate (pumpkin icon) button in the top toolbar. The simulator panel opens on the right side of the canvas. Next to it is the from the toolbar. button for reviewing past executions.

The Simulator runs the flow logic in the backend — executing nodes one by one, evaluating condition nodes, and pausing at nodes that wait for a reply (question, waitForReply) or pause (wait, waitForWebhook), then waiting for your input. No real messages are sent and no external services are actually called.

  1. Open the flow that you want to test in the Automation Builder.
  2. Click the Simulate button in the toolbar. The simulator panel appears on the right side of the canvas.
  3. In the panel header, (optionally) select the channel to simulate (WhatsApp, SMS, or Telegram) and the device display mode (Mobile, Desktop, or WhatsApp).
  4. Type the first message in the input box then press Send to start the simulation. The engine runs the flow and displays the bot’s replies (messages, questions, list menus) as chat bubbles.
  5. Reply by typing — to select an option on the node question Continue interacting until the flow ends, or click
  6. to start over from the beginning. Reset to start over from the beginning.
  7. during the simulation. For per-step details (input, output, and duration of each node), open during simulation. For per-step details (input, output, and duration of each node), open from the toolbar. from the toolbar.
FeatureDescription
Channel pickerSelect the channel being simulated: WhatsApp, SMS, or Telegram.
Device display modePreview the conversation in a Mobile, Desktop, or WhatsApp frame.
Chat tabThe simulated conversation. Type a message and press Send; bot replies appear as message bubbles.
Variables tabA snapshot of all current variables, grouped (Flow, Entity, Channel, Memory). Searchable and clickable to copy {{nama_variable}}. Useful for verifying that list_id, button_id, etc. are populated correctly.
Thoughts tabThe trail of AI nodes (askAi, aiAgent, aiOrchestrator) traversed during the simulation, complete with each AI node’s input, output, and duration.
ResetRestart the simulation from the beginning — clears the chat, variables, and node state.

The channel picker is located in the bar below the panel header. The channel you select is sent to the engine with every message, so nodes that depend on the channel (e.g. the channel.*variable) behave according to the selected channel. The default channel when the simulator opens is WhatsApp, and the active channel is highlighted.

ChannelValue (channel)Description
WhatsAppwhatsappDefault channel when the simulator opens.
SMSsmsSimulate the flow as if it runs on the SMS channel.
TelegramtelegramSimulate the flow as if it runs on the Telegram channel.

You can switch channels at any time during the session — subsequent messages are sent to the engine with the new channel. Switching channels does not reset the conversation; use Reset if you want to start from scratch.

On the right side of the channel bar there are three icon buttons for switching the preview frame. These modes are purely visual — only changes how Chat tab is framed and do not affect the flow logic or the data sent to the engine. The Variables and Thoughts tabs are always displayed at full width. The default mode is Mobile.

ModeIconAppearance
MobileSmartphonePhone-width frame (375px) with a “Mobile Preview” label above it. Default mode.
DesktopMonitorFull panel width, without a phone frame — mimicking the appearance on a large screen.
WhatsAppMessagePhone-width frame (375px) with a WhatsApp-style wallpaper background.

In short, “phone vs monitor”: Mobile and WhatsApp uses phone width, while Desktop uses full width. Each button displays the mode name as a tooltip on hover.

Open the Thoughts tab to trace the AI reasoning nodes the simulation passed through. This panel only displays AI nodes — non-AI nodes do not appear here. Before the simulation reaches any AI node, the panel shows an empty message: “AI thought traces will appear here when the simulation reaches an AI node”tab.

Node types captured by the Thoughts panel:

AI node typeAppears in Thoughts
askAiYes
aiAgentYes
aiOrchestratorYes

Every executed AI node appears as a collapsible card (collapsible), collapsed by default. Click the card to expand it.

Card elementContent
HeaderBrain icon (Brain) + label tipe_node — id_node + execution duration (...ms) on the right side.
InputsThe input JSON provided to the AI node (prompt, variables, and context). Shown when the card is opened.
OutputsThe output JSON of the AI node (reasoning result/answer). Shown when the card is opened.

Use this panel to verify the actual prompt and context received by the AI node, then compare it with the output — useful when the AI answer doesn’t match expectations or when debugging a aiAgent/aiOrchestrator node that calls a tool.

  • Test every branch. Don’t just test the “happy path” — test every option in question and each rule in condition.
  • Check variables after list/button. Open the Variables tab and make sure list_id or button_id is filled in correctly before entering the condition.
  • node. Trace the AI reasoning. For flows with AI nodes, open the Thoughts tab to view the input/output passed to each AI node.
  • Test per channel. Change channel selector (WhatsApp/SMS/Telegram) and repeat the simulation to ensure channel-dependent nodes behave correctly on each channel.
  • Check for disconnected edges. While the simulation runs, node statuses are highlighted on the canvas (active, completed, failed, skipped). If the flow ends prematurely, check the last executed node — make sure it has an outgoing edge.