Back to Integrations
integrationGmail node
integrationMicrosoft Teams node

Gmail and Microsoft Teams integration

Save yourself the work of writing custom integrations for Gmail and Microsoft Teams 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 Teams

  • 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 Teams integration: Create a new workflow and add the first step

Step 2: Add and configure Gmail and Microsoft Teams nodes

You can find Gmail and Microsoft Teams 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 Teams nodes one by one: input data on the left, parameters in the middle, and output data on the right.

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

Step 3: Connect Gmail and Microsoft Teams

A connection establishes a link between Gmail and Microsoft Teams (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 Teams integration: Connect Gmail and Microsoft Teams

Step 4: Customize and extend your Gmail and Microsoft Teams 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 Teams with any of n8n’s 1000+ integrations, and incorporate advanced AI logic into your workflows.

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

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

Save and run the workflow to see if everything works as expected. Based on your configuration, data should flow from Gmail to Microsoft Teams 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 Teams integration: Test and activate your Gmail and Microsoft Teams workflow

Translate RSS news and publish to WordPress, Facebook, LinkedIn and Telegram

Who it's for
This n8n workflow is designed for content curators, digital marketers, and social media managers who want to automate the process of discovering, translating, and publishing news content from multiple reputable sources. It provides a complete end-to-end system capable of reading RSS feeds, extracting articles and images, translating them into a specific language, and automatically publishing the final content to WordPress, Facebook, LinkedIn, and Telegram.

Features
Reads news from multiple RSS sources (TechCrunch, The - Verge, Analytics India Mag, Wired, The Next Web)
Publishes content to WordPress, Facebook, LinkedIn Profile, LinkedIn Page, and Telegram
Supports multiple languages with automatic translation (Bengali configured)
Extracts article images, resizes them, adds watermarks, and uploads to WordPress
Automatically creates WordPress posts and sets featured images
Sends notification updates through Discord, Telegram, WhatsApp, and Gmail
Runs automatically every hour
Processes multiple articles from different feeds at once

Requirements
Google Translate API credentials for translation
WordPress API access for content and media management
Social media API credentials (Facebook, Telegram, LinkedIn)
Notification service credentials (Discord, WhatsApp, Gmail)
Access to the specified RSS feeds

Important Notes
Workflow runs on an hourly schedule to fetch the latest news
Extracts featured images from articles and processes them for publication
Content is automatically translated to Bengali (language code: "bn")
Images are resized and watermarked before social media posting
WordPress posts are created with translated content and featured images
Notifications are sent after processing all items from the RSS feeds
The workflow includes wait periods to prevent API rate limiting

Support & Help
WhatsApp**: Chat on WhatsApp
Discord**: SpaGreen Community
Facebook Group**: SpaGreen Support
Website**: https://spagreen.net
Developer Portfolio**: Codecanyon SpaGreen

Nodes used in this workflow

Popular Gmail and Microsoft Teams workflows

+7

Repurpose long-form content into Instagram and LinkedIn posts with OpenAI and Teams

Who is this for Content creators, solopreneurs, and marketing teams who produce long-form content (podcasts, newsletters, interviews, scripts) and want to automatically turn it into multiple social media assets -- Instagram carousels, LinkedIn carousels, LinkedIn text posts, and LinkedIn media posts -- with human-in-the-loop approval via Microsoft Teams. What this workflow does This workflow takes a long-form content file sent via email, extracts strategic content pillars using AI, then fans out into four parallel branches -- each producing a different social media format. Every draft is reviewed and approved in Microsoft Teams before images are generated, assets are saved to Google Drive, and posts are published via Blotato. How it works Email trigger -- A Gmail Trigger watches for emails with a specific subject line (e.g. "Content Repurposing"). The email contains a text attachment (podcast transcript, newsletter, etc.) and optionally a link to the original content. File extraction & storage -- The attachment is extracted, saved as a Google Doc in a timestamped project subfolder on Google Drive, and the source URL is parsed from the email body. AI content strategist -- The Repurpose Strategist agent (OpenAI) analyzes the full text and extracts 5 strategic content pillars, each with a hook headline, core insight, virality factor, and relevant quote. Results are logged in Google Sheets. Four parallel content branches -- The 5 pillars feed into four specialized AI agents that each produce a different format: Instagram/YouTube carousel -- 5 punchy one-liners (max 25 words each) + a social media caption LinkedIn carousel -- 5 slide texts with hooks + a companion caption, plus a styled PDF carousel via HTML-to-PDF LinkedIn text post -- A single strong LinkedIn post (max 100 words) LinkedIn media post -- A post with a guiding statement rendered as an image Human review loop -- Each branch sends its draft to Microsoft Teams for approval via a custom form (approve/reject with feedback). If rejected, feedback is routed back to the AI agent for targeted revisions. Asset generation & storage -- On approval, carousel images are generated via APITemplate.io, all assets (images, post texts, PDFs) are saved to organized Google Drive subfolders, and results are logged back to Google Sheets. Publishing -- Approved posts are published to Instagram and LinkedIn via Blotato, with status monitoring and Teams notifications on success or failure. Setup steps Gmail -- Create OAuth2 credentials. The trigger watches for emails with "Content Repurposing" in the subject. You can customize this filter. Google Drive & Docs -- Create OAuth2 credentials. Set the target folder ID in the Google Drive Trigger node where project subfolders will be created. Google Sheets -- Create a spreadsheet to serve as the content tracker. It will store pillars, carousel texts, post texts, and metadata. Update the Sheet ID in all Google Sheets nodes. OpenAI -- Add your API key. Used by 5 AI agents (strategist + 4 content specialists). Microsoft Teams -- Create OAuth2 credentials. Set the Teams chat ID in the 4 review nodes to route drafts to your approval channel. APITemplate.io -- Create an account and design carousel slide templates. Set the template ID in the image generation nodes. Blotato -- Connect your Instagram and LinkedIn accounts. Add the Blotato API credential and update account IDs in the publishing nodes. HTML-to-PDF -- Install the community node n8n-nodes-htmlcsstopdf (self-hosted only). Customize the carousel slide HTML/CSS template with your branding (logo, colors, profile photo). Requirements Community nodes:** @blotato/n8n-nodes-blotato n8n-nodes-htmlcsstopdf Self-hosted n8n only** (due to community nodes) Gmail OAuth2 credentials Google Drive, Docs & Sheets OAuth2 credentials OpenAI API key Microsoft Teams OAuth2 credentials APITemplate.io account and template Blotato account with connected Instagram and LinkedIn profiles How to customize AI prompts** -- Each of the 5 AI agents has a detailed system prompt you can adjust for tone, word count, language, or output structure. Carousel design** -- Edit the HTML/CSS in the "HTML to PDF" node to match your brand (colors, fonts, logo, profile photo). Update the APITemplate.io template IDs for Instagram-style slides. Platforms** -- Add or remove publishing branches. Currently supports Instagram (via Blotato) and LinkedIn (text post, carousel, media post). Review channel** -- Change the Teams chat ID to route to different teams or channels. Trigger** -- Swap Gmail for another trigger (e.g. Google Drive, webhook, or manual) depending on your content intake workflow. Feedback loop** -- Each branch supports unlimited revision cycles. The AI applies feedback minimally without rewriting from scratch.

Scan Gmail links with VirusTotal and send alerts to WhatsApp, Teams, and Sheets

Who it's for This n8n workflow is designed for IT security professionals, email administrators, and organizations that want to automatically scan URLs received in emails for potential security threats. It provides a complete end-to-end system capable of automatically detecting malicious URLs using VirusTotal API, analyzing the results, and sending notifications when suspicious links are found. Features Automatically monitors Gmail for new emails on a continuous basis (every minute) Extracts all URLs from email content while filtering out Google links Scans each URL using VirusTotal's comprehensive security database Categorizes URLs based on threat level (malicious, suspicious, harmless, undetected) Sends immediate alerts through multiple channels (WhatsApp via Rapiwa, Microsoft Teams) Updates Google Sheets with scan results for historical tracking and analysis Processes URLs in batches to optimize performance Filters out common Google links to reduce false positives Requirements Gmail account with OAuth2 credentials VirusTotal API key Google Sheets API access with OAuth2 credentials Rapiwa API credentials for WhatsApp notifications Microsoft Teams credentials for team notifications A Google Sheet configured to store scan results Important Notes Workflow runs continuously, checking for new emails every minute Only non-Google URLs are scanned to focus on potentially suspicious links Results are categorized based on VirusTotal's analysis: malicious, suspicious, harmless, undetected, timeout, failure, or type_unsupported Alert messages include the URL and all relevant security statistics from VirusTotal All scan results are stored in a Google Sheet for future reference and analysis The workflow processes URLs in batches to optimize performance and avoid API limits Immediate notifications are sent when potentially malicious URLs are detected Support & Help WhatsApp**: Chat on WhatsApp Discord**: SpaGreen Community Facebook Group**: SpaGreen Support Website**: https://spagreen.net Developer Portfolio**: Codecanyon SpaGreen

Schedule client meetings via web forms with Google Calendar, Zoom

Who it's for This n8n workflow is designed for businesses, consultants, and service providers who want to automate their meeting scheduling process. The workflow creates a seamless booking system that can handle meeting requests, check availability, create calendar events, set up video conferences, and send notifications through multiple channels. Features Integrates with web forms to receive booking requests Checks Google Calendar availability automatically Creates calendar events with booking details Sets up Zoom meetings instantly Sends notifications via email, WhatsApp, Discord, and Teams Notifies politely if requested slots aren’t available Supports Your time zone conversions Requirements Google Calendar API Credentials**: For checking availability and creating events Zoom API Credentials**: For generating meeting links and video conferences Gmail OAuth2 Credentials**: For sending email confirmations Notification Service Credentials**: Discord Bot API, Microsoft Teams API, Rapiwa API (for WhatsApp) Important Notes Time Zone Configuration**: The workflow is set to Asia/Dhaka time zone but can be customized Meeting Settings**: Default meeting duration (40 minutes) and password can be adjusted Notification Templates**: All notification messages can be customized to match your brand voice Calendar Selection**: Ensure the correct Google Calendar ID is configured for your booking system Support & Help WhatsApp**: Chat on WhatsApp Discord**: SpaGreen Community Facebook Group**: SpaGreen Support Website**: https://spagreen.net Developer Portfolio**: Codecanyon SpaGreen
+6

Automatically Share Shopify New Products Across All Social Media Platforms

Who it's for This n8n workflow is designed for Shopify store owners, e-commerce managers, and digital marketers who want to automate their product promotion across multiple platforms. The workflow automatically creates promotional content for new products and distributes them across various social media and content management platforms. Key Features Automatically detects new Shopify products AI converts product descriptions into clear bullet points Optimizes images for each platform Publishes formatted posts to WordPress Shares content across multiple social platforms Sends notifications after successful posts Requirements Shopify Access Token**: For detecting new products in your store OpenAI API Credentials**: For enhancing product descriptions WordPress API Credentials**: For creating posts and uploading media Social Media Platform Credentials**: Facebook Graph API Telegram Bot API LinkedIn OAuth2 API Discord Bot API Notification Service Credentials**: Gmail OAuth2 Rapiwa API (for WhatsApp) Workflow Steps Shopify Trigger: Detects when a new product is created in your Shopify store Image Processing: Extracts and processes product images from the Shopify data Content Enhancement: Uses OpenAI to convert HTML product descriptions into concise, customer-friendly bullet points WordPress Integration: Creates a blog post on your WordPress site with the product information Multi-Platform Sharing: Automatically shares the product on: Facebook page, Telegram channel, LinkedIn profile and page, Discord channel, Instagram Notification System: Sends completion notifications through multiple channels (Telegram, Gmail, Discord, WhatsApp) Support & Help WhatsApp**: Chat on WhatsApp Discord**: SpaGreen Community Facebook Group**: SpaGreen Support Website**: https://spagreen.net Developer Portfolio**: Codecanyon SpaGreen
+6

Translate RSS news and publish to WordPress, Facebook, LinkedIn and Telegram

Who it's for This n8n workflow is designed for content curators, digital marketers, and social media managers who want to automate the process of discovering, translating, and publishing news content from multiple reputable sources. It provides a complete end-to-end system capable of reading RSS feeds, extracting articles and images, translating them into a specific language, and automatically publishing the final content to WordPress, Facebook, LinkedIn, and Telegram. Features Reads news from multiple RSS sources (TechCrunch, The - Verge, Analytics India Mag, Wired, The Next Web) Publishes content to WordPress, Facebook, LinkedIn Profile, LinkedIn Page, and Telegram Supports multiple languages with automatic translation (Bengali configured) Extracts article images, resizes them, adds watermarks, and uploads to WordPress Automatically creates WordPress posts and sets featured images Sends notification updates through Discord, Telegram, WhatsApp, and Gmail Runs automatically every hour Processes multiple articles from different feeds at once Requirements Google Translate API credentials for translation WordPress API access for content and media management Social media API credentials (Facebook, Telegram, LinkedIn) Notification service credentials (Discord, WhatsApp, Gmail) Access to the specified RSS feeds Important Notes Workflow runs on an hourly schedule to fetch the latest news Extracts featured images from articles and processes them for publication Content is automatically translated to Bengali (language code: "bn") Images are resized and watermarked before social media posting WordPress posts are created with translated content and featured images Notifications are sent after processing all items from the RSS feeds The workflow includes wait periods to prevent API rate limiting Support & Help WhatsApp**: Chat on WhatsApp Discord**: SpaGreen Community Facebook Group**: SpaGreen Support Website**: https://spagreen.net Developer Portfolio**: Codecanyon SpaGreen
+4

Aggregate & Update Documentation from Slack, Teams & GitHub with Claude Sonnet 4.5

How It Works Aggregates communication data from Slack, Microsoft Teams, Gmail, GitHub, and Confluence into a single, unified AI-powered analysis workflow designed for quality review and automated documentation updates. This solution is specifically aimed at teams managing distributed content and knowledge workflows across multiple platforms. It addresses the challenges of fragmented communication and isolated information silos that often prevent rapid content review and timely decision-making. The workflow begins with a scheduled trigger, followed by multi-source data collection, merging and normalizing inputs, Claude AI-powered analysis, validation and quality checks, formatting, and finally publishing updates to Notion and Confluence, accompanied by Slack notifications to ensure stakeholders are promptly informed. Setup Steps -Connect credentials: Slack API, Teams, Gmail OAuth, GitHub PAT. -Confluence API, Anthropic API key, Notion Integration. -Configure monitored channels/repositories. -Set schedule frequency. -Map output destinations (Notion/Confluence). -Test merged output before enabling automation. Prerequisites Slack workspace, Teams account, Gmail access, GitHub repository, Confluence space, Anthropic API key, Notion workspace, n8n instance. Use Cases Content review teams processing feedback, documentation teams aggregating updates, QA teams reviewing communications Customization Add/remove source nodes, adjust Claude prompts for analysis type, modify output destinations Benefits Saves 6+ hours weekly, eliminates missed content, AI-driven quality assurance

Build your own Gmail and Microsoft Teams integration

Create custom Gmail and Microsoft Teams 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 Teams supported actions

Create
Create a channel
Delete
Delete a channel
Get
Get a channel
Get Many
Get many channels
Update
Update a channel
Create
Create a message in a channel
Get Many
Get many messages from a channel
Create
Create a message in a chat
Get
Get a message from a chat
Get Many
Get many messages from a chat
Send and Wait for Response
Send a message and wait for response
Create
Create a task
Delete
Delete a task
Get
Get a task
Get Many
Get many tasks
Update
Update a task

FAQs

  • Can Gmail connect with Microsoft Teams?

  • Can I use Gmail’s API with n8n?

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

  • Is n8n secure for integrating Gmail and Microsoft Teams?

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

Need help setting up your Gmail and Microsoft Teams integration?

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

Looking to integrate Gmail and Microsoft Teams in your company?

Over 3000 companies switch to n8n every single week

Why use n8n to integrate Gmail with Microsoft Teams

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