# Conversation Trigger

> The conversation trigger marks the Flow as conversational and interactable from any chat channel.

## What it does

The **presence of a conversation trigger is what makes the Flow discoverable as a conversational agent** on every [supported chat channel](https://docs.uipath.com/agents/automation-cloud/latest/user-guide/conversational-agents-deployment) once published.

Each conversation runs as a single Flow instance — suspending and resuming at each [Wait for Message](./node-wait-for-message.md) as the user sends more messages. When the Flow execution ends, the conversation gracefully completes as well; users see that the conversation has ended and cannot send more messages to the chat.

![Conversational Trigger node, followed by a Wait for Message node.](https://dev-assets.cms.uipath.com/assets/images/maestro/chat-conversation-trigger-ed4642e2.png)

## Output

| Field | Description |
|---|---|
| `conversationId` | Unique identifier for the conversation this run is serving. |

Downstream conversational nodes may require a Conversation ID input. Reference the trigger's output, such as with:

```javascript
$vars.conversationTrigger1.output.conversationId
```

## Notes

- Ensure a [**Wait for Message**](./node-wait-for-message.md) node immediately follows the conversation trigger.
- Once published, the conversation trigger only fires when it's set to the Flow's default trigger in Orchestrator. Either ensure this is the Flow's only trigger, or confirm that the conversation trigger is the default entry point in Orchestrator after publish.

## Related pages

- [Wait for Message](./node-wait-for-message.md) — the next node in a chat loop.
- [Chat](./conversational-chat.md) — full palette of chat conversational nodes.
- [Build a chat agent workflow](./build-a-chat-agent-workflow.md) — end-to-end walkthrough starting with the Conversation Trigger.
- [Chat deployment](https://docs.uipath.com/agents/automation-cloud/latest/user-guide/conversational-agents-deployment) — publish and expose the Flow through various channels.
