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

# Triggers

<div style={{ display: 'flex', justifyContent: 'center', margin: '2rem 0' }}>
  <div className="video-card">
    <video src="https://lindy-docs-content.nyc3.digitaloceanspaces.com/Triggers.mp4" width="600" autoPlay muted loop playsInline style={{ display: 'block', width: '100%', borderRadius: '16px' }} />
  </div>
</div>

## Quick Overview

Triggers are events that "wake up" an agent and start a workflow. These can include time-based triggers (e.g., every weekday at 9 am), chat-based triggers (when a user starts a new chat), or event-based triggers (e.g., when you receive an email).

A single agent can have multiple triggers, either managing different workflows or acting as entry points into the same workflow.

## How to add a trigger

<Steps>
  <Step title="Create a new Lindy">
    Click on the plus sign at the bottom or right-click anywhere on the canvas and select "Add Trigger" from the pop-up menu

    <Frame>
      <img src="https://mintcdn.com/lindyai/D9TqHMLRoGnnvrcz/lindy-brand-assets/Triggers_5.png?fit=max&auto=format&n=D9TqHMLRoGnnvrcz&q=85&s=df2e2d47aa7a38d4251b523bf80d4e5a" alt="Calendar + Chat multi-trigger workflow" width="3024" height="1526" data-path="lindy-brand-assets/Triggers_5.png" />
    </Frame>
  </Step>

  <Step title="Select your trigger">
    Click "Select Trigger" and search for a tool or trigger that will initiate a response from Lindy

    <Frame>
      <img src="https://mintcdn.com/lindyai/D9TqHMLRoGnnvrcz/lindy-brand-assets/Triggers_1.png?fit=max&auto=format&n=D9TqHMLRoGnnvrcz&q=85&s=fc7e9ee8e0e3f28f81283310a6878588" alt="Calendar + Chat multi-trigger workflow" width="3024" height="1358" data-path="lindy-brand-assets/Triggers_1.png" />
    </Frame>
  </Step>

  <Step title="Authorize your account">
    If it's your first time, authorize your desired account and select which account to use

    <Frame>
      <img src="https://mintcdn.com/lindyai/D9TqHMLRoGnnvrcz/lindy-brand-assets/Triggers_6.png?fit=max&auto=format&n=D9TqHMLRoGnnvrcz&q=85&s=c07b432de4451071fc2ca9d87d83a899" alt="Calendar + Chat multi-trigger workflow" width="3024" height="1534" data-path="lindy-brand-assets/Triggers_6.png" />
    </Frame>
  </Step>
</Steps>

## Types of triggers

### Time-based triggers

<Frame>
  <img src="https://mintcdn.com/lindyai/D9TqHMLRoGnnvrcz/lindy-brand-assets/Triggers_3.png?fit=max&auto=format&n=D9TqHMLRoGnnvrcz&q=85&s=19e215cab3787874faed3645be260fa8" alt="Calendar + Chat multi-trigger workflow" width="3024" height="1528" data-path="lindy-brand-assets/Triggers_3.png" />
</Frame>

Starts the workflow at a set or recurring time. Examples include:

* Every weekday at 9 AM
* Daily at midnight
* Weekly on Monday
* Monthly on the 1st

### Chat-based triggers

<Frame>
  <img src="https://mintcdn.com/lindyai/D9TqHMLRoGnnvrcz/lindy-brand-assets/Triggers_4.png?fit=max&auto=format&n=D9TqHMLRoGnnvrcz&q=85&s=fb924ef56b0896d016084af0497042be" alt="Calendar + Chat multi-trigger workflow" width="3024" height="1526" data-path="lindy-brand-assets/Triggers_4.png" />
</Frame>

Starts the workflow when a user initiates a chat. This allows users to interact directly with your agent through the chat interface.

### Event-based triggers

<Frame>
  <img src="https://mintlify.s3.us-west-1.amazonaws.com/lindyai/lindy-brand-assets/Triggers_16.png" alt="Calendar + Chat multi-trigger workflow" />
</Frame>

Starts the workflow when a specific event occurs. Examples include:

* Slack message received
* Email received
* Calendar event started
* New row added to Google Sheets
* Webhook received

<Tip>
  Use triggers together with `conditions` to route workflows intelligently based on context.
</Tip>

## Trigger filters

A trigger filter allows you to set conditional logic to filter which events will cause your agent to wake up and execute the workflow.

You can enable trigger filters at the bottom of the trigger configuration settings. This means you do not have to add additional steps to filter out triggering events from your workflow.

### Example: Email received trigger setup

If you want your agent to process only emails with a specific label, you can configure the Email Received trigger to filter by label. This way, your agent will only wake up and run the workflow when an email with that label arrives.

<Frame>
  <img src="https://mintcdn.com/lindyai/D9TqHMLRoGnnvrcz/lindy-brand-assets/Triggers_8.png?fit=max&auto=format&n=D9TqHMLRoGnnvrcz&q=85&s=a99d72c5862b7a59fef30dc6eb73b86a" alt="Calendar + Chat multi-trigger workflow" width="3006" height="1584" data-path="lindy-brand-assets/Triggers_8.png" />
</Frame>

### Filter rules

* Trigger filters are not case-sensitive
* You can add multiple filter conditions and combine them with AND or OR conditions
* Condition Groups allow you to build more complex, nested filtering logic

### Example filter

In the example below, your agent will only trigger if:

* The Calendar Event name contains "Interview" AND the location contains "1841 Market Street"
* OR the Calendar Event description contains "In-Person Interview"

<div style={{ display: 'flex', justifyContent: 'center', margin: '2rem 0' }}>
  <div className="video-card">
    <video src="https://mintcdn.com/lindyai/D9TqHMLRoGnnvrcz/lindy-brand-assets/Triggers_09.mp4?fit=max&auto=format&n=D9TqHMLRoGnnvrcz&q=85&s=1b2404a446f93a99ef290f759e2f719c" width="600" autoPlay muted loop playsInline style={{ display: 'block', width: '100%', borderRadius: '16px' }} data-path="lindy-brand-assets/Triggers_09.mp4" />
  </div>
</div>

### Setting an Offset

<Frame>
  <img src="https://mintcdn.com/lindyai/D9TqHMLRoGnnvrcz/lindy-brand-assets/Triggers_10.png?fit=max&auto=format&n=D9TqHMLRoGnnvrcz&q=85&s=9382f464021e962a528c2fb8be345816" alt="Calendar + Chat multi-trigger workflow" width="3024" height="1532" data-path="lindy-brand-assets/Triggers_10.png" />
</Frame>

Some triggers, such as the Calendar Event Started trigger, offer a Minutes Offset, which allows the trigger timing to begin before or after the event start time:

* A negative Minutes Offset (-) sets the trigger before the event start time
* A positive Minutes Offset (+) sets the trigger after the event start time

For example, if you wanted a Meeting Prep Lindy to prep you 30 minutes before a meeting, you would set the Minutes Offset to -30. In this case, the workflow would begin 30 minutes before the Calendar Event Start time.

## Multiple triggers

One Lindy can have multiple triggers, either initiating the same workflow or triggering entirely different ones.

### Multiple triggers for the same workflow

For example, if you receive lead emails from a [contact@company.com](mailto:contact@company.com) email address and also have a form on your website that sends leads to a Google Sheet, you can configure two triggers to aggregate your leads:

1. One trigger would be on an Email Received
2. The other would be on a New Row Added to a Google Sheet

The workflow would execute exactly the same for both triggers.

#### How to set up multiple triggers

<Frame>
  <img src="https://mintcdn.com/lindyai/D9TqHMLRoGnnvrcz/lindy-brand-assets/Triggers_13.png?fit=max&auto=format&n=D9TqHMLRoGnnvrcz&q=85&s=2eb87947fc4ca898d3293f24d37be3b7" alt="Calendar + Chat multi-trigger workflow" width="3024" height="1510" data-path="lindy-brand-assets/Triggers_13.png" />
</Frame>

1. Create your first trigger and workflow
2. Click "New Trigger" in the top left of the Flow Editor
3. Add your second trigger
4. Drag the grey arrow beneath the second trigger and connect it to the appropriate step in your existing workflow

### A Lindy with multiple workflows

Under some circumstances, you may want your Lindy to have two distinct workflows. For example, let's say you want to build a Meeting Notetaker Lindy that can also answer meeting questions in the Lindy app:

<Frame>
  <img src="https://mintcdn.com/lindyai/D9TqHMLRoGnnvrcz/lindy-brand-assets/Triggers_15.png?fit=max&auto=format&n=D9TqHMLRoGnnvrcz&q=85&s=c567f1bd01a9a8fb31303d7fcb291117" alt="Calendar + Chat multi-trigger workflow" width="3024" height="1526" data-path="lindy-brand-assets/Triggers_15.png" />
</Frame>

1. **First Workflow:** Meeting recorder that joins your meeting, creates a Google Document with meeting notes and saves them in a Folder (triggered by Calendar Event Start)

2. **Second Workflow:** Answer meeting questions with a Message Received trigger. This workflow begins when a user sends a message to Lindy, searches the knowledge base (which queries all the Documents in the Folder created by the first workflow), and then responds to the user.

This example outlines two workflows with different triggers:

* One workflow joins your meetings and takes notes
* The other allows the user to chat with their meetings and get instant answers to questions about their meetings

## Next steps

<CardGroup cols={2}>
  <Card title="Actions" href="/fundamentals/lindy-101/actions" icon="arrow-pointer">
    Explore what actions can do in a workflow
  </Card>

  <Card title="Conditions" href="/fundamentals/lindy-101/conditions" icon="network-wired">
    Route workflows based on logic
  </Card>

  <Card title="Quickstart Guide" href="/start-here/quickstart" icon="rocket">
    Build your first Lindy in minutes
  </Card>

  <Card title="Templates" href="/fundamentals/lindy-101/templates" icon="clipboard-list">
    Jump-start with pre-built workflows
  </Card>
</CardGroup>
