Dynamic URL in the Power Automate email body

Power Automate Send an Email connector is quick and effective way to send email if it is not meant to be tracked inside Dynamics CRM. This gives more flexibility in terms dynamic content that we need to embed inside the email body. The connector also have flexibility to set HTML content via the steps in Power Automate Flow.

The HTML content works perfectly fine, but sometimes if there is a link using <A> tag, it get broken after every deployment. Once it is broken, instead of the link it spills out the whole URL in the sent email body.

Use this below trick to fix this problem by compose the whole HTML tag outside and use the output in the email body. This way the HTML won’t break every time you deploy any changes.

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s