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']}
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.
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!
That isn't what I mean.
this still isn't dynamic. As the mailbody is quite static.
Sample of a flow:
In the list it contains the variable itself , so you can generate dynamic mail contents.
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
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.
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:
Best regards,
Mabel
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!
User | Count |
---|---|
41 | |
40 | |
37 | |
34 | |
30 |
User | Count |
---|---|
52 | |
38 | |
36 | |
32 | |
24 |