Search Outlook Emails with Natural Language Queries using GPT-4o
This workflow allows you to search your Outlook mailbox with natural language. You type what you’re looking for (e.g., “invoice from last week”), and the workflow:
Uses OpenAI to generate a search query.
Searches Outlook emails and ranks them by relevance.
Outputs results in a simple table with score + link to each email.
👉 The number of results can be changed (default: 5).
⚙️ Setup Instructions
1️⃣ Set Up OpenAI Connection
Go to OpenAI Platform
Navigate to OpenAI Billing
Add funds to your billing account
Copy your API key into the OpenAI credentials in n8n
2️⃣ Set Up Outlook Connection
In n8n → Credentials → New → Microsoft Outlook OAuth2 API
Log in with your Outlook account & approve access
Attach this credential to the Search Outlook node in the workflow
(Optional) Change the limit parameter in the node if you want more/less than 5 results
📬 Contact Information Need help customizing this workflow or building similar automations?
📧 robert@ynteractive.com
🔗 Robert Breen
🌐 ynteractive.com
Related Templates
AI SEO Readability Audit: Check Website Friendliness for LLMs
Who is this for? This workflow is designed for SEO specialists, content creators, marketers, and website developers who ...
Task Deadline Reminders with Google Sheets, ChatGPT, and Gmail
Intro This template is for project managers, team leads, or anyone who wants to automatically remind teammates of tasks ...
🤖 Build Resilient AI Workflows with Automatic GPT and Gemini Failover Chain
This workflow contains community nodes that are only compatible with the self-hosted version of n8n. How it works This...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments