mistralM

Docs

sideBar

Interacting with Workflows

Send messages to running workflows, read their state, or update them, and build workflows that users interact with in a conversation.

These pages explain how external systems and users communicate with a workflow while it runs. Use signals, queries, and updates from code, or build conversational workflows that users drive from a chat interface.

In this section

Signals
illustrationWorkflow

Signals

Send messages to a running workflow asynchronously.

Queries
illustrationGear

Queries

Read the current state of a running workflow synchronously.

Updates
illustrationStar

Updates

Modify the state of a running workflow and receive a response.

Conversational Workflows
illustrationChatText

Conversational Workflows

Let users trigger a workflow, provide inputs during its execution, and follow its progress in Vibe Work.

Choose between signals, queries, and updates

The three mechanisms differ in how they communicate and what they can do:

Feature

Communication Type

Modifies State

Returns Value

Can Execute Activities

SignalAsynchronousYesNoNo
QuerySynchronousNoYesNo
UpdateSynchronousYesYesYes

Use a signal to notify a workflow without waiting for an answer, a query to read its state, and an update when you need to change state and get a result back.