You are here:
Merge Fields in Slack Notifications
To show record-specific information in your Slack notification, include merge fields in the notification content.
To show record-specific information in your Slack notification, include merge fields in the notification content.
| Available in: Lightning Experience |
| Available in: Essentials, Professional, Enterprise, Performance, Unlimited, and Developer Editions |
Merge fields automatically include values from a record in your notification. The syntax for a merge field is {!Record.Field}. The fields that you can reference depend on the object that you select for the notification.
For example, you want to include the stage name of an Opportunity record in the title of your Slack notification. First, make sure to select Opportunity as the object for this notification. Then, in the notification title, include the merge field {!Record.StageName}.
Merge fields are supported in the notification title, body text, and button labels. You can use merge fields to reference custom objects and custom fields.
This example notification alerts Slack users about a change in the stage of an Opportunity record.
Title: Stage update to {!Record.Name}
Body Text: The stage of {!Record.Name} is now {!Record.StageName}. The estimated amount of this opportunity is {!Record.Amount}.
Button Action: View Record
Button Label: View {!Record.Name}

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.