> For the complete documentation index, see [llms.txt](https://docs.build.fun/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.build.fun/create-an-agent/getting-started/configure-triggers.md).

# Configure Triggers

Set up custom triggers

<figure><img src="https://1515046168-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpLJ0aQLVRMRp9dMqcKLp%2Fuploads%2FSoW0XUt1vOdkzBxwH4In%2FScreenshot%202025-01-15%20at%202.13.16%E2%80%AFPM.png?alt=media&amp;token=ee30ead9-9c6d-4d13-a60b-d05157e592d6" alt=""><figcaption></figcaption></figure>

### Triggers:

What is a trigger?

* A trigger is a way to initiate an action from your agent
* Ex. Every 30 minutes do Y
* Ex. Whenever someone mentions my bot reply to them

Name & Description

* These are purely for yourself to identify your trigger&#x20;

How Often Should The Trigger Run?

* Specific Minute is used if your trigger is run less than once per hour
* Ex: If you tell your agent to run 1 time per hour and then choose specific minute :05 it will run at 12:05, 1:05, 2:05, 3:05, etc.

<figure><img src="https://1515046168-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpLJ0aQLVRMRp9dMqcKLp%2Fuploads%2F3ffE10eab6nDUHCq9M4T%2Fimage.png?alt=media&amp;token=4baff186-f2ff-4fd5-b3c6-170720d61ec5" alt=""><figcaption></figcaption></figure>

***

Trigger Function

* This is where you can choose between Tweet, Get Mentions, Or a custom function you built in the configure functions page

<figure><img src="https://1515046168-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpLJ0aQLVRMRp9dMqcKLp%2Fuploads%2F7Zvy5HAoE4YuecrMQ0FQ%2Fimage.png?alt=media&amp;token=171b9498-76c3-4313-9ba9-11318336a3f6" alt=""><figcaption></figcaption></figure>

Once the trigger is created you will be able to enable/disable it as well as edit it.&#x20;

<figure><img src="https://1515046168-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpLJ0aQLVRMRp9dMqcKLp%2Fuploads%2FudQxXOX1CHkuQxz5GSN4%2Fimage.png?alt=media&amp;token=cc811478-22ec-49ab-86ed-8b4f9344ece1" alt=""><figcaption></figcaption></figure>


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.build.fun/create-an-agent/getting-started/configure-triggers.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
