You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: Manage email, contacts, and calendars with Office 365 REST APIs and Azure Logic Apps
3
+
description: Automate tasks and workflows that manage email, contacts, and calendars in Office 365 Outlook by using Azure Logic Apps
4
4
services: logic-apps
5
5
ms.suite: integration
6
6
ms.reviewer: klam, logicappspm
@@ -9,79 +9,76 @@ ms.date: 10/18/2016
9
9
tags: connectors
10
10
---
11
11
12
-
# Get started with the Office 365 Outlook connector
13
-
The Office 365 Outlook connector enables interaction with Outlook in Office 365. Use this connector to create, edit, and update contacts and calendar items, and also get, send, and reply to email.
12
+
# Manage email, contacts, and calendars in Office 365 Outlook by using Azure Logic Apps
14
13
15
-
With Office 365 Outlook, you:
14
+
With [Azure Logic Apps](../logic-apps/logic-apps-overview.md) and the [Office 365 Outlook connector](/connectors/office365connector/), you can create automated tasks and workflows that manage your Office 365 account by building logic apps. For example, you automate these tasks:
16
15
17
-
*Build your workflow using the email and calendar features within Office 365.
18
-
*Use triggers to start your workflow when there is a new email, when a calendar item is updated, and more.
19
-
*Use actions to send an email, create a new calendar event, and more. For example, when there is a new object in Salesforce (a trigger), send an email to your Office 365 Outlook (an action).
16
+
*Get, send, and reply to email.
17
+
*Schedule meetings on your calendar.
18
+
*Add and edit contacts.
20
19
21
-
This article shows you how to use the Office 365 Outlook connector in a logic app, and also lists the triggers and actions.
20
+
You can use any trigger to start your workflow, for example, when a new email arrives, when a calendar item is updated, or when an event happens in a difference service, such as Salesforce. You can use actions that respond to the trigger event, for example, send an email or create a new calendar event.
22
21
23
22
> [!NOTE]
24
-
> This version of the article applies to Logic Apps general availability (GA).
25
-
>
26
-
>
23
+
> To automate tasks for an @outlook.com or @hotmail.com account, use the
To learn more about Logic Apps, see [What are logic apps](../logic-apps/logic-apps-overview.md) and [create a logic app](../logic-apps/quickstart-create-first-logic-app-workflow.md).
26
+
## Prerequisites
29
27
30
-
## Connect to Office 365
31
-
Before your logic app can access any service, you first create a *connection* to the service. A connection provides connectivity between a logic app and another service. For example, to connect to Office 365 Outlook, you first need an Office 365 *connection*. To create a connection, enter the credentials you normally use to access the service you wish to connect to. So with Office 365 Outlook, enter the credentials to your Office 365 account to create the connection.
28
+
* An [Office 365 account](https://www.office.com/)
32
29
33
-
## Create the connection
34
-
> [!INCLUDE [Steps to create a connection to Office 365](../../includes/connectors-create-api-office365-outlook.md)]
35
-
>
36
-
>
30
+
* An Azure subscription. If you don't have an Azure subscription, [sign up for a free Azure account](https://azure.microsoft.com/free/).
37
31
38
-
## Use a trigger
39
-
A trigger is an event that can be used to start the workflow defined in a logic app. Triggers "poll" the service at an interval and frequency that you want. [Learn more about triggers](../logic-apps/logic-apps-overview.md#logic-app-concepts).
32
+
* The logic app where you want to access your Office 365 Outlook account. To start your workflow with an Office 365 Outlook trigger, you need to have a [blank logic app](../logic-apps/quickstart-create-first-logic-app-workflow.md). To add an Office 365 Outlook action to your workflow, your logic app needs to already have a trigger.
40
33
41
-
1. In the logic app, type "office 365" to get a list of the triggers:
2. Select **Office 365 Outlook - When an upcoming event is starting soon**. If a connection already exists, then select a calendar from the drop-down list.
If you are prompted to sign in, then enter the sign in details to create the connection. [Create the connection](connectors-create-api-office365-outlook.md#create-the-connection) in this topic lists the steps.
49
-
50
-
> [!NOTE]
51
-
> In this example, the logic app runs when a calendar event is updated. To see the results of this trigger, add another action that sends you a text message. For example, add the Twilio *Send message* action that texts you when the calendar event is starting in 15 minutes.
52
-
>
53
-
>
54
-
3. Select the **Edit** button and set the **Frequency** and **Interval** values. For example, if you want the trigger to poll every 15 minutes, then set the **Frequency** to **Minute**, and set the **Interval** to **15**.
4.**Save** your changes (top left corner of the toolbar). Your logic app is saved and may be automatically enabled.
34
+
## Add a trigger
58
35
59
-
## Use an action
60
-
An action is an operation carried out by the workflow defined in a logic app. [Learn more about actions](../logic-apps/logic-apps-overview.md#logic-app-concepts).
36
+
A [trigger](../logic-apps/logic-apps-overview.md#logic-app-concepts) is an event that starts the workflow in your logic app. This example logic app uses a "polling" trigger that checks for any updated calendar event in your email account, based on the specified interval and frequency.
61
37
62
-
1. Select the plus sign. You see several choices: **Add an action**, **Add a condition**, or one of the **More** options.
4. In our example, choose **Office 365 Outlook - Create contact**. If a connection already exists, then choose the **Folder ID**, **Given Name**, and other properties:
1. In the [Azure portal](https://portal.azure.com), open your blank logic app in the Logic App Designer.
39
+
40
+
1. In the search box, enter "office 365" as your filter. For this example, select **When an upcoming event is starting soon**.
72
41
73
-
If you are prompted for the connection information, then enter the details to create the connection. [Create the connection](connectors-create-api-office365-outlook.md#create-the-connection) in this topic describes these properties.
42
+

43
+
44
+
1. If you're prompted to sign in, provide your Office 365 credentials so that your logic app can connect to your account. Otherwise, if your connection already exists, select the calendar that you want to use in your workflow:
45
+
46
+

47
+
48
+
1. In the trigger, set the **Frequency** and **Interval** values.
49
+
50
+
For example, if you want the trigger to poll every 15 minutes, set the **Frequency** to **Minute**, and set the **Interval** to **15**.
74
51
75
-
> [!NOTE]
76
-
> In this example, we create a new contact in Office 365 Outlook. You can use output from another trigger to create the contact. For example, add the SalesForce *When an object is created* trigger. Then add the Office 365 Outlook *Create contact* action that uses the SalesForce fields to create the new contact in Office 365.
77
-
>
78
-
>
79
-
5.**Save** your changes (top left corner of the toolbar). Your logic app is saved and may be automatically enabled.
52
+

53
+
54
+
1. On the designer toolbar, select **Save**, which saves your logic app.
55
+
56
+
To respond to the trigger, add another action. For example, you can add the Twilio **Send message** action, which sends a text when the calendar event starts in 15 minutes.
57
+
58
+
## Add an action
59
+
60
+
An [action](../logic-apps/logic-apps-overview.md#logic-app-concepts) is an operation that's run by the workflow in your logic app. This example logic app creates a new contact in Office 365 Outlook. You can use the output from another trigger to create the contact. For example, suppose your logic app uses the SalesForce **When an object is created** trigger. You can add the Office 365 Outlook **Create contact** action and use the outputs from the SalesForce trigger to create the new contact.
61
+
62
+
1. In the [Azure portal](https://portal.azure.com), open your logic app in the Logic App Designer.
63
+
64
+
1. To add an action as the last step in your workflow, select **New step**.
65
+
66
+
To add an action between steps, move your pointer over the arrow between those steps. Select the plus sign (**+**) that appears, and then select **Add an action**.
67
+
68
+
1. In the search box, enter “office 365” as your filter. For this example, select **Create contact**.
69
+
70
+

71
+
72
+
1. If you're prompted to sign in, provide your Office 365 credentials so that your logic app can connect to your account. Otherwise, if your connection already exists, provide the information for the action properties:
73
+
74
+

75
+
76
+
1. On the designer toolbar, select **Save**, which saves your logic app.
80
77
81
78
## Connector-specific details
82
79
83
-
View any triggersand actions defined in the swagger, and also see any limits in the [connector details](/connectors/office365connector/).
80
+
For technical details about triggers, actions, and limits as described in the connector's Swagger file, see the [connector's reference page](/connectors/office365connector/).
84
81
85
82
## Next steps
86
83
87
-
* Learn about other [Logic Apps connectors](../connectors/apis-list.md)
84
+
* Learn about other [Logic Apps connectors](../connectors/apis-list.md)
description: Manage email, calendars, and contacts with Outlook.com REST APIs and Azure Logic Apps
3
+
description: Automate tasks and workflows that manage email, calendars, and contacts in Outlook.com by using Azure Logic Apps
4
4
services: logic-apps
5
5
ms.suite: integration
6
6
ms.reviewer: klam, logicappspm
@@ -9,51 +9,66 @@ ms.date: 08/18/2016
9
9
tags: connectors
10
10
---
11
11
12
-
# Manage email, calendars, and contacts in Outlook.com with Azure Logic Apps
12
+
# Manage email, calendars, and contacts in Outlook.com by using Azure Logic Apps
13
13
14
-
This article shows how you can create and manage your
15
-
Outlook.com account inside a logic app with the Box connector.
16
-
That way, you can create logic apps that automate tasks
17
-
and workflows for your Outlook.com account, for example:
14
+
With [Azure Logic Apps](../logic-apps/logic-apps-overview.md) and the [Outlook.com connector](/connectors/outlook/), you can create automated tasks and workflows that manage your @outlook.com or @hotmail.com account by building logic apps. For example, you automate these tasks:
18
15
19
-
*Send email.
20
-
* Schedule meetings.
21
-
* Add contacts.
16
+
*Get, send, and reply to email.
17
+
* Schedule meetings on your calendar.
18
+
* Add and edit contacts.
22
19
23
-
If you're new to logic apps, review
24
-
[What is Azure Logic Apps](../logic-apps/logic-apps-overview.md).
20
+
You can use any trigger to start your workflow, for example, when a new email arrives, when a calendar item is updated, or when an event happens in a difference service. You can use actions that respond to the trigger event, for example, send an email or create a new calendar event.
21
+
22
+
> [!NOTE]
23
+
> To automate tasks for a Microsoft work account such as @fabrikam.onmicrosoft.com, use the
24
+
> [Office 365 Outlook connector](../connectors/connectors-create-api-office365-outlook.md).
25
25
26
26
## Prerequisites
27
27
28
28
* An [Outlook.com account](https://outlook.live.com/owa/)
29
29
30
-
* An Azure subscription. If you don't have an Azure subscription,
31
-
[sign up for a free Azure account](https://azure.microsoft.com/free/).
30
+
* An Azure subscription. If you don't have an Azure subscription, [sign up for a free Azure account](https://azure.microsoft.com/free/).
32
31
33
-
* The logic app where you want to access your Outlook.com account.
34
-
To start your logic app with an Outlook trigger, you need a
* The logic app where you want to access your Outlook.com account. To start your workflow with an Outlook.com trigger, you need to have a [blank logic app](../logic-apps/quickstart-create-first-logic-app-workflow.md). To add an Outlook.com action to your workflow, your logic app needs to already have a trigger.
36
33
37
-
* Basic knowledge about
38
-
[how to create logic apps](../logic-apps/quickstart-create-first-logic-app-workflow.md).
34
+
## Add a trigger
39
35
40
-
## Connect to Outlook.com
36
+
A [trigger](../logic-apps/logic-apps-overview.md#logic-app-concepts) is an event that starts the workflow in your logic app. This example logic app uses a "polling" trigger that checks for any new email in your email account, based on the specified interval and frequency.
41
37
42
-
[!INCLUDE [Create connection general intro](../../includes/connectors-create-connection-general-intro.md)]
38
+
1. In the [Azure portal](https://portal.azure.com), open your blank logic app in the Logic App Designer.
43
39
44
-
[!INCLUDE [Connect to Outlook.com](../../includes/connectors-create-api-outlook.md)]
40
+
1. In the search box, enter "outlook.com" as your filter. For this example, select **When a new email arrives**.
45
41
46
-
## Connector reference
42
+
1. If you're prompted to sign in, provide your Outlook.com credentials so that your logic app can connect to your account. Otherwise, if your connection already exists, provide the information for the trigger properties:
43
+
44
+
1. In the trigger, set the **Frequency** and **Interval** values.
45
+
46
+
For example, if you want the trigger to poll every 15 minutes, set the **Frequency** to **Minute**, and set the **Interval** to **15**.
47
+
48
+
1. On the designer toolbar, select **Save**, which saves your logic app.
49
+
50
+
To respond to the trigger, add another action. For example, you can add the Twilio **Send message** action, which sends a text when an email arrives.
51
+
52
+
## Add an action
47
53
48
-
For technical details, such as triggers, actions, and limits,
49
-
as described by the connector's Swagger file,
50
-
see the [connector's reference page](/connectors/outlook/).
54
+
An [action](../logic-apps/logic-apps-overview.md#logic-app-concepts) is an operation that's run by the workflow in your logic app. This example logic app sends an email from your Outlook.com account. You can use the output from another trigger to populate the action. For example, suppose your logic app uses the SalesForce **When an object is created** trigger. You can add the Outlook.com **Send an email** action and use the outputs from the SalesForce trigger in the email.
51
55
52
-
## Get support
56
+
1. In the [Azure portal](https://portal.azure.com), open your logic app in the Logic App Designer.
57
+
58
+
1. To add an action as the last step in your workflow, select **New step**.
59
+
60
+
To add an action between steps, move your pointer over the arrow between those steps. Select the plus sign (**+**) that appears, and then select **Add an action**.
61
+
62
+
1. In the search box, enter “outlook.com” as your filter. For this example, select **Send an email**.
63
+
64
+
1. If you're prompted to sign in, provide your Outlook.com credentials so that your logic app can connect to your account. Otherwise, if your connection already exists, provide the information for the action properties.
65
+
66
+
1. On the designer toolbar, select **Save**, which saves your logic app.
67
+
68
+
## Connector reference
53
69
54
-
* For questions, visit the [Azure Logic Apps forum](https://social.msdn.microsoft.com/Forums/en-US/home?forum=azurelogicapps).
55
-
* To submit or vote on feature ideas, visit the [Logic Apps user feedback site](https://aka.ms/logicapps-wish).
70
+
For technical details, such as triggers, actions, and limits, as described by the connector's Swagger file, see the [connector's reference page](/connectors/outlook/).
56
71
57
72
## Next steps
58
73
59
-
* Learn about other [Logic Apps connectors](../connectors/apis-list.md)
74
+
* Learn about other [Logic Apps connectors](../connectors/apis-list.md)
0 commit comments