Evolution API icon

Evolution API

Interact with Evolution API

Actions114

Event → Pusher

AI-generated

Overview

This node interacts with the Evolution API to manage Pusher integration settings for events. It allows users to either set or check the Pusher configuration for a specified instance. Common use cases include enabling or disabling Pusher integration and selecting specific event types to be handled by Pusher, such as CALL, CONNECTION_UPDATE, or SEND_MESSAGE.

Use Case Examples

  1. Enable Pusher integration for an instance named 'MyInstance' and subscribe to CALL and SEND_MESSAGE events.
  2. Check the current Pusher configuration for an instance to verify if it is enabled and which events are subscribed.

Properties

Name Meaning
Instance Name The name of the instance for which the Pusher settings are being managed.
Action Choose between setting the Pusher configuration or checking the current Pusher configuration.
Enable Pusher Boolean flag to enable or disable the Pusher integration (only applicable when setting Pusher).
Events List of event types to subscribe to for Pusher integration (only applicable when setting Pusher).

Output

JSON

  • status - Status of the Pusher configuration operation or check.
  • message - Detailed message or result from the Pusher operation.

Dependencies

  • Requires an API key credential for the Evolution API to authenticate requests.

Troubleshooting

  • If the node throws an 'Unsupported operation' error, verify that the 'resource' and 'operation' parameters are correctly set to 'Event' and 'Pusher' respectively.
  • Ensure the 'Instance Name' is correctly provided and matches an existing instance in the Evolution API.
  • When setting Pusher, ensure the 'Events' list is not empty if enabling the integration, as no events selected might cause the integration to not function as expected.

Discussion