Have you heard the news? Microsoft has rebranded their powerful automation tool from Flow to Power Automate. What better way to celebrate than with a new blog post?
In this blog post, we will explore how to send ClickDimensions emails via Power Automate. Because ClickDimensions is native to Dynamics: Customer Engagement, we can utilize the Common Data Service actions and triggers to send ClickDimensions emails.
To start, ensure your automation is built within a solution. Some triggers and actions are only available within solutions – in our case, we will be using the Relate Records action.
We will need to determine what triggers the sending of the email. In future blog posts, we will explore this in more detail. Once you have determined how you want to trigger the sending of the email, create that email send record:
We start by filling out some of the required fields on the record:
In this section, it’s important to make the Editor Type Value the same as the email template that you intend on using for these sends.
Finally, we will need to include the GUID of the template we want to send:
Our next step is to create the relationship between the contact and the email send. To do this, we will use the Relate Records CDS action. Note: The Relate Records action is only available for automations built within a solution.
Once the record is created, we are going to associate the contact (or marketing list/lead/account) to the record. This uses the web API. If you would like the technical explanation for this, you can find it here. If you need detailed information on how this action works, read this blog post.
The names of these relationships come directly from the entity relationships on the email send:
So now, once the email send is created, the Relate Record step will connect our contact to our email. Our final step is to now send the email. To do this, we will update the email send record:
Our main goal here is to set the record to Scheduled and Inactive:
Once that’s done, you’re all set! The ClickDimensions execute send will kick in and send your email.