Connect the integration
Connecting your Outlook account to Relevance AI is a straightforward process:- Go to the “Integrations & API Keys” page in the sidebar of your Relevance AI dashboard.
- Click on “Outlook” from the available integrations.
- Click on the “Add Integration” button.
- In the pop-up window, sign into your Microsoft account.
- Grant the necessary permissions for Relevance AI to access your Outlook data.
- Once authenticated, your Outlook account will appear as a connected integration.
Tool steps for Outlook
The Outlook integration provides a comprehensive set of actions that your agents can use to interact with your emails, calendar, and contacts. These actions can be incorporated into your agent’s workflows as tool steps, enabling sophisticated communication automation capabilities.Email Management
Find Email
List Folders
List Labels
Add Label
Remove Label
Move Email to Folder
Send Email
Calendar Management
Check Availability
Create Event
Delete Event
List Events
Update Event
Get Free/Busy Schedule
Contact Management
Create Contact
Find Contact
List Contacts
Update Contact
Advanced Operations
Microsoft Outlook API Call
Use the integration’s API tool step (Advanced)
In addition to the pre-built actions available in the tool directory, you can build custom tools that perform Outlook-specific activities using the Microsoft Outlook API Call tool step. This gives you access to the full Microsoft Graph API for advanced email, calendar, and contact operations.How to use the Microsoft Outlook API Call tool step
Create a new tool
Add the Microsoft Outlook API Call tool step
- Scroll down to Tool-steps
- Search for “Microsoft Outlook API Call” in the tool step search bar
- Add the Microsoft Outlook API Call tool step to your workflow
Select your Outlook account
Configure the API endpoint
- Method: Select the HTTP method (GET, POST, PUT, DELETE, PATCH)
- Endpoint: Enter the API endpoint path (e.g.,
/me/messages,/me/calendar/events) - Body: Add any required request body data
- Headers: Add any custom headers if needed
Test your API call
Example: Creating a Calendar Event with Custom Properties
Here’s a practical example of using the Microsoft Outlook API Call tool step to create a calendar event with custom properties: API Endpoint:POST /me/calendar/events
Configuration:
- Uses the POST method to create a new event
- Specifies the event details including subject, body, and location
- Sets the start and end times with timezone information
- Adds attendees to the meeting
Common Microsoft Graph API Endpoints for Outlook
Here are some commonly used Microsoft Graph API endpoints you can use with the API Call tool step:Email Operations
Email Operations
- List messages:
GET /me/messages - Get message:
GET /me/messages/{id} - Send email:
POST /me/sendMail - Reply to email:
POST /me/messages/{id}/reply - Forward email:
POST /me/messages/{id}/forward - Delete email:
DELETE /me/messages/{id} - Mark as read:
PATCH /me/messages/{id}with{"isRead": true}
Calendar Operations
Calendar Operations
- List events:
GET /me/calendar/events - Get event:
GET /me/events/{id} - Create event:
POST /me/calendar/events - Update event:
PATCH /me/events/{id} - Delete event:
DELETE /me/events/{id} - Get schedule:
POST /me/calendar/getSchedule
Contact Operations
Contact Operations
- List contacts:
GET /me/contacts - Get contact:
GET /me/contacts/{id} - Create contact:
POST /me/contacts - Update contact:
PATCH /me/contacts/{id} - Delete contact:
DELETE /me/contacts/{id}
Folder Operations
Folder Operations
- List folders:
GET /me/mailFolders - Get folder:
GET /me/mailFolders/{id} - Create folder:
POST /me/mailFolders - Move message:
POST /me/messages/{id}/move - Copy message:
POST /me/messages/{id}/copy
Search & Filter
Search & Filter
- Search messages:
GET /me/messages?$search="subject:meeting" - Filter messages:
GET /me/messages?$filter=from/emailAddress/address eq 'user@example.com' - Order results:
GET /me/messages?$orderby=receivedDateTime desc - Select fields:
GET /me/messages?$select=subject,from,receivedDateTime
Set up Outlook as a trigger
You can configure your agents to automatically respond to incoming Outlook emails by setting up Outlook as a trigger.How to set up the Outlook trigger
Open agent settings
Add Outlook trigger
- Click on “Integrations & API Keys” in the sidebar
- Under “Triggers”, click on the Outlook button
- Select your connected Outlook account
Configure email filters (optional)
subject:ask us anything- Subject contains “ask us anything”body:book a demo- Body contains “book a demo”from:*apple.com- Only emails from apple.com domainhasAttachments:true- Only emails with attachmentsreceived:07/23/2018- Only emails received on this date
Create a response tool
Configure tool permissions
Write agent instructions
Example use cases
Here are some ways you can leverage the Outlook integration with your agents:Customer Support Email Agent
Customer Support Email Agent
Meeting Scheduler Assistant
Meeting Scheduler Assistant
Email Triage & Organization
Email Triage & Organization
Lead Qualification Agent
Lead Qualification Agent
Meeting Notes & Follow-up
Meeting Notes & Follow-up
Email Newsletter Manager
Email Newsletter Manager
Out-of-Office Assistant
Out-of-Office Assistant
Invoice & Receipt Processor
Invoice & Receipt Processor
Event Registration Manager
Event Registration Manager
Contact Sync & Management
Contact Sync & Management
Frequently asked questions (FAQs)
I converted my account input to an input variable but can't see my account. What should I do?
I converted my account input to an input variable but can't see my account. What should I do?
OnlineMeetingTranscript.Read.All and MailBoxSettings.Read).Solution: Update the permission type filter to select the Microsoft Teams option. This will allow you to see and select your Outlook account that now includes the expanded Microsoft Teams permissions.If you continue to experience issues, try reconnecting your Outlook account through the Integrations & API Keys page to ensure all the latest permissions are granted.What permissions does the Outlook integration require?
What permissions does the Outlook integration require?
How long does it take for the email trigger to start working?
How long does it take for the email trigger to start working?
Can I filter which emails trigger my agent?
Can I filter which emails trigger my agent?
- Filter by subject:
subject:customer inquiry - Filter by sender:
from:*company.com - Filter by attachments:
hasAttachments:true - Combine filters:
subject:urgent AND from:*vip.com
Can I use multiple Outlook accounts with my agents?
Can I use multiple Outlook accounts with my agents?
How do I prevent my agent from sending emails automatically?
How do I prevent my agent from sending emails automatically?
Can my agent access shared mailboxes or distribution lists?
Can my agent access shared mailboxes or distribution lists?
What's the difference between the pre-built Outlook tool steps and the API Call tool step?
What's the difference between the pre-built Outlook tool steps and the API Call tool step?
Are there rate limits for Outlook API calls?
Are there rate limits for Outlook API calls?
429 Too Many Requests status code when limits are exceeded.Can I access email attachments with the Outlook integration?
Can I access email attachments with the Outlook integration?
GET /me/messages/{id}/attachments to list attachments, and GET /me/messages/{id}/attachments/{attachmentId} to download specific attachments. The attachment content is returned as base64-encoded data.How do I remove the Outlook integration?
How do I remove the Outlook integration?
- Open your agent settings
- Navigate to “Integrations & API Keys”
- Click the three dots menu next to your connected Outlook trigger
- Click “Remove”
Can I use the Outlook integration with Office 365 or Microsoft 365?
Can I use the Outlook integration with Office 365 or Microsoft 365?

