WaAPI icon

WaAPI

Interact with WaAPI API

Actions83

Overview

This node operation, Get Message Mentions, retrieves the list of users or entities mentioned within a specific message. It is useful in scenarios where you want to analyze or respond to mentions in chat messages, such as automating replies to tagged users, extracting mention data for analytics, or triggering workflows based on who was mentioned in a conversation.

For example, in a customer support chatbot, this operation can help identify which team member was mentioned in a customer's message to route the query accordingly.

Properties

Name Meaning
Id Instance ID (a required numeric identifier for the node execution context)
Message Id The unique identifier of the message from which to extract mentions (string format)

Output

The output JSON contains the mentions extracted from the specified message. This typically includes an array or list of mention objects detailing the users or entities referenced in the message text.

No binary data output is involved in this operation.

Dependencies

  • Requires an API key credential for authenticating with the WaAPI service.
  • The node communicates with the WaAPI REST API endpoint at https://waapi.app/api/v1.
  • Proper configuration of the API key credential in n8n is necessary for successful requests.

Troubleshooting

  • Missing or invalid Message Id: Ensure that the "Message Id" property is correctly set and corresponds to an existing message in the system.
  • Authentication errors: Verify that the API key credential is valid and has the necessary permissions.
  • Network or API errors: Check network connectivity and the status of the WaAPI service.
  • Empty mentions result: If no mentions are found, confirm that the message actually contains mentions and that the correct message ID was used.

Links and References

Discussion