> For the complete documentation index, see [llms.txt](https://learn.doubletick.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://learn.doubletick.io/bot-studio/set-up-bot-triggers/on-agent-assign.md).

# On Agent Assign

On Agent Assign is a trigger that activates when a conversation is assigned to a team member in DoubleTick.

This trigger helps automate actions immediately after an agent becomes responsible for a customer chat.<br>

<figure><img src="/files/Ym8ZmaOAjBmiQg7RpJg8" alt=""><figcaption></figcaption></figure>

### Where to Use This Trigger

Use it when:

* You want the agent to receive context automatically
* You want internal workflows after assignment
* You want different handling based on support or sales ownership

#### How to Use It

1. Create a journey in Bot Studio
2. Select trigger On Agent Assign
3. Add actions like:
   * Send internal instructions
   * Update lead stage
   * Notify the assigned agent
4. Publish the journey

#### Key Capabilities

* Improves agent readiness
* Supports structured routing workflows
* Reduces manual coordination

#### Example Use Case

A customer requests pricing.\
Once assigned to a sales agent, the bot automatically sends an internal note with customer interest.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://learn.doubletick.io/bot-studio/set-up-bot-triggers/on-agent-assign.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
