What are triggers and their corresponding responses in Flows?
Triggers are the conditions that activate a flow. They define what specific user input or action will initiate the workflow. Once a trigger is met, the flow executes its configured responses. Responses determine what the assistant does next — for example sending a custom message, offering a button, or sending data to an external system. In essence, triggers start the process, and responses define
7 min readUpdated
On this page
💬 Define Triggers #
Triggers define what activates the flow. There are two types:
Message-based triggers
- Insert one or more trigger phrases that describe the user intent that should activate the flow
- Triggers operate on OR logic — if any trigger condition is met, the flow activates
- Click Reorder to drag and drop triggers and prioritize those that may overlap
- Providing examples of when the flow should and should not fire, along with a reason why, helps the assistant interpret intent accurately
Event-based triggers (used for proactive notifications)
- Chat opens — fires when the user opens the chat window
- Time on page — fires after the user has spent a set amount of time on a page
- Page load — fires as soon as the user loads a page
Event-based triggers do not use trigger phrases. Instead, they fire automatically when the page condition is met, and are used exclusively with the Notification response action.
You can edit or delete any trigger by accessing the flow and using the trash icon.
💬 Configuring Responses #
Each flow can include multiple types of responses. You can combine these responses to guide users through various paths:
1. Message #
-
Provide a specific message for the assistant to send.
-
This can be:
- Verbatim (the message is used as-is), or
- Loose input (used as a prompt for generative AI response)
-
You can toggle generative response on per message and add instructions that guide how the assistant generates the response. These can either append to the global answering style or override it entirely for this flow.

2. Add a Button #
- Create a clickable button with a custom name and icon.
- Choose from four button types:
- External link — redirects the user to a URL
- Help desk — links to a helpdesk escalation route
- Send text to chat — injects a message into the conversation
- FAQ — links to a specific FAQ entry

3. Follow-up Questions #
- Suggest clickable follow-up prompts after a response.
- Choose between AI-generated questions (automatically suggested based on the conversation) or define them manually.
⚠️ Important: Follow-up questions require a prior action such as a Custom Message or Search Knowledge before they can execute. Ensure the assistant can answer these queries from the knowledge base.

4. Search Knowledge #
- The assistant searches your trained knowledge base for a response.
- This action is automatically prioritized as the first response in the flow's sequence.
- Under Advanced settings:
- Search guidelines: Guide how the assistant searches — which sources to prioritize, how many iterations to run, and how retrieved content is interpreted.
- Answer guidelines: Control how the assistant writes its response for this flow. Can append to or override the global answering style.

5. Enter Study Mode #
- Transitions the user into a study session directly from the flow response.
6. Detect and Start Interactive #
- Initiates an H5P interactive activity.
- Toggle between auto (the assistant decides when to start based on context) and manual (starts explicitly when this flow is triggered).
7. Iframe #
- i-Frame an external link into the chat interface so that users don’t have to navigate away from the assistant interface
- A better alternative to redirecting the user to a new tab/window

- Click "Edit" on bottom of the Changelog flow box to configure iframe settings:
- Lightbox option: Check this to ensure the focus is on the content of the iframe
- Set a custom height: Enter a height value in pixels (px) or viewport height (vh) based on the content you're embedding

8. Send Email #
Automatically send an email when the flow is triggered. For example, if a student flag's they're struggling, an email can be sent automatically to notify a counsellor or staff member, without any manual action required.
Admins configure the following:
- Recipient: The email address that will receive the notification
- Subject: The subject line of the email
- Body: The main content of the email
You can insert dynamic fields into the subject or body to personalise the email automatically, including:
- User's name
- User's email
- Course name
- Course ID
- Conversation summary
- Conversation history
- User location
- Launch URL IP address
- and more

9. API Request #
Perform actions in external systems via API. This allows you to:
- Integrate with third-party services
- Send data to external platforms
- Trigger actions in connected systems
Configure the API request with the following:
- API endpoint method: Select POST from the dropdown
- API Endpoint URL: Enter the URL where the form data will be sent (e.g., https://api.example.com/endpoint)
- Authentication Type: Choose from available authentication methods or select "No Authentication"
- Headers (optional): Add custom headers as needed by clicking "Add header"
- Query Parameters (optional): Add URL query parameters by clicking "Add query parameter"
- Request JSON content: Define the data to send in the request body. You can use external data aliases like {{user.name}} to include dynamic information
- Inform user of result: Toggle this on to display in-chat messages for API success and failure

10. Improvement Task #
- Automatically generate a Knowledge Improvement Task when the flow is triggered.
- Tasks are named after the flow and appear within the “Improvements” dashboard.
- This helps identify content gaps and update knowledge proactively.

11. Handover to another assistant #
- Continues the conversation in a different assistant when the flow is triggered. Use this to route users to a specialist assistant based on context — for example, handing a course-specific query over to a course assistant.
- Select the target assistant from the dropdown.

- ⚠️ This action must always be the last action in the flow. It cannot be reordered above other actions.
- ⚠️ If the target assistant requires the user to be logged in, they will be prompted to authenticate before the handover completes. If they decline, they will be returned to the original assistant.
- When the flow is triggered, the user is seamlessly handed over to the target assistant. The target assistant will immediately start answering the user's question.

12. Notification #
Send a proactive message that appears as a banner above the chat launcher — even if the chat window is closed. Notifications are triggered by page events rather than user messages, making them suited for welcome messages, reminders, and targeted nudges.
Configure the following fields:
- Title — the heading shown on the notification banner. Keep this short and specific.
- Message — the body of the notification. Supports rich text formatting and buttons.
- Delivery rules — controls how often the same user sees the notification:
- Every time — fires each time the trigger condition is met
- Once per session — fires once per browser session
- Once per page visit — fires once each time the user loads the page
- Once per user — fires the first time the condition is met for a given user, and never again
- Allow users to reply — when enabled, the user can reply directly from the notification banner. Their reply is treated as the start of a conversation with the assistant.

Notifications dismiss automatically after 60 seconds if the user does not interact with them.
⚠️ The Notification action is only available with event-based triggers (chat opens, time on page, page load). It cannot be used with message-based triggers.
Responses within a flow can be stacked in a specific order, allowing you to control the sequence in which actions are executed. This is particularly useful when certain responses depend on others being triggered first. Drag and drop to reorder them.

If a required condition is missing, the LearnWise dashboard will display a warning message, indicating that additional responses are needed. Until the issue is resolved, you will be unable to save the flow.
Additionally, it's important to note that searching the knowledge base, specifying follow-up questions, Iframe, assistant handover, notification, and creating an improvement task can each only be included once per flow. This ensures clarity and consistency in how the assistant processes and responds to triggered interactions. On-time actions that have already been used will be unavailable for selection from the action list.

Additional Information about Flows #
Most response actions support external data aliases — placeholders like {program} or {advisor} that get replaced with the user's actual data at runtime. You can use these inside Custom Messages, Notifications, Email subject/body, Search Knowledge guidelines, and API Request payloads. See How do I add external user data to an assistant? to set up the underlying data.
For a full guide to setting up proactive notifications, see How do proactive notifications work in Flows?
Still stuck?
Ask the LearnWise assistant. It answers from these guides.
Related guides
- Can I be selective around which website content I add to LearnWise?Build your assistant
- How are the multiple different knowledge sources prioritized?Build your assistant
- How can I add AI Student Tutor within Blackboard?Build your assistant
- How can I add an FAQ to my knowledge?Build your assistant
- How can I integrate a ticketing system?Build your assistant