The text editor is ideal for simple text messages with variable content. You can add variables in Handlebars syntax as {{...}}. If the output has special html text, enclose variable in triple curly braces as {{{url}}} to avoid HTML escaping.
Copy
Ask AI
New Signup request in ABC companyUserName: {{user_name}}Email: {{user_email}}Organization: {{org.name}}Domain: {{org.domain}}
The JSONNET editor enables rich template design using Slack Block Kit Builder. This allows you to create interactive templates with buttons, images, checkboxes, and styled text.
It is essentially JSON template where variables can be added in JSONNET syntax as data.variable_name or data["$variable_name"].
Once your template is ready, click Publish Draft and provide a version name to publish it. The published template becomes the live version and will be used whenever the associated workflow is triggered.
Use this option to send a test message in Slack and preview how it will appear in user’s device.
Click the Test button, then enter the user’s distinct_id and select the Slack channel where the test message should be sent.
Template testing only uses the published Live version, so make sure to publish your changes before testing.
You can clone template across workspaces by using Clone -> Outside Template option. Clone -> Within template can be used to clone within different languages and versions of the same template.
Best Practice: Always design templates in your staging workspace first, then promote them to production. This ensures thorough testing of the changes without impacting end users.