cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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 Smiley Happy

 

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
Super User
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
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

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

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 Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 134 members 4,499 guests
Please welcome our newest community members: