Skip to content

Send Email with unresolved emails from Power Automate(To field of email is not record in Dataverse)

In this blog, we will look at how we can create email activity records and send them using Power Automate.

Steps to be followed:

  1. Select your action which you are using to create an email and click on Switch to input the entire array
  1. Enter the below object.
    • participationtypemask for To will be 2
    • addressused : Enter the email address of recipient
  {
    "participationtypemask": 2,
    "addressused": "admin@thv30.onmicrosoft.com"
  }

Entire Array of object will look like below:

[
  {
    "participationtypemask": 1,
    "partyid@odata.bind": "systemusers(@{triggerOutputs()?['body/_ownerid_value']})"
  },
  {
    "participationtypemask": 2,
    "addressused": "admin@thv30.onmicrosoft.com"
  }
]

Entire flow:

Testing:

Creating Email with multiple unresolved emails (more than one recipient).

Array of object will look like below for multiple recipients

[
  {
    "participationtypemask": 1,
    "partyid@odata.bind": "systemusers(4266e63f-8fd8-ec11-a7b6-000d3a3b6e36)"
  },
  {
    "participationtypemask": 2,
    "addressused": "admin@thv30.onmicrosoft.com"
  },
  {
    "participationtypemask": 2,
    "addressused": "vaishalivyas37@gmail.com"
  }
]

NOTE: For CC participationtypemask value will be 3 and for BCC participationtypemask value will be 4.

Hope this helps!!

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments