scenariobot-guide

05. Building a scenario

How to get there: Top bar β†’ Phones β†’ click a phone β†’ πŸ€– Scenarios tab. Create a new one, or click an existing one to open the designer.

The designer opens full screen and covers everything. Closing it returns you to the scenarios tab.

The three columns

EXPECT  |  CANVAS  |  SEND

That naming reads backwards to most people the first time. The full explanation and every step type is in Chapter 06.

A conversation alternates EXPECT β†’ SEND β†’ EXPECT β†’ SEND down the canvas.

Drag components onto the canvas and connect them. Works with a mouse and with touch on a tablet.

While you work

Action How
Save Ctrl/Cmd + S, or the save button
Undo Ctrl/Cmd + Z β€” up to 50 steps
Redo Ctrl/Cmd + Y or Ctrl/Cmd + Shift + Z
Duplicate a step the duplicate action on the step
Reorder drag, or the up/down arrows
Export / import buttons on the ribbon β€” raw JSON

An errors panel flags problems as you go and pops open by itself whenever new issues are found.

The two side columns can be resized, pinned and collapsed, and your layout choice is remembered between sessions.

Scenario settings

The βš™οΈ settings button on the ribbon holds everything that applies to the whole scenario rather than one step:

Saving vs publishing

Save keeps it as a draft. A draft can be edited freely and will not run.

Publish makes it runnable. Publishing runs three checks first, and is blocked until all pass:

  1. components and their required fields
  2. the templates used by scheduler steps
  3. custom code compiles β€” the scenario is compiled on the Worker

When a check fails you get the list of issues back, not just a refusal, and the errors panel shows them. Only after all three pass does the scenario become active.

Once published, the save button is disabled and shows β€œpublished”. To edit again, unpublish first.

Testing before it goes out

A real send still needs a real linked contact.


Next: Scenario components