Auto-File Email Attachments to SharePoint and Notify the Team (Power Automate)
Power Automate can watch your Outlook inbox and, whenever an email with an attachment arrives, save the file straight to a SharePoint folder and ping your team in Teams. You pick a trigger and a couple of actions from a list, no code, and a small task that quietly burns an hour a week runs itself from then on.
Auto-File Email Attachments to SharePoint and Notify the Team (Power Automate)
Power Automate can watch your Outlook inbox and, whenever an email with an attachment arrives, save the file straight to a SharePoint folder and ping your team in Teams. You pick a trigger and a couple of actions from a list, no code, and a small task that quietly burns an hour a week runs itself from then on.
The task worth killing
Every attachment that needs filing is a tiny interruption: open the mail, download the file, hunt for the right folder, drag it in, maybe ping a colleague. None of it is hard, which is exactly why it's so easy to **skip when you're busy**, and then a signed contract sits in someone's inbox instead of the shared library. Automating it kills both the hour a week and the human "I forgot."
Trigger, save, notify
Almost every "file it and tell people" automation is the same three moves, and once you see them you can build a hundred variations. A **trigger** (a new email arrives), a **save** (drop the attachment into shared storage), and a **notify** (post a note to the team). That's the whole skeleton. Learn it once in [Power Automate](/tool/power-automate/) and you own the pattern for invoices, contracts, receipts, anything that lands as a file.
Why Power Automate fits
Power Automate is Microsoft's automation tool, and it shines when your world is already Microsoft. It reads your **Outlook** inbox, writes to **SharePoint**, and pings **Teams** using the same sign-ins your IT team already manages, all inside your company tenant with nothing to install. You build flows by picking a trigger and actions from a list and filling in fields, no scripting. For an Outlook-to-SharePoint job, it's the path of least resistance.
Set the trigger
In Power Automate, create an **Automated cloud flow** and choose the Outlook trigger **"When a new email arrives (V3)."** In its options, set **Has Attachment: Yes** and **Include Attachments: Yes**, so the flow wakes only for mail that carries a file and actually hands you that file. You can also filter by folder or sender here, so it fires on the right messages and stays quiet on the rest.
Save it to SharePoint
Add the SharePoint action **"Create file."** Point it at your site and document library, then fill two fields by clicking the **dynamic content** tokens from the trigger: - **File Name** → the `Attachments Name` token - **File Content** → the `Attachments Content` token The moment you use an attachment token, Power Automate automatically wraps this step in an **"Apply to each"** loop, so a five-attachment email files all five with zero extra wiring.
Tell the team
A filed document nobody knows about is only half useful. Add **"Post message in a chat or channel"** (Teams) and write a line, clicking tokens in for the details: ``` New file filed: [Attachments Name] from [From] saved to the Contracts library. ``` Now the team sees what landed without anyone refreshing a folder. This is the step that turns silent automation into something people actually feel: the file shows up and the channel says so.
Test before you trust
Don't flip it on and walk away on faith. Hit **Test** in Power Automate, then send yourself a real email with an attachment. Watch the file appear in the SharePoint library and the note hit your Teams channel. Once you've **seen it fire correctly** end to end, leave it on and forget it. That is the exact moment a recurring chore quietly becomes infrastructure.
Own it in n8n instead
If you're not all-Microsoft, or you want to hold the credentials and save files to Google Drive, S3, or a plain folder, build the same flow in [n8n](/tool/n8n/): an email trigger, a filter for attachments, a save-file node pointed at your storage, and a Slack or Teams notify node. n8n treats attachments as a list and loops automatically too. Same three-step shape; you just trade in-tenant convenience for control over where it all runs.
Build your first version now
Open [Power Automate](/tool/power-automate/), create an automated flow on the Outlook arrival trigger, and add one **Create file** step into a single SharePoint folder, skip the routing and extras for v1. Send yourself a test attachment and confirm it lands. Get that one path working and you have the skeleton for every routing rule, audit log, and approval step you'll want to add later.
Try this now
Your turn: open power-automate and set up the first step. Just do step one now — the rest takes minutes. Save this guide to pick up where you left off.
FAQ
Is this really no-code?
Yes. In Power Automate you pick a trigger and actions from a list and fill in fields, choose the inbox, point at the SharePoint folder, write the message. The only "code" is clicking a token like "Attachments Name" to drop it into a box. No scripting required to get the core flow running.
What if an email has several attachments?
The flow loops. Power Automate wraps the save step in an "Apply to each" over the attachments list automatically, so a three-attachment email files all three. You set the Create file step up once and the loop is handled for you.
Can it file attachments into different folders based on the sender?
Yes. Add a Condition that checks the sender or subject and route the file to the matching SharePoint folder, invoices from finance to one place, contracts from legal to another. Start with a single folder to prove the flow works, then add the routing once you trust it.
When would I use n8n instead?
When you are not all-Microsoft, or you want to own the workflow and credentials and save files anywhere, Drive, S3, a plain folder. Power Automate is the easy in-tenant path if your stack is Microsoft 365; n8n is the path when you want control over where things run and live. Same three-step shape either way.