Showing results for 
Search instead for 
Did you mean: 
New Member

unable to access dynamic content inside the apply to each loop

Hi all,

i am building a flow that create a document from template, convert the document in PDF and send that PDf to a user by email.


but i am unable to complete my flow.

i have added the required action in my flow to create the document from template and to upload it to onedrive for business and convert it.


however when i add a new action after the "Onedrive create file " action i am unable to access to dynamics content


if i add action after the applyto each loop i can access to dynamic content, the dynamic content are unavailable only inside the apply to each loop and only after the "ondrive create file " action.

Annotation 2018-12-17 160850.jpg

any idea?

Community Support
Community Support

Hi @p_sen,


Could you provide a full screenshot of the Flow configuration?

Where does the file content configured in the Create file action need to be obtained from?

If you want to email a file to another user, you need to attach it as an attachment, so you should fill Dynamic content in Attachments field.

Please try configuring Attachments field to check if Dynamic content is still available.

In addition, if you want to send all the files as multiple attachments of an email, you could refer to this method:

Let files stored in an array variable and then sent as an attachment within an email.

Image reference:


Please check this blog and see if it helps:       


Best Regards,


Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Solution Authors
Users online (1,290)