WaAPI icon

WaAPI

Interact with WaAPI API

Actions83

Overview

The "Star Message" operation in the Message resource allows users to mark a specific message as starred. This is useful for highlighting important messages within a chat or conversation, making them easier to find later. For example, a user might star a message containing critical information or a task reminder.

Properties

Name Meaning
Id Instance ID (a numeric identifier)
Message Id The unique identifier of the message to star

Output

The node outputs JSON data representing the result of the star message operation. This typically includes confirmation that the message was successfully starred or details about the updated message state. There is no indication of binary data output.

Dependencies

  • Requires an API key credential for authentication with the WaAPI service.
  • The node interacts with the WaAPI REST API at https://waapi.app/api/v1.
  • Proper configuration of the API credentials in n8n is necessary.

Troubleshooting

  • Common issues:
    • Invalid or missing message ID can cause the operation to fail.
    • Incorrect instance ID may lead to errors or no action taken.
    • Authentication failures if the API key is not set or invalid.
  • Error messages:
    • Errors related to authorization usually indicate problems with the API key.
    • "Message not found" or similar errors suggest the provided message ID does not exist or is incorrect.
  • Resolution:
    • Verify the message ID and instance ID are correct.
    • Ensure the API key credential is properly configured and valid.
    • Check network connectivity to the WaAPI endpoint.

Links and References

Discussion