cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
MP001
Level: Powered On

Mail content dynamic variable from variable

I don't know if it is possible. Did some tests with no luck, but maybe someone has an idea 🙂

 

Is it possible to get variable defined in text from a field in SP to send in a mail?

 

for example:

I have a field "Title" and a field "MailData" in a sharepoint list.

The "Title" field containts : "bla bla"

The content of "MailData": "<p>Test: @{triggerBody()?['Title']}<p>" 

 

I have made a flow when an SP item is created it sends a email and I have only inserted the MailData field from the SP list as body.

then I want to be the result of the mail:

 

Test: bla bla

 

instead of 

 

Test: @{triggerBody()?['Title']}

 

5 REPLIES 5
Dual Super User
Dual Super User

Re: Mail content dynamic variable from variable

Hi @MP001 

 

Can you share a screenshot of the send email action of your flow. 

 

Please refer to the screenshot below: You can select the columns of the sharepoint list to be added to the email body from the dynamic selector.

vcbc.png

Hope this Helps!

 

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!

MP001
Level: Powered On

Re: Mail content dynamic variable from variable

That isn't what I mean.

this still isn't dynamic. As the mailbody is quite static.

 

Sample of a flow:

Capture2.PNG

 

In the list it contains the variable itself , so you can generate dynamic mail contents.

 

Capture3.PNG

Community Support Team
Community Support Team

Re: Mail content dynamic variable from variable

Hi @MP001 ,

 

What’s the column type of MailData01?

 

How do you input value for each field of MailData01 likes “Test: @{triggerBody()?['Title']}”?

 

If you want to get the Title, you just need to select the dynamic content then use in the body.

 

Best regards,

Mabel

 

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
MP001
Level: Powered On

Re: Mail content dynamic variable from variable

This is a plain text field. 

The MailData01 is just a sample, I want to make dynamic mailbody from SP.

With the variables of the list or other list, defined in Flow.

Community Support Team
Community Support Team

Re: Mail content dynamic variable from variable

Hi @MP001 ,

 

Thanks for updating.

 

However, I am afraid that your scenario would be impossible to be achieved.

 

What you want could be simply achieved by using two dynamic contents, Title and mailData01.

 

A screenshot for your reference:

1.PNG

 

Best regards,

Mabel

 

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

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 449 members 5,964 guests
Please welcome our newest community members: