- Print
To download the app, visit: Library
Integration with Microsoft Outlook using Microsoft's Graph API
Introduction
Microsoft Outlook API allows the users to send and retrieve Microsoft outlook emails with the right access set to their Microsoft accounts. The Goal of this connector is to integrate Tulip with Microsoft using Microsoft’s Graph API(v1.0) using HTTP Connectors & provide our customers with an out-of-box connector that can be imported into their instance.
Purpose
This documentation highlights different connector functions that can be built by doing HTTP calls to Microsoft’s Graph API(v1.0) to interact with the Microsoft Outlook to showcase various read and write actions on the outlook that could be leveraged for various use cases.
API Doc
Microsoft Graph API Documentation
Pre-Requisites
Create an account on Microsoft 365 & configure the OAuth 2.0 credentials in Microsoft Entra ID.
Register API with the required scopes in the Microsoft portal. Azure - Entra ID
Video of setting up the connector for excel:
You can follow the same steps to set up the outlook connector as well.
Tulip Connection Details
The following information would need to be configured on Tulip’s
Connectors.
- Running On: Cloud Connector Host
- Host: graph.microsoft.com
- Port:443
- TLS: Yes
OAuth 2(Admin/Operator): Authentication will be carried forward to all
the Connector Functions
Connector Functions
1) Get all Emails from Mailbox
Purpose
This connector will fetch all the emails from the mailbox.
Endpoint
HTTP GET call to the endpoint: https://graph.microsoft.com:443/v1.0/me/messages
Required Input
No Inputs required
Output Extractor
- mailID: Unique identifier of the Email which will be used to carry out the other tasks.
- mailCreatedDateTime: Email created date and time.
- mailSubject: Subject of an Email.
- mailBodyPreview: Content of an Email.
- mailSenderAddress: Email address of the sender.
- mailToRecipientAddress: Email address of the receiver.
2) Send an alert Email for Specific User
Purpose
This connector will send an email to a specific user/group user.
Endpoint
HTTP GET call to the endpoint: https://graph.microsoft.com:443/v1.0/me/sendMail
Required Input
The following are the request body parameters that are to be passed
- mailSubject- Email subject.
- mailContent- Email content.
- emailAddress- Receiver Email address.
3) Send an alert Email for Multiple Users
Purpose
This connector will send an email to Multiple users.
Endpoint
HTTP GET call to the endpoint: https://graph.microsoft.com:443/v1.0/me/sendMail
Required Input
The following are the URL parameters that are to be passed
- mailSubject- Email subject.
- mailContent- Email content.
- emailAddress1- Receiver Email address.
- emailAddress2- Receiver Email address.
- emailAddress3- Receiver Email address.
Further Reading
Check out more information regarding Microsoft Connectors