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 audio messages via Facebook Messenger. This is useful in scenarios where automated workflows need to deliver voice notes or pre-recorded audio files to Messenger users or groups. For example, businesses can use this node to send appointment reminders, alerts, or personalized audio notifications directly to customers on Messenger.

Properties

For the Messenger resource and Enviar Audio (Send Audio) operation, the following input properties are supported:

Display Name Type Description
ID Do Canal String The channel ID for Messenger.
ID Do Destinatário String The recipient's ID on Messenger.
URL Do Áudio String Public URL of the audio file to be sent.

All fields are required.

Output

The node outputs a json object containing the response from the NotificaMe Hub API after attempting to send the audio message. The structure typically includes:

  • status: Indicates success or failure.
  • messageId: Unique identifier for the sent message (if successful).
  • error: Error details if the operation failed.

Note: The exact output fields may vary depending on the API response, but you can expect at least status and message identification or error information.

Dependencies

  • External Service: Requires access to the NotificaMe Hub API.
  • API Credentials: You must configure the notificamehubApi credential in n8n.
  • Environment: Ensure that the audio file is accessible via a public URL.

Troubleshooting

Common Issues:

  • Invalid Channel or Recipient ID: If the provided IDs are incorrect, the API will return an error. Double-check these values in your Messenger setup.
  • Inaccessible Audio URL: The audio file must be publicly accessible. Private or expired links will cause failures.
  • Missing Credentials: If the notificamehubApi credential is not set up or is invalid, authentication errors will occur.

Common Error Messages:

  • "Invalid channelId or recipientId": Check that both IDs are correct and exist in Messenger.
  • "Audio file not found or inaccessible": Ensure the URL is correct and the file is publicly available.
  • "Authentication failed": Verify your NotificaMe Hub API credentials in n8n.

Links and References

Discussion