In creating my messaging application that sent data from Dynamics365 to SLACK, I wanted to get a little fancier and not only send static content but actually embed the link to the actual record with some content to provide context to the user.
I also wanted to do a bit of formatting (bolding and links) which is relatively easy but does not follow HTML notation. The formatting reference for SLACK is located here.
For my scenario (displaying messages for Leads), I wanted to bold the entity (because this will be used by other ones at some point) and open directly to the record when clicked.
The url format to accomplish this is as follows;
A new *Lead* has been created – <{0}/main.aspx?etc=4&id={1}&pagetype=entityrecord|{2}>
Where the first parameter is my Dynamics tenant, the “etc” value is