Scan Documents to SharePoint Online with Power Automate
Question details
Automatically save scanned document attachments to SharePoint Online using a monitored Microsoft 365 mailbox and Power Automate.
- Product
- SharePoint Online, Power Automate, and Microsoft 365 Outlook
- Device & OS
- not provided
- Scenario
- A scanner sends documents by email, and the user wants the attachments stored in a SharePoint document library.
- Observed behavior
- Scanned attachments should be saved automatically to the designated SharePoint folder when the scanner sends an email.
Confirm that the scanner supports Scan to Email and can send to a Microsoft 365 mailbox you can access. You also need Power Automate access and permission to create files in the destination SharePoint library.
Save scanned email attachments to a SharePoint library
Use this method when the scanner can email attachments but cannot send files directly to SharePoint Online.
In the scanner's Scan to Email settings, enter the monitored Microsoft 365 mailbox as the recipient. Send a test scan and confirm that the message arrives with the document attached.
Open the SharePoint site, select the destination document library, and use New > Folder to create a folder for the scans if needed.
In Power Automate, select Templates and search for "Save email attachments to a SharePoint document library." Open the template, connect Microsoft 365 Outlook and SharePoint, and select the monitored mailbox folder and destination site.
Add a Condition after the email trigger to check whether the sender address matches the scanner's configured address. Place the attachment-processing actions in the condition's Yes branch.
In the SharePoint Create file action, select the target library folder and map the attachment name and content to File Name and File Content. Save the flow, send another scan, and check the SharePoint folder and the flow's run history.

Work with Office documents in WPS Office
WPS Office is a free, lightweight alternative for opening and editing Office documents after you download them from SharePoint. Its familiar interface and format compatibility make it easy to move everyday document work from Microsoft Office. It does not replace the SharePoint or Power Automate scanning flow.

Frequently Asked Questions
Does the scanner need a direct SharePoint connection?
No. If it supports Scan to Email, send scans to a monitored Microsoft 365 mailbox and use Power Automate to save the attachments to SharePoint.
What if I cannot find the Power Automate template?
In Power Automate, select Create > Automated cloud flow. Add a Microsoft 365 Outlook email trigger, a condition for the scanner sender, and a SharePoint Create file action for each attachment.
How do I prevent unrelated email attachments from being saved?
Add a Condition after the email trigger that checks the sender address, and run the SharePoint file actions only in the Yes branch. A sender address alone is not proof that a message is authentic.
Where can I check why a scan did not appear in SharePoint?
In Power Automate, open the flow and review its run history for failed or skipped actions. Also check that the scan arrived as an attachment and that the flow's SharePoint connection can create files in the selected folder.




