Notifications in messaging applications

  • Release version: Washingtondc
  • Updated February 1, 2024
  • 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 guide explains how to enable ServiceNow platform notifications in Slack and Microsoft Teams, allowing users to receive and act on notifications directly within these messaging applications. Administrators must complete several setup steps to facilitate this integration using the Now Actions app.

    Show full answer Show less

    Admin Setup

    • Request Integration Hub: A Starter subscription to Integration Hub is required for Slack and Microsoft Teams spokes.
    • Request the Messaging Notification plugin: Activate the Messaging Notification plugin via the HI Customer Service system, which also activates related plugins.
    • Install the Now Actions messaging app: As an administrator, install the Now Actions app in ServiceNow to link it with your instance.
    • Configure message content: Create reusable messages in the Message Contents table that can be used in notifications, including actionable messages like Approval Requests.
    • Create a messaging notification: Define when and to whom messages are sent, ensuring notifications needing action are directed to individual users.

    User Setup

    • Link accounts: Users must link their ServiceNow account to their Slack or Teams account to take action on notifications. Without linking, notifications can still be received but actions cannot be performed.
    • Configure system settings: Each user can enable notifications in third-party applications through their system settings, opting in for actionable notifications.
    • Notification channels: Users can choose to receive notifications via various channels, including Slack and Teams if enabled.
    • Logging: Inbound and Outbound message logs are available for tracking actions and events between ServiceNow and the messaging applications.

    Next Steps

    To fully utilize this feature, ensure all administrators complete the necessary setup steps and users configure their accounts appropriately. This will enable seamless communication and improve operational efficiency by allowing users to manage ServiceNow requests directly within their preferred messaging platforms.

    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.