How to Save Teams Chat Attachments Using Power Automate Flow
Question details
The user wants to automate saving files and pictures uploaded in Microsoft Teams chats into a single dedicated folder using a Power Automate flow.

- Product
- Microsoft Teams, Power Automate, OneDrive
- Device & OS
- not provided
- Scenario
- Consolidating attachments sent in one-on-one or group Teams chats into a centralized storage location.
- Observed behavior
- Files uploaded in chats are saved in the individual uploader's Microsoft Teams Chat Files folder in OneDrive, making it difficult to automatically collect them in one place compared to channel files stored in SharePoint.
Ensure you have access to Microsoft Power Automate with the necessary permissions to create flows for OneDrive and Microsoft Teams.
Create a Power Automate Flow for Individual Chat Files
Set up a flow triggered when a new file is added to your personal Microsoft Teams Chat Files folder in OneDrive.
This solution works well for copying attachments that you personally upload or receive in your own OneDrive. It moves them from the default folder to a designated shared location.
Go to Microsoft Power Automate, click on 'Create' in the left menu, and select 'Automated cloud flow'.
Search for and select the trigger 'When a file is created' for OneDrive for Business. Set the target folder to your 'Microsoft Teams Chat Files' directory.
Add a new step and search for the 'Create file' or 'Copy file' action for SharePoint or your centralized OneDrive folder.
Map the 'File Name' and 'File Content' dynamic content from the trigger to your destination action. Save and test the flow by sending an attachment in a Teams chat.

Design a Centralized Solution for All Users
Use Microsoft Graph API or child flows to monitor multiple users' folders across the organization.
Manage Your Exported Chat Documents Seamlessly with WPS Office
While Microsoft Teams and Power Automate handle complex workflows, WPS Office provides a free, lightweight, and highly compatible suite for opening, editing, and sharing your saved chat attachments without the heavy subscription fees.
- 1. Download and Install: Download WPS Office for free from the official website and run the installer.
- 2. Access Centralized Attachments: Open the centralized folder where your automated Teams chat attachments are saved.
- 3. Edit Seamlessly: Double-click any Word, Excel, or PowerPoint attachment to view and edit it instantly in WPS Office.

Frequently Asked Questions
Why aren't my Teams chat attachments saving to SharePoint automatically?
Unlike channel files which are stored in the team's SharePoint site, files shared in individual or group chats are saved to the sender's personal OneDrive for Business in a folder named 'Microsoft Teams Chat Files'.
Can a single Power Automate flow monitor all users' Teams chat files?
No, a standard Power Automate flow cannot monitor every user's individual OneDrive folder simultaneously. You would need to use Microsoft Graph API, premium connectors, or centrally deployed child flows to achieve this on an organizational level.
How do I save images from Teams chats to a dedicated folder?
You can create a Power Automate flow triggered by 'When a new chat message is added' in Teams, use 'Get message details' to identify image attachments, and then use the 'Create file' action to save them to your dedicated SharePoint or OneDrive folder.
Where can I find my Teams chat files in OneDrive?
Open your OneDrive for Business and look for a folder named 'Microsoft Teams Chat Files'. All files and images you upload in direct chats are automatically stored there.




