See llms.txt for all machine-readable content.

Microsoft Outlook and Microsoft SQL integration

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

How to connect Microsoft Outlook and Microsoft SQL

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.

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

Update project controlling Excel from Promato hours with Outlook and OneDrive

Quick overview This workflow monitors an Outlook inbox for project controlling Excel templates, pulls booked hours for the reporting month from a Promato SQL Server database, updates the template in OneDrive with actual person-days and cumulative values, and replies by email with the updated file and a deviation summary. How it works Triggers every minute when an unread Outlook email arrives with an .xlsx attachment and derives the project key from the filename plus the reporting month from the subject (YYYY-MM) or the last completed month. Looks up matching Promato projects in Microsoft SQL Server, resolves the project selection (single project or combined set), and queries booked time entries for the reporting month. Aggregates Promato booked hours into person-days (hours/8) per person and month and stops with an error reply if no bookings are found. Uploads the Excel template to OneDrive and reads it via Microsoft Graph to detect the controlling sheet and its layout from labels (months, Plan/Ist rows, and optional totals sections). Matches Promato people to template rows, calculates plan-vs-actual deviations with a traffic-light status, and writes the actual values back into the correct cells while keeping existing formulas. If a "Kumulgrundlage" worksheet exists, updates or appends the cumulative month column in a single Microsoft Graph workbook session. Downloads the updated workbook, emails it back to the original sender with a formatted summary (including unmatched people and per-project actuals), marks the source email as read, and deletes the temporary OneDrive copy. Setup Create Microsoft Outlook OAuth2 credentials with permission to read messages, download attachments, send replies, and mark messages as read. Create Microsoft OneDrive (Microsoft Graph) OAuth2 credentials with permission to upload, edit, download, and delete files in the target drive. Create Microsoft SQL Server credentials with read-only access to the Promato database and update the SQL queries to match your Promato schema, views, and column names. Ensure your Excel template follows the expected layout (month headers in German, Plan/Ist rows per person, a "Summe" section, and optionally a "Kumulgrundlage" sheet) and send it as an attachment named like Projektcontrolling_.xlsx. Configure the mailbox to monitor and adjust the polling interval if needed before activating the workflow.

Popular ways to use the Microsoft Outlook and Microsoft SQL integration

Build your own Microsoft Outlook and Microsoft SQL integration

Create custom Microsoft Outlook and Microsoft SQL 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.

Microsoft Outlook supported actions

Microsoft SQL supported actions

Execute Query

Execute an SQL query

Insert

Insert rows in database

Update

Update rows in database

Delete

Delete rows in database

Microsoft Outlook and Microsoft SQL integration details

Microsoft Outlook

Microsoft Outlook

Microsoft Outlook is a professional email service offered by Microsoft. It serves as an information manager, calendar, task manager, note-taker, and much more. It is widely used by individuals and businesses across the world.

Microsoft SQL

Microsoft SQL

SQL Server is database management system developed by Microsoft. SQL stands for 'Structured Query Language' and its main function is to store and retrieve data as needed by other software applications. It remains one of the most used databases in the world.

Save engineering resources

Reduce time spent on customer integrations, engineer faster POCs, keep your customer-specific functionality separate from product all without having to code.

Learn more

FAQ about Microsoft Outlook integrations

Need help setting up your Microsoft Outlook and Microsoft SQL integration?

Discover our latest community's recommendations and join the discussions about Microsoft Outlook and Microsoft SQL integration.

  • Cathryn17

    Syntax error when inserting multiple rows using Microsoft SQL node with Azure Dedicated SQL pool

    Cathryn17

    Describe the problem/error/question When inserting multiple rows (items) into an Azure Dedicated SQL pool (on a regular Azure SQL Server), we receive a syntax error from the DB (“Parse error at line: 1, column: 73: Incor…

    Open topic

Looking to integrate Slack and VirusTotal in your company?

Three colleagues talking around laptops at a shared desk

Trusted by teams building smarter workflows.

Why

Why use n8n to integrate Microsoft Outlook with Microsoft SQL

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

Re-run single steps to test changes in no time. And pin your data to avoid generating trigger events every time you execute.

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

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

Copy and paste, easily import and export workflows.

Simple enough to 
understand + sophisticated 
enough to ship

Man in a brown jacket working at his desk by a window