Notifications in messaging applications

  • Release version: Yokohama
  • Updated January 30, 2025
  • 3 minutes to read
  • Summarize
    Summarized using AI
    This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.

    Summary of Notifications in messaging applications

    This feature enables ServiceNow customers to receive platform notifications directly within Slack or Microsoft Teams messaging applications. By integrating with these third-party apps using the Now Actions app, users can receive alerts, take actions such as approvals, and stay connected to ServiceNow workflows without leaving their messaging environment.

    Show full answer Show less

    Admin setup

    • Integration Hub subscription: A Starter subscription to Integration Hub is required to enable Slack or Microsoft Teams spokes.
    • Messaging Notification plugin: Administrators must request activation of the Messaging Notification plugin (com.glide.notification.messaging) via the HI Customer Service system to enable this functionality.
    • Now Actions app installation: The Now Actions messaging app must be installed and associated with your ServiceNow instance as well as the Slack workspace or Teams environment. Ownership and admin access considerations for Slack workspaces should be managed carefully.
    • Message content configuration: Create reusable messages in the Message Contents table. These messages can be informational or interactive, such as Approval Requests with action buttons.
    • Messaging notification creation: Define notifications specifying triggers, recipients, and message content. Notifications needing user action must target individual users rather than groups.

    User setup

    • Account linking: Users must link their ServiceNow account with their Slack or Microsoft Teams account to perform actions like approving requests directly from the messaging app. Without linking, users still receive notifications but cannot take action.
    • System settings configuration: Users can opt in to receive notifications and approval requests through their preferred messaging channel by configuring notification channels in their system settings.

    Notification channels and actions

    ServiceNow manages notification delivery through channels such as email, SMS, and now Slack or Teams when enabled. The Message Actions table handles synchronization events between ServiceNow and messaging apps. Developers extending these integrations should register new actions appropriately and avoid deleting base system actions.

    Logging and troubleshooting

    Inbound and outbound message logs provide detailed information on communication events between ServiceNow and Slack or Teams, helping administrators troubleshoot and verify notification flows.

    Additional capabilities

    • Administrators can configure notifications for custom Slack bots to send ServiceNow messages via their own Slack apps.
    • Users can unlink accounts to stop receiving actionable notifications in messaging apps.

    Enable users to receive their ServiceNow platform notifications in Slack or Microsoft Teams messaging applications. Use the Now Actions app to configure the messaging apps for your instance.

    Admin setup

    To enable ServiceNow notifications within Slack or Microsoft Teams, you must be an administrator for both ServiceNow and the third-party application.

    1. Request Integration Hub

    The Slack and Microsoft Teams spokes require a Starter subscription to Integration Hub. To activate Integration Hub and view available subscription types, see Request an Integration Hub plugin.

    2. Request the Messaging Notification plugin

    To activate this feature, request the Messaging Notification plugin (com.glide.notification.messaging) through the HI Customer Service system. This plugin activates related plugins if they are not already active.

    3. Install the Now Actions messaging app for Slack or Microsoft Teams

    As an administrator for both ServiceNow and the third-party application, find and install the Now Actions app. Install the application in ServiceNow to associate the app with your instance.

    Note:
    The primary owner of a Slack workspace or organization owns and manages the application. To avoid losing admin access to the workspace or organization, transfer primary ownership before any administration changes occur. If you transfer primary ownership, update the JSON payload for the Slack installation in the Notification Integration page. For more information about editing the Slack installation, see Install the Now Actions messaging app.

    If the Now Actions app is uninstalled, the workspace or team displays as inactive in the Notification Integration page. To view the Notification Integration page, navigate to System Notification > Messaging > Messaging Integration Configuration.

    4. Configure message content

    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. Only users that have linked their Slack or Teams account with their ServiceNow account can take action in ServiceNow from the third-party application.

    5. Create a messaging notification

    Notifications define when a message is sent, who it is sent to, and what it contains. To send a notification to Slack or Teams, add a messaging content record to the notification and configure the notification messaging channel. Notifications that require action must be sent to individual users instead of groups.

    Note:
    Message Channel Sync Job can sync more than 1000 channels using pagination.

    User setup

    To enable individual ServiceNow notifications in Slack or Microsoft Teams, and to take action on notifications, configure your system settings and link your user accounts.

    Link your ServiceNow user account to your Slack or Microsoft Teams account

    Link your ServiceNow account to your Slack or Teams account to take action on ServiceNow notifications from within Slack or Teams. If you do not link accounts, you can still receive notifications within group channels. However, you cannot to approve ServiceNow requests or take action on notifications from within Slack or Teams.

    Configure system settings

    Each user can enable ServiceNow notifications in a third-party application by configuring the communication channel in their system settings. Opt in to receive approval requests and other actionable notifications in third-party channels.

    Notification channels

    In ServiceNow, a notification channel is a method or device for receiving notifications. For example, in the base system you can elect to receive notifications through email or SMS channels. If messaging applications are enabled on your instance, you can enable notifications to Slack and Teams using Notification Channels in your system settings.

    Actions and events

    The Message Actions [messaging_observer_handler] table processes communication channel events, such as adding or deleting a Slack channel, to keep the instance and the third-party application in sync. Only developers creating Slack or Teams applications should add actions to this table. Register new actions with the instance through the Message Event Registry [messaging_observable] table. To remove a base system action, clear the active flag instead of deleting the record.

    Logging

    The Inbound and Outbound message logs contain information on actions, events, and activities between ServiceNow and the third-party application. Use the logs to identify the content, state, and origin of communications to and from your instance.