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, allowing users to automate sending messages across various platforms.
For the Messenger resource and the Enviar Texto (Send Text) operation, this node sends a text message to a specified recipient via Messenger.

Common scenarios:

  • Automating customer support responses on Messenger.
  • Sending notifications or alerts to Messenger users.
  • Integrating Messenger communication into broader business workflows.

Practical example:
A business could use this node to automatically send order confirmations or status updates to customers through Messenger after a purchase is made.


Properties

Below are the input properties required for the "Messenger" resource and "Enviar Texto" operation:

Display Name Type Description
ID Do Canal String ID do canal do Messenger (Messenger channel ID). Required.
ID Do Destinatário String ID do destinatário no Messenger (Recipient's Messenger ID). Required.
Mensagem String Texto da mensagem a ser enviada (Text of the message to be sent). Required.

Output

The output will contain a json field with the response from the NotificaMe Hub API after attempting to send the message.
While the exact structure depends on the API's response, it typically includes information such as:

{
  "success": true,
  "messageId": "1234567890",
  "recipientId": "987654321",
  "channelId": "1122334455",
  "timestamp": "2024-06-01T12:34:56Z",
  "details": { /* ...additional info... */ }
}
  • success: Indicates if the message was sent successfully.
  • messageId: Unique identifier for the sent message.
  • recipientId: The Messenger ID of the recipient.
  • channelId: The Messenger channel used.
  • timestamp: When the message was sent.
  • details: Any additional information returned by the API.

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


Dependencies

  • External Service: Requires access to the NotificaMe Hub API.
  • API Credentials: You must configure the notificamehubApi credential in n8n.
  • Environment: No special environment variables are needed beyond standard n8n setup.

Troubleshooting

Common issues:

  • Invalid Channel or Recipient ID: If the provided IDs are incorrect, the API may return an error indicating that the channel or recipient was not found.
  • Missing Required Fields: All three properties (ID Do Canal, ID Do Destinatário, Mensagem) are required. Omitting any will result in validation errors.
  • Authentication Errors: If the notificamehubApi credential is missing or invalid, authentication will fail.

Common error messages and resolutions:

  • "Channel not found": Verify the ID Do Canal value.
  • "Recipient not found": Check the ID Do Destinatário.
  • "Unauthorized": Ensure your API credentials are correctly configured in n8n.
  • "Message text required": Make sure the Mensagem property is filled.

Links and References

Discussion