Linking Dialogs with Triggers

Trigger types and how activity in one dialog causes reactions in others.

A trigger is a connection between two dialogs in a multichat: activity in one dialog causes a reaction in another. For example, when a participant answers a question in one character's dialog, a trigger can quietly resolve a quiz, reveal a new character, or jump another dialog to a different point.

You manage triggers in the Multichat tab under Edit triggers, where Your active triggers lists everything already in place.

Trigger types

Type

What it does

Continue dialog

Resolves the target quiz question invisibly for the participant, and the target dialog continues from there.

Start new dialog

Starts the target dialog with its welcome message and first block, making it visible to the participant.

Move dialog to new position

Moves the target dialog to a chosen block and continues from there.

Wait for API

Waits for an external system to resolve a quiz via an API request before continuing.

â„č

A trigger that resolves a quiz needs a quiz question as its target. Only quiz questions can be picked as the target for these triggers — see Question Blocks.

Creating a trigger

1

Choose a trigger type

Open Create new trigger and pick the trigger type from the list above.

2

Set the source

Choose the Source dialog, then select which question is the source — the question whose activity sets the trigger off.

3

Set the target

Choose the Target dialog, then pick the target question. For quiz-resolving triggers you choose which quiz question gets resolved; for a move trigger you choose where the dialog should jump to.

4

Create the trigger

Confirm with Create trigger. The new trigger then appears in Your active triggers.

Resolving a quiz from outside with Wait for API

The Wait for API trigger lets an external system resolve a quiz instead of the participant. The target dialog waits until your backend is notified that the quiz has been resolved, at which point it continues automatically.

To enable this, the triggering system sends a request to Respeak when the quiz is solved, authenticated with a token you obtain from the Respeak team. This is handy when a real-world event or a separate application should decide the outcome.

💡

For the exact request details and your token, reach out to the Respeak team at info@respeak.io.

You can see all triggers laid out visually on the Flow editor, where each connection is drawn between the dialogs it links.