How to Use Slack Markdown in Auto-Launched Flows.
Slack formatting can be used when composing message text inside a Salesforce Flow’s Text Template, provided the output is sent to Slack via native Slack integration using Sales Cloud for Slack / Service Cloud for Slack / Salesforce for Slack.
Use only Plain Text Mode in the Text Template.
Do not use Rich Text Mode, as it will encode characters like *, _, and ~, breaking Slack formatting.
Open your Flow in Salesforce and set the criteria as to when the flow needs to send the message to slack.
Add a Text Template element.
In the Text Template settings:
Set Body to the desired Slack message using correct Slack markdown (see table above).
Choose Plain Text format (important).
Save the template.
Use this Text Template in Send Slack Message Action
Test the message in a Slack channel to verify formatting (You can use debug in the flow to verify this configuration you will get the message in Slack, you don't need to activate the flow).
| Format | Syntax Example | Output |
|---|---|---|
| Bold | *example* | example |
| Italic | _example_ | example |
| Bold + Italic | *_example_* or _*example*_ | example |
~example~ | ||
Inline Code | `example` | example |
| Code Block |
|
|
| Block Quote | > example |
example |
| Ordered List |
|
1. First item 2. Second item |
| Bulleted List |
|
• Item one • Item two |
| Hyperlink | <http://example.com|Click here to Open> | Click here to Open |
Always preview complex messages before posting.
Avoid using markdown syntax from other platforms (e.g., GitHub, Discord) as Slack’s parser differs.
Use code blocks (```) for snippets or technical content to preserve spacing and formatting.
Use inline code (`code`) for short identifiers, variable names, or commands.
004980317

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.