# Trigger activities

> The following trigger activities are available in the Microsoft 365 activity package:

The following trigger activities are available in the Microsoft 365 activity package:

* Calendar:
  + [Calendar Event Created](https://docs.uipath.com/activities/other/latest/productivity/office365-trigger-new-event-created)
  + [Calendar Event Received](https://docs.uipath.com/activities/other/latest/productivity/office365-trigger-new-event-invitation-received)
  + [Calendar Event Replied](https://docs.uipath.com/activities/other/latest/productivity/office365-trigger-event-replied)
  + [Calendar Event Updated](https://docs.uipath.com/activities/other/latest/productivity/office365-trigger-event-updated)
* Email:
  + [Email Received](https://docs.uipath.com/activities/other/latest/productivity/office365-trigger-new-email-received)
  + [Email Sent](https://docs.uipath.com/activities/other/latest/productivity/office365-trigger-email-sent)
* OneDrive:
  + [File Created](https://docs.uipath.com/activities/other/latest/productivity/office365-trigger-new-file-created)
  + [File Updated](https://docs.uipath.com/activities/other/latest/productivity/office365-trigger-file-updated)
* SharePoint:
  + [List Item Added](https://docs.uipath.com/activities/other/latest/productivity/office365-trigger-sharepoint-list-item-added)
  + [List Item Updated](https://docs.uipath.com/activities/other/latest/productivity/office365-trigger-sharepoint-list-item-updated)
* Excel Online:
  + [Cell in Worksheet Updated](https://docs.uipath.com/activities/other/latest/productivity/office365-trigger-worksheet-cell-updated)
  + [Row Added to the Bottom of a Table](https://docs.uipath.com/activities/other/latest/productivity/office365-trigger-row-added-to-table-bottom)
  + [Worksheet Created](https://docs.uipath.com/activities/other/latest/productivity/office365-trigger-worksheet-created)

## Overview

Trigger activities allow an automation to start when a certain external event occurs.

When you create a process with a trigger activity, the trigger is automatically created in Integration Service, on the selected connection. For example, using the **File Created** activity creates a trigger on the corresponding OneDrive connection in Integration Service.

Unlike standard Integration Service [triggers](https://docs.uipath.com/integrations/docs/triggers), trigger activities have an output object, which you can use in other activities.

![docs image](https://dev-assets.cms.uipath.com/assets/images/activities/activities-docs-image-272367-3ecb79a4.webp)

An advantage of triggers, both activities and those found in Integration Service directly, is that you don't need a robot to constantly run in the background and check for events. Integration Service checks for events on the selected connection and triggers the workflow when an event is found.

## Working with trigger activities

1. Add the trigger to your workflow.
2. The trigger activity must be the first activity in your workflow. It represents the event which sets in motion the automation.
3. Configure the connection used by the trigger activity.
   * If you don't have an existing connection, select **Connect** to set up the Integration Service connection, e.g., to the [OneDrive connector](https://docs.uipath.com/integration-service/automation-cloud/latest/user-guide/uipath-microsoft-onedrive).
   * If you already have an existing connection to the Integration Service connector, the default connection is automatically selected. Select the **Settings** icon to manage your connection or add a new one.
4. Configure the trigger options by using the filter builder.
5. Build your workflow by adding more activities. For example, when a file is created, you want to [Send an email](https://docs.uipath.com/activities/other/latest/productivity/office365-email-send-mail-connections) and attach the file.

![docs image](https://dev-assets.cms.uipath.com/assets/images/activities/activities-docs-image-244017-fc14697f.webp)

## Troubleshooting

If your workflow isn't triggered or the trigger activity throws an error, check and fix your connection in the trigger activity.
