Save Valid Files: If the condition is true, use the Save Email Attachments activity to save the file to a folder.
Log Saved Files: Use the Log Message activity to log the saved file’s path.
Notify for Invalid Attachments: Use the Send Outlook Mail Message activity to reply to the sender if the file type is invalid (e.g., not .xlsx or .csv).
Get Emails
For Each Email
3. For Each Attachment
4. If attachment is .xlsx or .csv
- Save Attachment
- Log Message
5. Else
- Send Reply to Sender
This will save the correct files and notify senders about invalid attachments.