Configure message content
- UpdatedJul 31, 2025
- 3 minutes to read
- Zurich
- Notifications
Create a message in the Message Contents [messaging_content] table that you can use in multiple notifications. Messages can be informative, or they can request action from an individual Slack or Teams user. For example, the Approval Request message includes Approve and Reject buttons to take the associated action in ServiceNow.
Before you begin
Role required: admin or messaging_admin
About this task
To enable users to take actions in Slack or Teams, use the Buttons message type and define scripted behavior. Only users that have linked their Slack or Teams account with their ServiceNow account can take action in ServiceNow from the third-party application.
Procedure
Example
This example shows the output of a message in Microsoft Teams. This message is
of the buttons type, which shows buttons and performs scripted actions based on the
user selection. In this case, the script uses the
sn_notification.Messaging.sendmethod to display the change in
state for the record.
What to do next
Use the message in a notification. For more information about creating notifications, see Create a messaging notification.