Posting a message in Zoom

This documentation references external sources.

Nexthink does not control the accuracy of third-party documentation or external updates that can result in inconsistencies.

Report any errors or inconsistencies to Nexthink Support.

This page demonstrates how to post a message to the video conferencing platform Zoom using a webhook.

In Zoom

  1. Complete the steps listed in the Using Zoom's Incoming Webhook Chatbot documentation from Zoom.

  2. Select Manage your Workflow to copy the URL and token for future reference for future reference. That is, for the connector credential and webhook configuration in the Nexthink web interface:

    • Endpoint URL example: https://integrations.zoom.us/chat/webhooks/incomingwebhook/dSUXXXXXXXXXXXXXXXXXXX

    • Verification Token example: PRuXXXXXXXXXXXXXXXXXXXX

The URL and verification token examples above are just for illustration purposes.

In Nexthink

From the Nexthink web interface:

Configuring a connector credential for Zoom

From the connector credential configuration page, fill out the fields using the information from the connection you created in Zoom.

  1. Choose the HTTPS option from the Protocol drop-down.

  2. Paste the root https://integrations.zoom.us into the URL address field.

  3. Choose the Bearer token option from the Authorization drop-down.

  4. Type in Bearer in the Header prefix field.

  5. Copy the verification token from the Zoom connection and paste it into the Token field.

  6. Save the credential.

Configuring a webhook for Zoom

From the webhook configuration page, fill out the fields using the information from the connection you created in Zoom and the connector credential defined in Nexthink.

  1. Fill in the NQL Condition following the Configuring webhook NQL conditions documentation. See the query below.

alert.alerts
| where monitor.tags contains "web-applications"
| where alert.context contains "*Salesforce*" or alert.context contains "*Microsoft*"
| list alert.monitor.name, alert.status, monitor.tags, alert.context, trigger_time, recovery_time, alert.monitor.thresholds, monitor.priority, alert.trigger_values, alert.trigger_reference_value, alert.recovery_values, alert.context, device_view_link, issue_view_link, device.name
  1. Choose the connector credential you created for Zoom from the Credentials drop-down.

  2. Select the POST from the Method drop-down.

  3. Copy and paste into the Resources field, the URL endpoint from the Zoom connection without the URL address. For example: chat/webhooks/incomingwebhook/dSUXXXXXXXXXXXXXXXXXXX

  4. Add the message you want to send in Payload.

    • Refer to Using Zoom's Incoming Webhook Chatbot to confirm the payload formats supported by Zoom. For example, when adding the ?format=full query parameter, you can create complex messages like:

{
  "content": {
    "head": {
      "text": "This is an issue created by a Nexthink Alert",
      "sub_head": {
        "text": "Nexthink Alert {{alert.monitor.name}} has been triggered"
      }
    },
    "body": [
      {
        "type": "message",
        "text": "Alert for device {{device.device.name}}"
      }
    ]
  }
}

Refer to the Configuring webhook fields: Method, Resource, and Payload to learn more about allowed placeholders for payloads.

  1. Sent test and verify the message appears in Zoom.


RELATED TOPICS

Last updated