> For the complete documentation index, see [llms.txt](https://help.autify.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.autify.com/nocode-web/en/autify-university/foundation/test-plans/triggers.md). Agents can also search and read this documentation through its [MCP server](https://help.autify.com/~gitbook/mcp).

# Triggers

## Triggers

A trigger is a way for you to automatically kick off a test plan. Click the **\[Edit]** button above the triggers section.

![](https://1964297753-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVdZPTgwISYb3LhjgKnw6%2Fuploads%2Fgit-blob-2a66d3094e5d381fa6e8ba31dbb0ff3c4eb00ed7%2Fen_test_plan_all\(2\).png?alt=media)

Creating a trigger is as simple as designating the repeating unit\* and the start time. \*If the repeating unit is 'week', the day of the week must also be designated.

Please note that your timezone is shown in the parentheses; your scheduled tests will run according to this timezone.

![](https://1964297753-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVdZPTgwISYb3LhjgKnw6%2Fuploads%2Fgit-blob-d5861eaecdf0bebfa8bb18cfd46928648662755a%2FScreen%20Recording%202022-07-13%20at%2021.02.54.gif?alt=media)

Once you are finished you can click create, and your trigger will be ready.

Note that during the creation/correction of **\[Test Plans]** or **\[Scenarios]**, it is recommended to use Autify Cloud environment that has a high execution speed. Also in the external device farm environment, it is recommended that regular execution is set to non-business hours.

### If you want to temporarily disable a scheduled execution

You can turn it OFF from the test plan screen by using its toggle.

![](https://1964297753-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVdZPTgwISYb3LhjgKnw6%2Fuploads%2Fgit-blob-827ba26f71cf0d250e1e8a14ac2dfa35721fb3be%2Ftest_plan_triggers_en.png?alt=media)

You can always turn it ON again easily in the same fashion.

### If the test plan was not executed as scheduled

If the test plan was not executed as scheduled, it's possible that all available [parallel execution](https://help.autify.com/nocode-web/en/autify-university/advanced/test-execution-order/parallel-execution.md) slots were being used to run other tests. In this case, the test will be executed once a slot becomes available.

### Next run Time

When setting up a Trigger, the `Next run` time will be calculated based on:

* the current time (in your organization’s timezone)
* the `Repeating units`
  * for weeks, the selected days too
* the `Start Time`

Example #1:

* Current time: `15:30`
* Repeating unit: `1 Hour`
* Start time: `0:30`
* Next run: `Today, 16:30`

Example #2:

* Current time: `15:30` on Thursday July 31st
* Repeating unit: `1 Week`
  * Selected days: Sunday, Tuesday, Friday
* Start time: `0:30`
* Next run: `Aug 1, 0:30`


---

# 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://help.autify.com/nocode-web/en/autify-university/foundation/test-plans/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.
