Microsoft Outlook Mail – Connection

Estimated reading time: 4 min
outlook mail banner Microsoft Outlook Mail - Connection

Microsoft Outlook is an email and calendar service from Microsoft 365. It provides business and personal users with email management, scheduling, contact organization, and task tracking.

Through the Microsoft Graph API, Wiresk connects directly to Outlook mailboxes so you can automate email-based workflows.

With this connection, you can watch for new messages, search or retrieve mail, manage attachments, and take actions such as send, reply, forward, move, or delete messages.

There are two ways to connect your app to Wiresk:

  • In “My apps” section, where you can manage your connections (select or create your group first to get access to this section, refer to the Group system ).
  • While building your Flow, you can easily establish a connection to your app directly within the Flow builder. This can be done during the setup of either a Trigger or a Method.

In this guide, we will explain how to create a connection in “My apps” section, it is essentially the same as when creating it on-the-go.

Prerequisite:
You must create a connection to your Microsoft account beforehand.
Connect to your Microsoft Azure Portal to gather information needed to create a connection.
  • On the MS Azure Portal, select Microsoft Entra ID.
Screenshot of Microsoft Azure welcome page. Red arrow shows to click on Microsoft Entra ID.

On the Overview page, The Tenant ID is displayed.

Remember the Tenant ID for future reference.
Screenshot Entra ID overview page. Red arrows point to Tenant ID and Add application registration.
  • On the bottom page of the overview page, select Add application registration.
Screenshot of registration application page, arrows shows how to fill it, add name, enter the redirect URI.
  • Give a name to the App.
  • For the support account types, select “Accounts in any organizational directory (Any Microsoft Entra ID tenant – Multitenant)”.
  • Enter the Redirect URI: Web | https://api.wiresk.com/api/auth/callback
  • Then, click on Register button.

On your Wiresk app overview screen, your App ID and tenant ID are displayed.

Screenshot of application overview, arrows shows the application ID and the link to get the app secret.
Remember the App ID for future reference.

From the step before, click on the link next to “client credentials” or on the left side bar menu “Certificates & Secrets”

Screenshot of certificates & secrets pages. Red arrows shows to click on new client secret, then enter descriptions, expires, and click on Add button.
  1. Select New client secret.
  2. Write the client’s description or name.
  3. Select the client secret expiration period. It is strongly advised to set the maximum period which is 2 years. This will prevent you from having to renew it too quickly.
  4. Click on Add button.
Screenshot of Microsoft client secret of Wiresk test client.
it shows the description, expires, value and secret ID fields.
The “Value” field, represents your App secret, for security reason, it will only be shown once.
Remember the App secret for future reference.
  1. Select API permissions.
  2. Click on add a permission.
  3. Select the Microsoft app that you want to set permissions, in our case choose Microsoft Graph.
Screenshot of Azure App registrations showing API permissions. The left menu highlights "API permissions," and the right panel displays "Request API permissions" with Microsoft Graph selected under commonly used Microsoft APIs.
  1. Select Delegated permissions, you must be assigned a role (Member, Contributor, Admin).
  2. Set the needed permissions, refer to the permissions list below.
  3. Click on Add permissions.
Screenshot of Azure App registrations showing API permissions. The panel selects Microsoft Graph → Delegated permissions, with Mail.Read highlighted, and the "Add permissions" button at the bottom.
Repeat the same process to add permissions for other Microsoft apps.

Now that you have in hand the Tenant ID, the App ID, and the App Secret, lets create a Microsoft connection.

  • On your Wiresk’s Dashboard, select your Group.
  • On the left panel, go to “My apps” and select Screenshot 2025 04 08 at 9.58.41 in the morning Microsoft Outlook Mail - Connection
  • Search the app name in the search field or select it in the apps list.
Animated image GIF, showing the step of how to create an app connection. First, select the group then select the + create button.
Microsoft Outlook support only OAuth Connection with selected scopes.
Screenshot of Wiresk Microsoft connection settings. Fields include Name, Tenant ID, App ID, and App Secret under the OAuth Connect tab, with the example name "Outlook chan."
  1. Give a Name to your connection.
  2. Select the OAuth connect tab
  3. Enter your Tenant ID (Mandatory for work or school account) that you saved from How to Get the Tenant ID
  4. Enter your App ID from Get the App ID
  5. Enter your App Secret “value” from How to Get the App Secret
  6. Select Microsoft application for the authorization:
    • Select a single Microsoft app for specific functionality, in our case, Microsoft Graph.
    • Grant access to all Microsoft apps for this connection, allowing broader use of your account (you must set up permissions for each app in your Microsoft Azure Portal).
  7. Click on Authorize button
Screenshot of Wiresk authorization screen showing application options. Microsoft Graph is selected with permissions like Mail Read/Write Access and Sending Email. A purple "Authorize" button is visible at the bottom right.
You can optionally upload a certificate instead of using only a client secret. Certificates provide stronger security for authentication and are recommended for enterprise setups.

You will be redirected to Microsoft “Pick an account” page.

  • Select your connected account or choose another one.
Screenshot of Microsoft pick an account. shows account that was previously connected or use another account button.
  • Then you will be asked to give permissions to Wiresk, click on Accept button and you will be redirected to Wiresk connection panel settings
  • Save the connection.
Screenshot of Microsoft permissions consent screen. The unverified app "Wiresk-test-chan" requests access to read profile, read/write mail, send mail, access calendars, and maintain data access, with Cancel and Accept buttons at the bottom.

Voila! Your Microsoft Outlook Mail connections are ready. You can now use it to build your Flows.

Now that Microsoft Outlook is linked to Wiresk, you’re ready to start building Flows.

Simple steps to create a Flow ↓
  • Select your Group, then on the Flow management screen click on “Create Flow”.
Animated image GIF, shows where to click to create a Flow in Wiresk. first select a group then click on create Flow.

Select the Trigger

Flows can be executed by multiple Triggers, depending on the desired workflow. For example, you could use scheduled Triggers with different recurrence rules alongside a Webhook Trigger for immediate, event-driven runs of the Flow. If you choose to “Run Once“, the Flow will execute using only one Trigger and its sample data.
  • On the new screen, name the Flow that you want to create.
  • Add your Triggers by clicking on the Wiresk 2025 05 02 at 15.00.40 Microsoft Outlook Mail - Connection next to “All Triggers”.
  • On the Trigger selection screen, search your app or select it from the list below the screen.
Screenshot of Wiresk Trigger setting screen. Red arrows shows that you can wether search your app in the search or or select it in the list below.

As mentioned in “How to connect your app to Wiresk” above, during your Trigger settings, you can create a new connection to your apps at this stage.

Add a Method to your Flow

The Method will perform a specific task on a particular app or service you’ve connected to Wiresk like get info or send emails.

You can add at least 1 or multiple Methods for complex Flows (a maximum of 255 Methods).
  • On the Flow builder screen, click on the plus button (+) next to the Trigger icon.
Screenshot of Wiresk Flow Builder, showing Trigger icon and an arrow pointing to a plus button. This button is use to add Methods in Wiresk.
Screenshot of Wiresk flow builder.  This screen shows the Methods selection panel. Search the app or select it in the list below the search.

Add Wiresk Tools to your Flow

If you want to build a complex Flow, Wiresk offers a selection of tools at your disposal. Refer to Wiresk’s Tools

To add Tools in your Flow, Follow the same step as adding the Methods.

  • On the Flow builder screen, click on the plus button (+) then just click on the “Tool” tab and select the Tool that you want to add.

You can refer to “How to Create a Flow” tutorial for more detailed instructions, including step-by-step guidance on mapping and configuration.

Configure Microsoft Outlook Triggers and Methods by Exploring the settings.