Auto-File Email Attachments to SharePoint and Notify the Team (Power Automate)
By Automate Basics
Loading guide…
By Automate Basics
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.
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."
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 and you own the pattern for invoices, contracts, receipts, anything that lands as a file.
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.
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.
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:
Attachments Name tokenAttachments Content tokenThe 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.
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.
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.
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: 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.
Open 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.
Create the SharePoint folder structure first and file one attachment into it by hand, so you know exactly what the flow should do. Then build the flow to copy what you just did.
That’s the whole lesson. Try it on a real task while it is fresh, then come back for the next one.
If your company runs Microsoft 365, build it in Power Automate: an Outlook trigger, an "apply to each attachment" loop, a Create file step into SharePoint, and a Teams message. It lives inside your tenant, needs nothing installed, and uses sign-ins IT already manages. If you are not all-Microsoft, or you want to own the workflow and point it at Drive, S3, or Slack, the same trigger-save-notify pattern builds in n8n.
The same corner of the library, one job further on.