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 text messages via Instagram Direct.
The Instagram → Enviar Texto operation sends a custom text message from a specified Instagram channel to a recipient's Instagram account.
This is useful for automating direct communication with Instagram users, such as sending notifications, customer support replies, or marketing messages.

Example scenarios:

  • Automatically sending order confirmations or shipping updates to customers on Instagram.
  • Responding to user inquiries received via Instagram Direct.
  • Sending promotional messages or alerts to followers.

Properties

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

All properties are required for this operation.


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 response, it typically includes:

{
  "success": true,
  "messageId": "string",
  "timestamp": "ISO8601 string",
  "details": { /* additional info if available */ }
}
  • success: Indicates if the message was sent successfully.
  • messageId: Unique identifier for the sent message.
  • timestamp: When the message was sent.
  • details: Any additional information returned by the API.

Note: The node does not output binary data.


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 either ID is incorrect, the API may return an error indicating the user or channel was not found.
  • Missing Required Fields: All three fields are mandatory; omitting any will result in validation errors.
  • Authentication Errors: If the notificamehubApi credential is missing or invalid, authentication will fail.

Typical Error Messages and Resolutions:

  • "Channel not found": Verify that the "ID Do Canal" matches a valid Instagram channel connected to your NotificaMe Hub account.
  • "Recipient not found": Ensure the "ID Do Destinatário" is correct and the user exists.
  • "Unauthorized": Check your API credentials in n8n.
  • "Message text is empty": Make sure the "Mensagem" property is filled.

Links and References


Discussion