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

# Schedules and triggers

> Make a flow run itself, on a schedule you set or whenever something happens in a connected app like Gmail or Google Sheets.

A flow can run itself, either on a schedule or whenever something happens in a connected app.

## Schedules

> [!TIP]
>
> Ask the Flow Builder in the **Chat** tab to set up a schedule for you. See [Build with AI](https://docs.qxlabs.com/flows/build-with-ai.md).

Save the flow and set its status to **Active** in **Settings**, then click **Schedule Flow** in the toolbar. Pick how often it should run, along with the time and your timezone. **Schedule at** shows what you picked in plain language.

![The Schedule Flow window with cadence, time, and timezone options](https://mintcdn.com/qx-labs/ZJkiVX6zo-84vXkk/images/flows/schedules-and-triggers/schedule-modal-light.png?fit=max\&auto=format\&n=ZJkiVX6zo-84vXkk\&q=85\&s=9f3ef582325cfa847677bdb92af775b9)

**Enable Schedule** turns it on. The toolbar button then reads **Scheduled**, and reopening it lets you edit or delete the schedule. Switching a flow back to **Draft** stops its scheduled runs.

## Triggers

A trigger runs your flow when something happens in an app, like an email arriving or a row being added to a spreadsheet. Drag one in from the **Triggers** category, give it a credential, and tell it what to watch. A flow can have one trigger, and it must be the first node. See [Triggers](https://docs.qxlabs.com/flows/nodes/triggers.md) for what each one listens for.

![A trigger node on the canvas with its credential and filter settings](https://mintcdn.com/qx-labs/ZJkiVX6zo-84vXkk/images/flows/schedules-and-triggers/trigger-node-light.png?fit=max\&auto=format\&n=ZJkiVX6zo-84vXkk\&q=85\&s=4475ceb862383eaa773fe708ac8af48f)

To go further, the [Custom Code Trigger](https://docs.qxlabs.com/flows/nodes/custom-code-trigger.md) can listen to events from any of the 1,000+ apps in the catalog. Pick the service, the event, and your account, then ask the builder on the **Chat** tab to write the code that pulls out the values you need.

Triggers only listen while the flow is **Active**, so set the status in **Settings** and save. The trigger's icon then appears in the **Triggers** column of your Flows list, which confirms it is live. A new trigger starts watching from that moment, so it will not pick up anything that happened before.


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