Habitica icon

Habitica

Habitica API

Overview

This node integrates with the Habitica API to perform actions related to chat messages within groups. Specifically, the "Like Message" operation allows users to like a particular chat message in a selected group. This is useful for acknowledging or reacting positively to messages in Habitica group chats without sending a new message.

Practical examples:

  • Automatically liking motivational messages posted in a Habitica guild.
  • Reacting to task updates or announcements in a party chat.
  • Building workflows that track and respond to chat activity by liking specific messages.

Properties

Name Meaning
Group Select the target group where the chat message exists. You can choose from a list of groups or enter a group ID manually. The group ID must be a UUID string (e.g., "a1abf9df-d89d-4f5e-9e80-26dc3c481042"). This property is required.
Message ID The unique identifier of the chat message you want to like. This is a required string input.

Output

The node outputs JSON data representing the result of the "like message" action. Typically, this will include confirmation that the message was liked successfully or details about the updated message state. The exact structure depends on the Habitica API response but generally includes fields such as message ID, likes count, and user information.

No binary data output is involved in this operation.

Dependencies

  • Requires an API key credential for authenticating with the Habitica API.
  • The node uses the Habitica API base URL, which can be customized if using a self-hosted instance.
  • Network access to the Habitica API endpoints is necessary.

Troubleshooting

  • Invalid Group ID format: If the group ID does not match the UUID pattern, the node will reject it. Ensure the group ID is correctly formatted.
  • Message ID missing or incorrect: The operation requires a valid message ID. Verify that the message ID corresponds to an existing message in the specified group.
  • Authentication errors: Ensure the API key credential is valid and has permissions to interact with group chat messages.
  • API rate limits or connectivity issues: Habitica API may throttle requests or be temporarily unavailable; retry after some time or check network connectivity.

Links and References

Discussion