NotificaMe Hub icon

NotificaMe Hub

Integração com NotificaMe Hub API

Overview

The NotificaMe Hub node for n8n, when configured with the "WhatsApp" resource and the "Enviar Localização" (Send Location) operation, allows you to send a geographic location to a WhatsApp recipient. This is useful in scenarios where you need to share a specific place—such as a business address, event venue, or meeting point—directly via WhatsApp messages.

Practical examples:

  • Sending a customer's delivery location confirmation.
  • Sharing your store's address with clients automatically.
  • Notifying field agents of a new job site.

Properties

Below are the input properties required for this operation:

Display Name Type Description
Token Do Canal String Token do canal do WhatsApp (WhatsApp channel token; used for authentication).
Número Do Destinatário String Número do destinatário no formato internacional (e.g., 5511999999999).
Latitude Number Latitude da localização (Latitude of the location to be sent).
Longitude Number Longitude da localização (Longitude of the location to be sent).
Nome Da Localização String Nome da localização (Name/title of the location).
Endereço Da Localização String Endereço da localização (Address/description of the location).

All fields are required.

Output

The node outputs a json object containing the result of the location message sent via WhatsApp. While the exact structure may depend on the API response, it typically includes:

{
  "success": true,
  "messageId": "string",
  "recipient": "string",
  "location": {
    "latitude": number,
    "longitude": number,
    "name": "string",
    "address": "string"
  },
  "timestamp": "string"
}
  • success: Indicates if the operation was successful.
  • messageId: The unique identifier of the sent message.
  • recipient: The WhatsApp number that received the location.
  • location: Details of the sent location (latitude, longitude, name, address).
  • timestamp: When the message was sent.

Note: The actual output may vary depending on the NotificaMe Hub API.

Dependencies

  • External Service: Requires access to the NotificaMe Hub API.
  • API Key: You must provide a valid WhatsApp channel token (Token Do Canal).
  • n8n Credentials: The node expects a credential named notificaMeHubApi to be set up in n8n.

Troubleshooting

Common issues:

  • Invalid Token: If the Token Do Canal is incorrect or expired, the API will reject the request. Ensure your token is valid and has permission to send WhatsApp messages.
  • Incorrect Recipient Format: The Número Do Destinatário must be in international format (e.g., 5511999999999). Omitting country code or using an invalid number will cause errors.
  • Missing Required Fields: All fields are mandatory. Leaving any blank will result in validation errors.
  • API Rate Limits: Excessive requests may trigger rate limiting by NotificaMe Hub.

Error messages and resolutions:

  • "Authentication failed": Check your WhatsApp channel token.
  • "Invalid recipient number": Verify the phone number format.
  • "Missing parameter: latitude/longitude/name/address": Ensure all location details are provided.

Links and References

Discussion