Build a Scenario - AI Assistant

Overview

This guide covers two ways to create a Scenario: building from scratch for full control, or using a pre-built template for faster setup.

Building a Scenario from Scratch

1. Name Your Scenario

Choose a clear, descriptive name for your Scenario. This is for your reference only and affects how the scenario runs. Examples:

2. Set the Trigger

Triggers define when the Scenario should run. Example triggers:

The trigger text doesn’t need to match the user’s message exactly. The AI assistant uses natural language understanding to decide if the user’s message fits the trigger condition. For example, if your trigger is “The user wants to book an appointment,” and someone says “Can I schedule an appointment?”, the assistant will recognize that as a match.

3. Add Steps

Each Scenario includes one or more Steps. Steps run in order from top to bottom.

Instruction Steps

Use these to:

API Call Steps

Use these to:

In each API step, you can:

Coming soon: test your API calls directly in the builder.

4. (Optional) Add Rules

Use rules to control when the Scenario runs. Examples:

Use this in conjunction with the steps to determine how the AI Assistant behaves in this scenario. You can add general rules for the entire scenario to this section.

5. (Optional) Add Assistant-Specific Attributes

Attributes let you set values for each assistant using this Scenario. Examples:

You’ll be prompted to fill in these values when enabling the Scenario.

6. Activate the Scenario

Once everything is set up, you can choose which assistants this Scenario should run on.

7. Review and Save

Review your full Scenario using the navigation at the top of the builder. You can jump back to make changes before saving. Once you click Finish, your Scenario will be saved and active for any assistants you’ve selected.

Managing Scenarios

Deleting a Scenario is permanent and cannot be undone. Make sure it’s not in use first.

Using Templates

Quick Start with Pre-built Templates. Templates automatically configure trigger conditions, steps, and necessary Actions based on your integration settings, giving you a head start that you can customize.

How Templates Work

  1. Select a Template – When creating a new Scenario, choose a template that matches your use case (e.g., Cal.com appointment booking)
  2. Provide Integration Details – Templates will ask for required information like API keys and configuration IDs
  3. Review Pre-filled Scenario– The template automatically sets up:
    • Trigger conditions that match your workflow
    • Step-by-step instructions for the AI assistant
    • Pre-configured API calls (Actions) for your integration
  4. Customize as Needed – Edit any part of the scenario to fit your specific needs
  5. Activate and Save – Follow steps 6-7 above to activate and save your scenario

Available Templates

Cal.com Appointment Booking (Phone Calls)

Templates provide a great starting point, but you can always customize or build from scratch. Templates are designed to save time while still giving you full control over the final scenario.

Next Steps

Want to set up and reuse API calls across multiple Scenarios? Learn more about Advanced Action configuration.