SendWave API icon

SendWave API

Interactuar con SendWave API

Event → RabbitMQ

AI-generated

Summary

Configure or check RabbitMQ integration for a SendWave instance.

Inputs

  • instanceName (required) — Name of the SendWave instance that will send the message.
  • apiKey — Optional API key override using webhook JSON data.
  • resourceForRabbitMQ (required) — Choose between activating/deactivating RabbitMQ or checking RabbitMQ status. Options: setRabbitMQ (default) or findRabbitMQ.
  • enabled — Enable or disable the RabbitMQ integration. Shown only when resourceForRabbitMQ is setRabbitMQ. Default: true.
  • rabbitMQEvents — Select which event types to forward via RabbitMQ. Shown only when resourceForRabbitMQ is setRabbitMQ. Options: CALL, CHATS_DELETE, CHATS_SET, CHATS_UPDATE, CHATS_UPSERT, CONNECTION_UPDATE, CONTACTS_SET, CONTACTS_UPDATE, CONTACTS_UPSERT, GROUP_PARTICIPANTS_UPDATE, GROUP_UPDATE, GROUPS_UPSERT, LABELS_ASSOCIATION, LABELS_EDIT, MESSAGES_DELETE, MESSAGES_SET, MESSAGES_UPDATE, MESSAGES_UPSERT, PRESENCE_UPDATE, QRCODE_UPDATED, SEND_MESSAGE, TYPEBOT_CHANGE_STATUS, TYPEBOT_START. Default: empty array.

Output shape

API response indicating success/failure of the set operation, or the current RabbitMQ configuration when using find operation.

Actual response shape depends on the backend SendWave API; the node returns whatever the API provides.

Examples

Example 1: Enable RabbitMQ for CALL and MESSAGES_SET events on instance 'myWave'.

instanceName='myWave', resourceForRabbitMQ='setRabbitMQ', enabled=true, rabbitMQEvents=['CALL','MESSAGES_SET']

Example 2: Retrieve current RabbitMQ configuration for instance 'myWave'.

instanceName='myWave', resourceForRabbitMQ='findRabbitMQ'

Discussion