In this blog, we will explore how we can dynamically retrieve the attachment files from notes and send that attachment via email. For achieving the above requirement we have created one Power Automated Flow as follows:
Step 1: Create one automated flow which is triggered on the Account entity record of Create, Update, and Delete operation.
Step 2: Add ‘List Row’ action to retrieve the current Account notes attachments dynamically as shown in the below screenshot.
Step 3: Declare array variable and store all notes attachment in array variable using ‘Apply to each’ action. In this, we have prepared each email attachment for sending email action.
Step 4: After building all email notes attachments in an array variable, add ‘Send email’ action and set attachment variable as an email attachment.
The email will be successfully sent along with attachments as shown in the screenshot below:
In this way, we can send attachments in bulk dynamically by using Power Automate.