> For the complete documentation index, see [llms.txt](https://docs.empowergpt.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.empowergpt.ai/workflows/block-types/integration-trigger.md).

# Integration Trigger

## Integration Trigger

The **Integration Trigger** automatically starts a workflow when an event occurs in a connected application.

Instead of manually starting a workflow, an Integration Trigger monitors a configured application for a specific event—such as receiving a new email, creating a calendar event, receiving a Slack message, or receiving a new Microsoft Teams message.

When the configured event occurs, EmpowerGPT automatically starts the workflow and makes the event data available to subsequent blocks.

<div data-with-frame="true"><figure><img src="https://2192711725-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fc2KRGWrkyRO0iZN5Lyeg%2Fuploads%2Fn3lMLWLYUHYnpjLMcHs1%2Fimage.png?alt=media&amp;token=23f092b6-338f-452d-90c5-f6dd6e02f89f" alt=""><figcaption></figcaption></figure></div>

### When to Use the Integration Trigger

Use an Integration Trigger when your workflow should automatically respond to an event occurring in another application.

Common use cases include:

* Processing newly received emails
* Automatically analyzing email content
* Responding to messages containing specific keywords
* Starting workflows when new calendar events are created
* Monitoring selected Slack conversations
* Processing Microsoft Teams channel or chat messages
* Processing new meeting transcripts

For example:

**Outlook – New Email → Agent: Analyze Email → Output**

Whenever a new email is received, the workflow automatically starts and passes the email information to the Agent for processing.

***

## Configuration

Add the **Integration Trigger** as the starting block of your workflow.

To configure the trigger:

1. Select the **Application** you want to connect.
2. Select one of the available **Triggers**.
3. Configure the fields required by the selected trigger.
4. Connect or select the account that should be monitored.
5. Use the information exposed by the trigger in subsequent workflow blocks.

The configuration options depend on the selected application and trigger.

***

## Supported Integration Triggers

The following Integration Triggers are currently available in EmpowerGPT:

| Application          | Trigger                   | Configuration Fields                      | Description                                                                                                               |
| -------------------- | ------------------------- | ----------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- |
| **Gmail**            | New Email                 | —                                         | Starts the workflow when a new email is received in the connected Gmail account.                                          |
| **Outlook Email**    | New Email                 | —                                         | Starts the workflow when a new email is received in the connected Outlook account.                                        |
| **Outlook Email**    | New Email Matching Search | Search Query                              | Starts the workflow when a new email matches the configured Microsoft Graph search query.                                 |
| **Google Calendar**  | New Event                 | Calendar ID, Days to Include              | Starts the workflow when a new event is detected in the configured Google Calendar.                                       |
| **Outlook Calendar** | New Event                 | Calendar Names, Days to Include, Timezone | Starts the workflow when a new event is detected in the configured Outlook calendar.                                      |
| **Slack**            | New Message by Search     | From, In, Keywords                        | Starts the workflow when a Slack message matches the configured search criteria.                                          |
| **Microsoft Teams**  | New Channel Message       | Channel ID, Team ID, Filter Keyword       | Starts the workflow when a new message is received in the configured Teams channel. Channel ID and Team ID are mandatory. |
| **Microsoft Teams**  | New Chat Message          | Chat ID, Filter Keyword                   | Starts the workflow when a new message is received in the configured Teams chat. Chat ID is mandatory.                    |
| **Microsoft Teams**  | New Meeting Transcript    | —                                         | Starts the workflow when a new Microsoft Teams meeting transcript becomes available.                                      |

***

## Trigger Configuration Fields

Some Integration Triggers require additional information to determine which events should start the workflow.

### Google Calendar – New Event

**Calendar ID**\
The ID of the calendar to monitor. If not specified, your primary calendar is used by default.

**Days to Include**\
Defines the number of days to include when looking for events.

***

### Outlook Calendar – New Event

**Calendar Names**\
A comma-separated list of calendar names to monitor.

For example:

`Work, Project Meetings, Customer Meetings`

**Days to Include**\
The number of days in the future to look for events.

**Timezone**\
The IANA timezone identifier used for proper time display.

For example:

`Europe/Berlin`

If omitted, times are provided in UTC.

***

### Slack – New Message by Search

The Slack trigger allows you to narrow down which messages should start the workflow using **From**, **In**, and **Keywords**.

#### From

Use **From** to search for messages from a particular Slack user or bot.

Supported syntax:

`from:<@UserID>`

or:

`from:botname`

For example:

`from:<@U05K6TALQ87>`

If the `from:` prefix is not included, EmpowerGPT adds it automatically.

You can find a user's Slack ID from:

**User Profile → Three-dot Menu → Copy Member ID**

#### In

Use **In** to specify the channel, group, or user conversation to search.

Examples:

`in:general`

`in:<@U05K6TALQ87>`

If the `in:` prefix is not included, EmpowerGPT adds it automatically.

#### Keywords

Enter the text that should be searched for within Slack messages.

For example:

`project update`

***

### Microsoft Teams

#### New Channel Message

**Channel ID**\
The ID of the Microsoft Teams channel to monitor. This field is mandatory.

**Team ID**\
The ID of the Team containing the channel. This field is mandatory.

**Filter Keyword**\
Optionally specify a keyword to filter messages.

#### New Chat Message

**Chat ID**\
The ID of the Microsoft Teams chat to monitor. This field is mandatory.

**Filter Keyword**\
Optionally specify a keyword to filter messages.

***

### Outlook Email – New Email Matching Search

Use **Search Query** to specify which incoming emails should start the workflow.

The field accepts Microsoft Graph search syntax.

Examples:

`from:johndoe@example.com`

`subject:Important`

`hasAttachments:true`

Filters can also be combined using `AND` or `OR`.

For example:

`from:johndoe@example.com AND hasAttachments:true`

This allows the workflow to process only emails relevant to a particular process instead of running for every incoming email.

***

## Using Integration Trigger Data

When an Integration Trigger starts a workflow, information associated with the event is exposed by the Trigger Block.

The exposed information can then be selected as variables in subsequent blocks.

For example:

**Outlook – New Email → Agent → Output**

The Agent can use information from the received email and be instructed to:

> Analyze the received email. Summarize the request and identify any actions that need to be taken.

The fields available to subsequent blocks depend on the selected application and trigger.

***

## How It Works

The general execution flow for an Integration Trigger is:

**Connected Application → Event Occurs → Integration Trigger → Workflow Execution**

For example:

**Gmail → New Email → Agent → Output**

When the configured event is detected:

1. The Integration Trigger receives information about the event.
2. The workflow starts automatically.
3. Event information is exposed as variables.
4. Subsequent blocks use those variables as inputs.
5. The remaining workflow blocks execute according to their configuration.

***

## Best Practices

**Choose the most specific trigger**\
Use the trigger that most closely matches the event you want to automate. For example, use **New Email Matching Search** when only specific Outlook emails should initiate the workflow.

**Use filters where available**\
Configure search queries, keywords, users, channels, and calendars to avoid unnecessary workflow executions.

**Verify identifiers**\
When a trigger requires a Calendar ID, Team ID, Channel ID, or Chat ID, make sure the correct identifier is configured.

**Configure the correct timezone**\
For Outlook Calendar, provide the appropriate IANA timezone when event times need to be displayed in a specific timezone.

**Test with real events**\
Before using an Integration Trigger in production, create a representative event—such as sending a test email, Slack message, or Teams message—and verify that the workflow starts and receives the expected information.


---

# 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.empowergpt.ai/workflows/block-types/integration-trigger.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.
