uChat

Integração com a API do uChat

Overview

This node integrates with the uChat API to perform various operations related to broadcasting messages, managing subscribers, tags, custom fields, flows, WhatsApp templates, and conversation history. Specifically, for the 'Disparo' resource and 'Enviar' operation, it sends broadcast messages either to specific user identifiers (user_ns) or to users filtered by a tag. This is useful for mass messaging campaigns, targeted notifications, or announcements to selected groups of users.

Use Case Examples

  1. Sending a broadcast message to a list of specific users identified by their user_ns values.
  2. Sending a broadcast message to all users associated with a particular tag.

Properties

Name Meaning
Mensagem The content of the broadcast message to be sent.
Lista De User NS A comma-separated list of user_ns identifiers representing the recipients of the broadcast message.

Output

JSON

  • user_ns_list - List of user_ns identifiers to whom the broadcast message was sent.
  • content - The content of the broadcast message sent.
  • tag_name - The tag name used to filter recipients when sending broadcast by tag.
  • response - The API response confirming the broadcast message sending status.

Dependencies

Troubleshooting

  • Ensure the 'userNsList' is correctly formatted as a comma-separated string without extra spaces or invalid user_ns values to avoid API errors.
  • Verify that the 'message' content is not empty and complies with any content restrictions imposed by the uChat API.
  • If sending by tag, confirm that the specified tag name exists and is correctly spelled to avoid empty recipient lists.
  • Common error messages may include authentication failures, invalid parameters, or network issues. Check API credentials and network connectivity if errors occur.

Links

Discussion