Habitica icon

Habitica

Habitica API

Overview

This node operation allows users to 'like' a specific chat message within a selected group in Habitica. It is useful for automating interactions in Habitica's group chat, such as acknowledging or endorsing messages programmatically. For example, a user can set up a workflow to automatically like messages that meet certain criteria or are posted by specific users.

Use Case Examples

  1. Automatically like a chat message in a project group when a task is completed.
  2. Like a message in a social group to show appreciation without manual intervention.

Properties

Name Meaning
Group The group in which the chat message exists. This is required to identify the context of the message to be liked. The group can be selected from a list or entered by its ID.
Message ID The unique identifier of the chat message to be liked. This is required to specify which message to like.
Request Options Additional settings for the request such as batching, SSL certificate validation, proxy configuration, and timeout settings.

Output

JSON

  • success - Indicates whether the like message operation was successful.
  • messageId - The ID of the message that was liked.
  • groupId - The ID of the group where the message was liked.

Dependencies

  • Habitica API
  • An API key credential for authentication

Troubleshooting

  • Ensure the group ID is correctly formatted as a UUID to avoid validation errors.
  • Verify that the message ID exists and is accessible within the specified group to prevent operation failures.
  • Check network settings such as proxy and SSL options if requests fail or time out.
  • Common error messages may include authentication failures if the API key is invalid or missing, and validation errors if required parameters are not provided or incorrectly formatted.

Discussion