NotificaMe Hub icon

NotificaMe Hub

Integração com NotificaMe Hub API

Overview

This node integrates with the NotificaMe Hub API to set up webhooks for the 'Revenda' resource. Specifically, the 'Definir Webhook' operation allows users to configure a webhook URL where events related to a specified channel token will be sent. It supports setting a primary webhook URL and an optional secondary webhook URL for event notifications. This is useful for scenarios where real-time event notifications from a channel are needed, such as monitoring channel activity or triggering workflows based on events.

Use Case Examples

  1. Setting a webhook URL to receive notifications for a specific channel token.
  2. Configuring a secondary webhook URL to send event data to multiple endpoints.

Properties

Name Meaning
Token Do Canal The channel token for which events will be received. This is a required authentication token to identify the channel.
URL Do Webhook The primary URL where event notifications will be sent. This is a required field.
URL Do Webhook Secundário An optional secondary URL to which event notifications will also be sent.
Request Options Settings to customize the HTTP request behavior, including batching of requests, SSL certificate validation, proxy configuration, and request timeout.

Output

JSON

  • webhookSetupStatus - Status of the webhook setup operation, indicating success or failure.
  • webhookUrls
    • primary - The primary webhook URL that was set.
    • secondary - The optional secondary webhook URL that was set, if any.
  • channelToken - The channel token associated with the webhook setup.

Dependencies

  • NotificaMe Hub API

Troubleshooting

  • Ensure the channel token is valid and has the necessary permissions to set webhooks.
  • Verify that the webhook URLs are accessible and correctly formatted (including HTTPS if required).
  • If SSL issues occur, consider enabling the option to ignore SSL certificate validation, but be aware of security risks.
  • Check proxy settings if requests fail due to network restrictions.
  • Timeout errors may occur if the server is slow to respond; adjust the timeout setting accordingly.

Links

Discussion