web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

How to create flow using email template

(0) ShareShare
ReportReport
Posted on by 45

Hello,

I am trying to create a flow that sends an email from email templates when a new contact is created.  I found a year old article addressing this and tried to adjust to current formatting but I'm running into issues. Is there a better, newer way of doing this? I've listed the referenced article below so you can see where I got my path from.

https://www.inogic.com/blog/2020/09/power-automate-send-an-email-using-the-email-template-part-1/

Below is what I have based on that article but again, I could be completely off.  I was just trying what I could.  Any help or insight is greatly appreciated.  Thanks!

Screenshot-_2800_4_2900_.png

Screenshot-_2800_6_2900_.png

  • Wahaj Rashid Profile Picture
    11,323 on at

    Hi,

    Thank you for your query.

    Can you please paste the JSON (as clear text) here so we can verify if it is in the right format?

  • lawilliams713 Profile Picture
    45 on at

    {

    “email_activity_parties”: [

    {

    “partyid_systemuser@odata.bind”: “/systemusers(@{triggerOutputs()?['body/_ownerid_value']})”,

    “participationtypemask”: 1

    },

    {

    “partyid_contact@odata.bind”: “/contacts(@{triggerOutputs()?['body/contactid']})”,

    “participationtypemask”: 2

    }

    ],

    “@@odata.type”: “Microsoft.Dynamics.CRM.email”

    }

  • Verified answer
    Wahaj Rashid Profile Picture
    11,323 on at

    Hi,

    It seems like when you copied the JSON from the blog post, it was the wrong quotes.

    Replace and with " (normal quotes).

    Try with following JSON:

    {
        "email_activity_parties": [
          {
            "partyid_systemuser@odata.bind""/systemusers(@{
              triggerOutputs()?[
                'body/_ownerid_value'
              ]
            })",
            "participationtypemask"1
          },
          {
            "partyid_contact@odata.bind""/contacts(@{
              triggerOutputs()?[
                'body/contactid'
              ]
            })",
            "participationtypemask"2
          }
        ],
        "@@odata.type""Microsoft.Dynamics.CRM.email"
      }

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
ParthPatel249 Profile Picture

ParthPatel249 64

#2
11manish Profile Picture

11manish 48 Super User 2026 Season 2

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 44 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans