Automated slack message not picking up code block formatting


I’ve create an automation which let’s zendesk using send a standardised slack message to other teams. This pulls data from the zendesk ticket and sends them in slack formatting. I’ve been able to embed links and make mentions. However, I am not able to get the code block formatting to work after trying a few different things. I want to use to highlight the priority of the message. Has anyone had luck with this before. Including relevant screenshots.

Screenshot 2022-09-13 at 17.59.48

Real Quick code blocks escape all formatting, so if you want priority to be in italics
you would need to move the asterisks outside of the backticks. (if slack supports that)

`*priority*` *`priority`*

Also having no space between the : and the starting backtick before “priority” can sometimes cause problems with some markdown editors.

Code blocks in slack are notorious. Make sure you test first in slacks block kit first before inserting into make always.