Back to Integrations
integrationGmail node
integrationMicrosoft Outlook node

Gmail and Microsoft Outlook integration

Save yourself the work of writing custom integrations for Gmail and Microsoft Outlook and use n8n instead. Build adaptable and scalable Communication, and HITL workflows that work with your technology stack. All within a building experience you will love.

How to connect Gmail and Microsoft Outlook

  • Step 1: Create a new workflow
  • Step 2: Add and configure nodes
  • Step 3: Connect
  • Step 4: Customize and extend your integration
  • Step 5: Test and activate your workflow

Step 1: Create a new workflow and add the first step

In n8n, click the "Add workflow" button in the Workflows tab to create a new workflow. Add the starting point – a trigger on when your workflow should run: an app event, a schedule, a webhook call, another workflow, an AI chat, or a manual trigger. Sometimes, the HTTP Request node might already serve as your starting point.

Gmail and Microsoft Outlook integration: Create a new workflow and add the first step

Step 2: Add and configure Gmail and Microsoft Outlook nodes

You can find Gmail and Microsoft Outlook in the nodes panel. Drag them onto your workflow canvas, selecting their actions. Click each node, choose a credential, and authenticate to grant n8n access. Configure Gmail and Microsoft Outlook nodes one by one: input data on the left, parameters in the middle, and output data on the right.

Gmail and Microsoft Outlook integration: Add and configure Gmail and Microsoft Outlook nodes

Step 3: Connect Gmail and Microsoft Outlook

A connection establishes a link between Gmail and Microsoft Outlook (or vice versa) to route data through the workflow. Data flows from the output of one node to the input of another. You can have single or multiple connections for each node.

Gmail and Microsoft Outlook integration: Connect Gmail and Microsoft Outlook

Step 4: Customize and extend your Gmail and Microsoft Outlook integration

Use n8n's core nodes such as If, Split Out, Merge, and others to transform and manipulate data. Write custom JavaScript or Python in the Code node and run it as a step in your workflow. Connect Gmail and Microsoft Outlook with any of n8n’s 1000+ integrations, and incorporate advanced AI logic into your workflows.

Gmail and Microsoft Outlook integration: Customize and extend your Gmail and Microsoft Outlook integration

Step 5: Test and activate your Gmail and Microsoft Outlook workflow

Save and run the workflow to see if everything works as expected. Based on your configuration, data should flow from Gmail to Microsoft Outlook or vice versa. Easily debug your workflow: you can check past executions to isolate and fix the mistake. Once you've tested everything, make sure to save your workflow and activate it.

Gmail and Microsoft Outlook integration: Test and activate your Gmail and Microsoft Outlook workflow

🚀 TikTok video automation tool ✨ – highly optimized with OpenAI & Replicate

🚀 TikTok Video Automation Tool ✨ (Frequent Updates)
Create viral TikTok videos effortlessly — no editing skills required!

Who is this for? 🎯
✅ Content Creators: Pump out engaging short videos in minutes.
✅ Marketing Agencies: Deliver high-quality client content — fast.
✅ Business Owners: Promote your brand with attention-grabbing TikToks.

What problem does this solve? 🛠️
Short-form video content is king, but creating it takes time, skill, and effort. This tool automates the entire process, from scriptwriting to video production, ensuring SEO-optimized, high-quality content without any manual editing.

How it works 🌟
1️⃣ Enter your video idea and choose where to receive the final video (TikTok upload or link via WhatsApp, Gmail, etc.).
2️⃣ AI crafts a high-engagement script with SEO optimization.
3️⃣ Voiceover is generated with ultra-realistic AI narration.
4️⃣ Relevant visuals are selected to perfectly match the script.
5️⃣ Your TikTok video is assembled and either directly uploaded to TikTok or delivered via a shareable link.

Quick & Easy Setup ⚙️ (5-10 min)
🔹 Connect required APIs (most have free plans).
🔹 Follow the step-by-step setup (video tutorial included).
🔹 Start generating professional TikTok videos instantly!

Required APIs 🔗
Content & Voiceover:** OpenAI (Paid), ElevenLabs (Free)
Media Processing:** Cloudinary (Free), Replicate (Paid)
Video Assembly:** 0codekit (Free), Creatomate (Free)

Optional Integrations 🔗
Messaging & Sharing:** WhatsApp, Telegram, Gmail, Outlook
Direct Upload:** TikTok

Customization 🎨
Adjust script styles & voiceover preferences.
Modify visuals to align with your brand.
Optimize video length and format.

🚀 Start automating your TikTok content today and grow your audience on autopilot!

Nodes used in this workflow

Popular Gmail and Microsoft Outlook workflows

🎓 How to Transform Unstructured Email Data into Structured Format with AI Agent

This workflow automates the process of extracting structured, usable information from unstructured email messages across multiple platforms. It connects directly to Gmail, Outlook, and IMAP accounts, retrieves incoming emails, and sends their content to an AI-powered parsing agent built on OpenAI GPT models. The AI agent analyzes each email, identifies relevant details, and returns a clean JSON structure containing key fields: From** – sender’s email address To** – recipient’s email address Subject** – email subject line Summary** – short AI-generated summary of the email body The extracted information is then automatically inserted into an n8n Data Table, creating a structured database of email metadata and summaries ready for indexing, reporting, or integration with other tools. Key Benefits ✅ Full Automation: Eliminates manual reading and data entry from incoming emails. ✅ Multi-Source Integration: Handles data from different email providers seamlessly. ✅ AI-Driven Accuracy: Uses advanced language models to interpret complex or unformatted content. ✅ Structured Storage: Creates a standardized, query-ready dataset from previously unstructured text. ✅ Time Efficiency: Processes emails in real time, improving productivity and response speed. ✅ Scalability:* Easily extendable to handle additional sources or extract more data fields. How it works This workflow automates the transformation of unstructured email data into a structured, queryable format. It operates through a series of connected steps: Email Triggering: The workflow is initiated by one of three different email triggers (Gmail, Microsoft Outlook, or a generic IMAP account), which constantly monitor for new incoming emails. AI-Powered Parsing & Structuring: When a new email is detected, its raw, unstructured content is passed to a central "Parsing Agent." This agent uses a specified OpenAI language model to intelligently analyze the email text. Data Extraction & Standardization: Following a predefined system prompt, the AI agent extracts key information from the email, such as the sender, recipient, subject, and a generated summary. It then forces the output into a strict JSON structure using a "Structured Output Parser" node, ensuring data consistency. Data Storage: Finally, the clean, structured data (the from, to, subject, and summarize fields) is inserted as a new row into a specified n8n Data Table, creating a searchable and reportable database of email information. Set up steps To implement this workflow, follow these configuration steps: Prepare the Data Table: Create a new Data Table within n8n. Define the columns with the following names and string type: From, To, Subject, and Summary. Configure Email Credentials: Set up the credential connections for the email services you wish to use (Gmail OAuth2, Microsoft Outlook OAuth2, and/or IMAP). Ensure the accounts have the necessary permissions to read emails. Configure AI Model Credentials: Set up the OpenAI API credential with a valid API key. The workflow is configured to use the model, but this can be changed in the respective nodes if needed. Connect the Nodes: The workflow canvas is already correctly wired. Visually confirm that the email triggers are connected to the "Parsing Agent," which is connected to the "Insert row" (Data Table) node. Also, ensure the "OpenAI Chat Model" and "Structured Output Parser" are connected to the "Parsing Agent" as its AI model and output parser, respectively. Activate the Workflow: Save the workflow and toggle the "Active" switch to ON. The triggers will begin polling for new emails according to their schedule (e.g., every minute), and the automation will start processing incoming messages. Need help customizing? Contact me for consulting and support or add me on Linkedin.
+3

Bilingual Newsletters with GPT-4o, AI Images & Videos for HubSpot & SP

Who’s it for Marketing, growth, and automation teams that need to ship polished bilingual newsletters—complete with images, optional video, and multi-channel distribution—without writing a line of code. How it works / What it does A Webhook receives a plain-language request (e.g. “Create a newsletter about XYZ and store it in SharePoint”). The Webhook can be changed to another trigger, fr example Manual Trigger. An AI Agent (OpenAI GPT-4o) drafts German & English newsletter copy following a strict JSON schema. SharePoint fetches an HTML template; a Code node injects AI copy into the placeholders. Optional creative assets: Pollinations AI → image (resolution check & frame overlay) FAL AI → short video + Lyria2 audio → merged via FFmpeg API A Gmail Approval step sends the draft to an approver; the flow continues only on “Approve”. Depending on user intent the workflow: Emails the newsletter to HubSpot contacts, and/or Saves HTML (+ JPG/Video URL) to a SharePoint library. How to set up Import the template Open the yellow sticky note and follow the checklist Create credentials for OpenAI, HubSpot (App Token), Microsoft 365, Gmail, and FAL AI. Enter them in n8n Credential Manager (never in the HTTP node). Edit the Configuration Settings Set node with your ENV_* variables. Activate the workflow, copy the production Webhook URL, and trigger it with JSON body { "text": "…" } or with a desired trigger. Requirements OpenAI account Microsoft 365 tenant (SharePoint & Outlook) HubSpot App Token FAL AI API Key (video & audio generation) How to customize Want a different language? Tweak the AI prompt inside AI Agent. Want a different storage provider? Change the SharePoint nodes to Google Drive or Dropbox. Skip video generation: set include_video to false in the incoming prompt. Change the distribution logic by adjusting the WF Result Switch node. Add more channels (e.g. Slack) by inserting additional branches after the Switch and modifying the intent determination at the beginning of the workflow.

🚀 TikTok Video Automation Tool ✨ – Highly Optimized with OpenAI & Replicate

🚀 TikTok Video Automation Tool ✨ (Frequent Updates) Create viral TikTok videos effortlessly — no editing skills required! Who is this for? 🎯 ✅ Content Creators: Pump out engaging short videos in minutes. ✅ Marketing Agencies: Deliver high-quality client content — fast. ✅ Business Owners: Promote your brand with attention-grabbing TikToks. What problem does this solve? 🛠️ Short-form video content is king, but creating it takes time, skill, and effort. This tool automates the entire process, from scriptwriting to video production, ensuring SEO-optimized, high-quality content without any manual editing. How it works 🌟 1️⃣ Enter your video idea and choose where to receive the final video (TikTok upload or link via WhatsApp, Gmail, etc.). 2️⃣ AI crafts a high-engagement script with SEO optimization. 3️⃣ Voiceover is generated with ultra-realistic AI narration. 4️⃣ Relevant visuals are selected to perfectly match the script. 5️⃣ Your TikTok video is assembled and either directly uploaded to TikTok or delivered via a shareable link. Quick & Easy Setup ⚙️ (5-10 min) 🔹 Connect required APIs (most have free plans). 🔹 Follow the step-by-step setup (video tutorial included). 🔹 Start generating professional TikTok videos instantly! Required APIs 🔗 Content & Voiceover:** OpenAI (Paid), ElevenLabs (Free) Media Processing:** Cloudinary (Free), Replicate (Paid) Video Assembly:** 0codekit (Free), Creatomate (Free) Optional Integrations 🔗 Messaging & Sharing:** WhatsApp, Telegram, Gmail, Outlook Direct Upload:** TikTok Customization 🎨 Adjust script styles & voiceover preferences. Modify visuals to align with your brand. Optimize video length and format. 🚀 Start automating your TikTok content today and grow your audience on autopilot!

Qualify Idealista leads via WhatsApp with Superchat and GPT-4o

Who's it for This template is built for real estate agencies and agents in Spain, Italy, and Portugal who receive property inquiries through Idealista and want to respond to leads faster using automation and AI. How it works The workflow monitors your inbox for new emails and filters for messages from Idealista. When a match is found, an AI agent extracts key lead details like name, phone number, and property reference from the unstructured email. A WhatsApp template message is then automatically sent to the lead via Superchat, initiating the qualification process within seconds of the inquiry. Set up steps Setup takes around 10–15 minutes. Connect your email account, link your WhatsApp Business through Superchat, and approve your WhatsApp template. Detailed step-by-step instructions are included in the sticky notes inside the workflow. Requirements An email account connected to n8n (Gmail, Outlook, or IMAP) A WhatsApp account connected to Superchat An approved WhatsApp template message An OpenAI API key or other LLM provider How to customize Create a WhatsApp template that matches your agency's tone and branding to personalize the lead's first impression.
+2

Email-to-Task Automation with Mistral AI (Gmail/Outlook to Google Tasks/Microsoft To Do)

Description Automate your personal productivity by transforming actionable emails from Gmail and Outlook into structured tasks within Google Tasks or Microsoft To Do, all managed by a multi-agent AI system. This advanced workflow utilizes a powerful Mistral Large AI Agent to orchestrate your daily task management. It operates by fetching recent emails, structuring the data, determining the correct task manager, and delegating the execution to specialized sub-agents. It's built with rate-limiting in mind, ensuring efficient and reliable operation across your connected services. ✨ Features Unified Email Input: Automatically fetches and merges emails from Gmail and Microsoft Outlook received within the last 24 hours. Centralized Data Storage: Stores and deduplicates raw email data in an n8n Data Table, converting HTML content to plain text for AI processing. Intelligent Task Extraction: A Main Task Orchestration Agent (powered by Mistral Large) reads the email data, identifies actionable tasks, and structures them with a Title, Due Date, Notes, and a Target System (Google Tasks or Microsoft To Do). Dedicated Task Execution: Leverages two specialized sub-agents (Google Tasks Agent and Microsoft To Do Agent) that handle the creation or updating of tasks, ensuring API integrity and focused execution. Scalable and Safe: Implements batch processing (max 5 tasks) and mandatory 5-second delays between sub-agent calls to prevent API rate limits and token overruns. Conversation History: Uses Memory Buffer Window nodes to maintain context within the AI agents. 🛠️ How to Set Up Credentials: Connect your credentials for Gmail, Microsoft Outlook, Google Tasks, Microsoft To Do, and the Mistral Cloud Chat Model. Data Table: Ensure the 'To Do Database' Data Table exists. Customize AI Agents: In the Tasks AI Agent (the main orchestrator), review the system prompt and verify the mandatory "Jordan Hoyle" filter. Change this to your name or the name of the person whose tasks are being managed. In the Google Tasks Agent and Microsoft To Do Agent nodes, ensure the Task List ID fields are correctly set to your desired task lists. Schedule: Set the workflow to run on a schedule (e.g., once daily) or run it manually. This workflow is the perfect solution for anyone overwhelmed by managing tasks scattered across their inbox and multiple to-do apps, bringing AI-driven order to your digital life!
+2

Process & Summarize PDFs from Email & Messaging Apps with OpenAI GPT

Process PDFs from Gmail, Outlook, Telegram and WhatsApp with OpenAI Transform PDF documents into actionable insights automatically across multiple platforms. This workflow monitors emails and messaging platforms for PDF attachments, extracts content, and delivers AI-powered summaries. Who's it for Business professionals, teams, and organizations needing automated PDF analysis from emails and messaging platforms. Perfect for processing contracts, reports, invoices, and documents requiring quick review. How it works Monitors Gmail and Outlook for PDF attachments while receiving PDFs via Telegram bot and WhatsApp Business API. Uses OpenAI to extract text and generate structured summaries with executive overviews, key points, important details, insights, and document type identification. Automatically routes summaries back to original senders. Requirements Gmail/Outlook OAuth2 credentials Telegram Bot API token via @BotFather WhatsApp Business API account OpenAI API key How to set up Configure API credentials in respective nodes, update configuration variables for phone numbers and notification settings, then test with sample PDFs. How to customize Modify AI models, customize prompts, adjust response formatting, extend file support, add notification channels, or integrate with external systems. Perfect for automating document workflows across communication channels.

Build your own Gmail and Microsoft Outlook integration

Create custom Gmail and Microsoft Outlook workflows by choosing triggers and actions. Nodes come with global operations and settings, as well as app-specific parameters that can be configured. You can also use the HTTP Request node to query data from any app or service with a REST API.

Gmail supported actions

Add Label
Delete
Get
Get Many
Mark as Read
Mark as Unread
Remove Label
Reply
Send
Send and Wait for Response
Create
Delete
Get
Get Many
Create
Delete
Get
Get Many
Add Label
Delete
Get
Get Many
Remove Label
Reply
Trash
Untrash

Microsoft Outlook supported actions

Create
Create a new calendar
Delete
Delete a calendar
Get
Retrieve a calendar
Get Many
List and search calendars
Update
Update a calendar
Create
Create a new contact
Delete
Delete a contact
Get
Retrieve a contact
Get Many
List and search contacts
Update
Update a contact
Create
Create a new email draft
Delete
Delete an email draft
Get
Retrieve an email draft
Send
Send an existing email draft
Update
Update an email draft
Create
Create a new event
Delete
Delete an event
Get
Retrieve an event
Get Many
List and search events
Update
Update an event
Create
Create a mail folder in the root folder of the user's mailbox
Delete
Delete a folder
Get
Retrieve a folder
Get Many
Get many folders
Update
Update a folder
Get Many
Retrieves the messages in a folder
Delete
Delete a message
Get
Retrieve a single message
Get Many
List and search messages
Move
Move a message to a folder
Reply
Create a reply to a message
Send
Send a message
Send and Wait for Response
Send a message and wait for response
Update
Update a message
Add
Add an attachment to a message
Download
Download an attachment from a message
Get
Retrieve information about an attachment of a message
Get Many
Retrieve information about the attachments of a message

FAQs

  • Can Gmail connect with Microsoft Outlook?

  • Can I use Gmail’s API with n8n?

  • Can I use Microsoft Outlook’s API with n8n?

  • Is n8n secure for integrating Gmail and Microsoft Outlook?

  • How to get started with Gmail and Microsoft Outlook integration in n8n.io?

Need help setting up your Gmail and Microsoft Outlook integration?

Discover our latest community's recommendations and join the discussions about Gmail and Microsoft Outlook integration.
jake chard
Jan Koch
Paul Kennard

Looking to integrate Gmail and Microsoft Outlook in your company?

Over 3000 companies switch to n8n every single week

Why use n8n to integrate Gmail with Microsoft Outlook

Build complex workflows, really fast

Build complex workflows, really fast

Handle branching, merging and iteration easily.
Pause your workflow to wait for external events.

Code when you need it, UI when you don't

Simple debugging

Your data is displayed alongside your settings, making edge cases easy to track down.

Use templates to get started fast

Use 1000+ workflow templates available from our core team and our community.

Reuse your work

Copy and paste, easily import and export workflows.

Implement complex processes faster with n8n

red iconyellow iconred iconyellow icon