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

Notifications

Announcements

No record found.

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

I have the same question (0)
  • Wahaj Rashid Profile Picture
    11,321 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,321 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
#ManoVerse Profile Picture

#ManoVerse 93

#1
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 62 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans