> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dust.tt/llms.txt
> Use this file to discover all available pages before exploring further.

# Triggers

> Run an agent automatically, on a schedule or when something happens in another tool.

A **trigger** starts an agent without anyone sending it a message. The agent runs with its usual instructions, tools, and knowledge, and each run creates a conversation you can open to see what it did.

## Types of triggers

| Type | Runs the agent | Example |
| - | - | - |
| [Schedule](https://docs.dust.tt/docs/user-documentation/agents/triggers/schedules.md) | At times you describe in plain language | Every weekday at 8 AM, summarize yesterday's new support tickets |
| [Webhook](https://docs.dust.tt/docs/user-documentation/agents/triggers/webhooks/index) | When another system sends an event | When a pull request is opened on GitHub, review it |

Webhook triggers work with built-in sources (GitHub, Jira, Linear, Zendesk, and Fathom) or with a custom webhook from any system that can send HTTP requests.

## Add a trigger to an agent

**1. Open the agent**

Open the agent in the **Agent Builder**.

**2. Add a trigger**

In the **Triggers** section, click **Add triggers**, then pick **Schedule** or one of the webhook sources available to you.

**3. Set it up and save**

Fill in the trigger settings, then save the agent.

Webhook sources must first be created by a workspace admin: see [Webhooks](https://docs.dust.tt/docs/user-documentation/agents/triggers/webhooks/index). To check whether you can add a trigger to a given agent, see [Who can add a trigger](https://docs.dust.tt/docs/user-documentation/agents/triggers/schedules.md#who-can-add-a-trigger).

Triggers belong to the member who created them. The **Triggers** section of the Agent Builder, and the **Triggers** tab of the agent's details, list only the triggers you created. This is also true for the agent's editors: you can't see or edit a trigger that someone else added to the same agent, even if it runs.

If a member is removed from the workspace, the triggers they created are deleted for good. Before someone leaves, ask a teammate to recreate the triggers the team still needs.

To see every trigger in the workspace, admins and managers go to **Admin** > **Automations**. Members manage their own triggers from **Automations** in the user menu. See [Review your triggers](https://docs.dust.tt/docs/user-documentation/agents/triggers/credits-usage.md#review-your-triggers).

## Where runs appear

Each run starts a new conversation with the agent. It includes the trigger's message and, for webhook triggers, the event data if you chose to include it.

By default, the conversation appears in your own conversation history. To share runs with your team, pick a Pod under **Where to create this conversation?** in the trigger settings: the conversation is then created in that Pod, where all its members can see it. See [Pod conversations](https://docs.dust.tt/docs/user-documentation/pods/conversations.md).

If that Pod is archived, its triggers are turned off. They stay off when the Pod is unarchived, so their owners need to turn them back on. See [Archive a Pod](https://docs.dust.tt/docs/user-documentation/pods/members-and-roles.md#archive-a-pod).

## Credits and limits

* Trigger runs consume credits like any other agent run. The **Credits** setting on each trigger decides whether your credits or the workspace's pay for them. See [Credits usage](https://docs.dust.tt/docs/user-documentation/agents/triggers/credits-usage.md).
* Schedules run at most once per hour. See [How often a schedule can run](https://docs.dust.tt/docs/user-documentation/agents/triggers/schedules.md#how-often-a-schedule-can-run).
* Webhook triggers run at most 42 times per 24 hours by default. See [Rate limiting](https://docs.dust.tt/docs/user-documentation/agents/triggers/webhooks/rate-limiting.md).

To review your triggers and their credit consumption, or to enable, disable, or delete them, see [Review your triggers](https://docs.dust.tt/docs/user-documentation/agents/triggers/credits-usage.md#review-your-triggers).

## Related

> [card] [Schedules](https://docs.dust.tt/docs/user-documentation/agents/triggers/schedules.md)
>
> Run an agent at set times.

> [card] [Webhooks](https://docs.dust.tt/docs/user-documentation/agents/triggers/webhooks/index)
>
> Run an agent when something happens in another tool.

> [card] [Credits usage](https://docs.dust.tt/docs/user-documentation/agents/triggers/credits-usage.md)
>
> Choose whose credits pay for each run.

> [card] [Pod conversations](https://docs.dust.tt/docs/user-documentation/pods/conversations.md)
>
> Share trigger runs with your team in a Pod.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.