Hi, I am fairly new to flow and was wondering if someone could help.
I am trying to create an email notification for Planner Task on Condition based (Start and Due dates). I've values (Service Owner, Services, Due Date) in Append to array variable that will be used in Email body. But I can't able to get these value from array. How to link between Apply to each and Send an Email (V2).
If you are wanting to send 1 email for every part in the array, just move the send email into the apply to each, where you have the append to array variable. And then use those values in the body of the email. Then you will send an email every time your condition matches in the apply to each.
try this:
1. Use Compose action and inject your array as input
2. Using expression, Change Compose output into string, string(outputs(‘Compose’))
3. Using expression, separate( delimit) your Compose output from step 2 by comma, split(output(‘Compose_2’), ‘,’)
4. Then pass the output of step 3 to your Append to array variable action.
5. finally pass the output of step 4 to your send an email action
—————-/////
If I have answered your question, please mark your post as Solved.
Thanks Mira for prompt reply.
Create HTML Table merge all values of array variable and repeat these in send emails. But I need separate values from array variable to that should me include in Email body.
I really appreciate your kind support.
Thanks
Outside your apply to each loop . Add a new step Create HTML Table and pass the output from the array to it and then use the output from the Create HTML Table in your email.
WarrenBelz
146,660
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,004
Most Valuable Professional