Skip to content

Messaging Service Notifications

The Messaging Service Notifications - for Slack & MS Teams - deliver deliver information based on the Daily Summary Mail.

In addition, notifications can be sent for changes in alert level.

Message content

Messages are sent on a per-vessel basis. There are two message types:

  • Interval-based: Messages for target vessels are sent at the specified time interval
  • Condition-based: Current alert levels are compared to the previous alert level, and if a change has occurred, a message is sent
Message Content
Title 【Client】【Group】- WNIAlert (Message type)
Timestamp Reported Date(UTC) view map (A link to the map)
Vessel Info IMO / Vessel name (A link to the map)
Position: latest AIS position
Route Info PassagePlan
Sent: PassagePlan delivery timestamp

OSR
Update: OSR route update timestamp
Alert Info Offtrack: Offtrack distance (Alert level)
Rolling: Rolling Risk Forecasted encounter time (Alert level)
Int. time: Risk Area Forecasted encounter time (in hours from now)
UKC Margin: Percentage of water depth to draft (Alert level)
* Condition-based messages display the change from the previous level with a symbol at the beginning of the alert item

Message type comparison

Interval-based Condition-based
Periodically Conditionally

Alert level comparison

Warning Caution None
Warning Caution None

Message delivery timing

There are two message delivery types: interval-based, and condition-based

The following table illustrates the two different methods

ChatNotificationTiming

Delivery settings

Please prepare the following items in order to register for messaging services:

  • A messaging service account (Slack or Teams)
  • A delivery address name (Roman characters only - A to z)
  • A Webhook URL (Obtained from the messaging service. Differs by service. See below)
  • Desired message type (interval-based or condition-based)

Generate a webhook for Microsoft Teams

  1. If you wish to create a new channel, please go ahead and do so first.
  2. Generate a Teams Webhook(Current methodMS Teams Site

    1. Open the Teams app, right-click on the channel you want to notify, and select "Manage Channel".

      Select Manage Channel

    2. The settings screen will appear; Press the "Edit" button in the "Connector" area.

      Click "edit connector"

    3. Find "Incoming Webhook" and click the "Add" or "Configure" button. (If you have already added it, click "Configure".)

      Add incomming webhook

    4. On the following screen, specify the name and image of your notification and press "Create".

      Enter notification settings

    5. A webhook URL will be issued; Copy the URL and then press "Done".

      Copy webhook URL

      Teams webhook test

      Copy the webhook here and hit 「Test」

      If you see the following message, your webhook was set up successfully!

      Teams検証結果

  3. Register the webhook on the Group Settings site

Generate a webhook for Slack

  1. If you wish to create a new channel, please do so first.
  2. Generate a Slack webhook(Current method: Slack site

    1. Create a new Slack app in the workspace where you want to post messages. Creating an app
    2. From the Features page, toggle Activate Incoming Webhooks on.
    3. Click Add New Webhook to Workspace.
    4. Pick a channel that the app will post to, then click Authorize.
    5. Use your Incoming Webhook URL to post a message to Slack.

      Slack webhook test

      Copy the webhook here and hit 「Test」

      If you see the following message, your webhook was set up successfully!

      Slack検証結果

  3. Register the webhook on the Group Settings site

Register the webhook on the Group Settings site

  1. Access the Group Settings Site.
  2. Hit the edit button edit button of the group you'd like to register it with.
  3. Open the ChapApp tab and hit「+Add Webhook URL」.

    webhook追加

  4. Fill in the necessary data, then hit 「Add」

    1. Messaging app
    2. Webhook name (To easily identify the webhook on the Group Settings site)
    3. Webhook URL (Copy and paste from the app)
    4. Delivery settings

    webhook入力

  5. Hit 「Confirm」to complete the registration.