Hi All,
I have a flow created from automatic record creation in dynamics. The flow is triggered when an email arrives I need to get email recipients(To, Cc, Bcc) and send an auto reply to them dynamically.
Please any ideas?
Thanks.
Solved! Go to Solution.
Hi @NuXavier ,
The To, CC, BCC values will be in Activity Party entity.
So, get a record by ID would be required after triggering the power automate. Please refer to the following similar thread to call the Activity Party from Appointment. The method would be similar with getting from Email message.
After that check whether the return body contains To, CC, BCC. Possibly, the fields don't show if the calling email item doesn't contain CC and BCC values.
Hope this helps.
Hi,
1) Use List records to get all activity parties for your activity.
2) Use filter array to filter the participation type(CC, BCC)
3) Use output of filter array for sending new email.
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
The trigger will contain all that information as dynamic content.
Thanks @Pstork1
It contains some information but I cannot find the Cc, Bcc fields in the dynamic content.
This is the first step of the flow. I want to get the email recipients from the email input and send a response to the same recipients.
Hi @NuXavier ,
The To, CC, BCC values will be in Activity Party entity.
So, get a record by ID would be required after triggering the power automate. Please refer to the following similar thread to call the Activity Party from Appointment. The method would be similar with getting from Email message.
After that check whether the return body contains To, CC, BCC. Possibly, the fields don't show if the calling email item doesn't contain CC and BCC values.
Hope this helps.
Hi,
1) Use List records to get all activity parties for your activity.
2) Use filter array to filter the participation type(CC, BCC)
3) Use output of filter array for sending new email.
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks Rilsina,
Please how do I extract the Cc, Bcc, To and assign them to variable for the email I'm sending out?
Also, I did not find the _participationmasktype as an option.
Hi,
Can you try after removing column filter from Trigger, maybe column filter is just giving you limited output.
From trigger you should get activity party as Output, which you will use further in List records.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Did you know that you could restore a deleted flow? Check out this helpful article.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
User | Count |
---|---|
33 | |
32 | |
26 | |
25 | |
21 |
User | Count |
---|---|
65 | |
56 | |
44 | |
35 | |
30 |