NotificaMe Hub icon

NotificaMe Hub

Integração com NotificaMe Hub API

Overview

The NotificaMe Hub node for n8n enables integration with the NotificaMe Hub API, specifically allowing you to send WhatsApp text messages.
With the WhatsApp → Enviar Texto operation, you can automate sending plain text messages to WhatsApp users. This is useful for notifications, alerts, customer support, appointment reminders, or any workflow where automated WhatsApp communication is needed.

Example scenarios:

  • Sending order confirmations to customers via WhatsApp.
  • Notifying team members of important updates.
  • Sending personalized reminders or alerts to clients.

Properties

Display Name Type Description
Token Do Canal String (Password) Token do canal do WhatsApp. Required for authenticating requests to the WhatsApp channel.
Número Do Destinatário String Número do destinatário no formato internacional (ex: 5511999999999). The recipient's phone number in international format.
Mensagem String (Multi-line) Texto da mensagem a ser enviada. The message text to be sent to the recipient.

Output

The node outputs a json object containing the response from the NotificaMe Hub API after attempting to send the WhatsApp message.
While the exact structure depends on the API response, it typically includes:

{
  "success": true,
  "messageId": "string",
  "status": "sent",
  "recipient": "5511999999999",
  "timestamp": "2024-06-01T12:34:56Z"
}
  • success: Indicates if the message was sent successfully.
  • messageId: Unique identifier for the sent message.
  • status: Status of the message (e.g., "sent", "queued", "failed").
  • recipient: The recipient's phone number.
  • timestamp: When the message was processed.

Note: The actual fields may vary depending on the API implementation.


Dependencies

  • External Service: Requires access to the NotificaMe Hub API.
  • API Key: You must provide a valid "Token Do Canal" for WhatsApp.
  • n8n Credentials: The node requires a credential named notificamehubApi to be configured in n8n.

Troubleshooting

Common Issues:

  • Invalid Token Do Canal: If the token is incorrect or expired, authentication will fail. Ensure you use a valid and active token.
  • Incorrect Número Do Destinatário: The recipient number must be in international format (e.g., 5511999999999). Omitting country code or using an invalid format will cause errors.
  • Empty Mensagem: The message field cannot be empty; otherwise, the API may reject the request.

Common Error Messages:

  • "Authentication failed": Check your Token Do Canal and ensure your credentials are correct.
  • "Invalid recipient number": Verify the phone number format.
  • "Message content required": Ensure the Mensagem property is filled.

Links and References


Discussion