Showing results for 
Search instead for 
Did you mean: 
Level: Power Up

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 Team
Community Support Team

Re: unable to access dynamic content inside the apply to each loop

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


Better Together Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.


Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!


New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!


Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (9,099)