web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Dynamic Content source...
Power Automate
Answered

Dynamic Content source keeps changing

(0) ShareShare
ReportReport
Posted on by 4
I'm trying to capture attachments to emails sent to an email address and save them to a folder based on a reference in the subject line.
 
To do so, I'm looking to see if the string starting with "CO-" in the subject line corresponds to a document set in the target directory "CO-#####".
 
I then try to save the file in that directory in an "apply to each" attachment, but the dynamic content references in the "create file" keep changing. I have a dynamic content reference to the SharePoint Document Set title on the "Folder Path", and dynamic content for the Outlook 365 attachment for the saved file. But when I save or test the flow, the dynamic content for the Folder Path reverts to the "Title" referencing the Outlook 365 email. 
 
This is my flow:
 
 
Here is how I set out the Create file:
The test is successful:
 
But after the test, the Folder Path dynamic content has switched to referencing the Outlook content, not the SharePoint content:
 
Categories:
I have the same question (0)
  • Verified answer
    CFernandes Profile Picture
    8,402 Most Valuable Professional on at
    Hey Mate, This seems to be a problem with Dynamic variable in combination with the new designer...
     
    Please add a Compose, create the string with Dynamic variable and then use the variable in the folder path action. 
     
     
     
    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
     
    P.S. take a look at my blog here and like & subscribe to my YouTube Channel thanks.

     
  • PS-11102146-0 Profile Picture
    4 on at
    @CFernandes, that's perfect. Many thanks.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard