Actions23
- Task Actions
- Chat Message Actions
- Skill (Spell) Actions
- User Actions
- Quest Actions
- Group Actions
- Content Actions
- Inbox Actions
Overview
This node integrates with the Habitica API to perform operations related to Habitica tasks. Specifically, the "Score Task" operation allows users to increase or decrease the score of a specified task within their Habitica account. This is useful for automating task management workflows, such as marking tasks as completed (scoring up) or indicating failure or penalty (scoring down).
Practical examples include:
- Automatically scoring a daily task as completed when an external event occurs.
- Decreasing the score of a task if a deadline is missed.
- Integrating Habitica task scoring into broader productivity automation pipelines.
Properties
Name | Meaning |
---|---|
Task | The specific task to score. Can be selected from a list of tasks or entered by its ID. |
Direction "Up" | Boolean flag indicating whether to score the task up (true) or down (false). |
Details on the "Task" property modes:
- List: Select a task from a provided list of available tasks.
- ID: Enter the unique identifier (UUID) of the task manually. Must match the UUID format like
a1abf9df-d89d-4f5e-9e80-26dc3c481042
.
Output
The node outputs JSON data representing the result of the scoring operation on the task. This typically includes updated task details reflecting the new score state after the operation.
If the node supports binary data output, it would relate to any media or attachments associated with the task, but based on the provided code and properties, this node primarily deals with JSON task data.
Dependencies
- Requires an active connection to the Habitica API.
- Needs an API authentication token configured in n8n credentials to authorize requests.
- Uses the base URL for Habitica's API, which can be customized if using a self-hosted instance.
Troubleshooting
- Invalid Task ID Format: If entering the task ID manually, ensure it matches the UUID regex pattern. Errors will occur if the format is incorrect.
- Authentication Errors: Ensure the API key credential is valid and has sufficient permissions to modify tasks.
- Task Not Found: Selecting a task that does not exist or is inaccessible will cause errors. Use the list mode to avoid this issue.
- Network Issues: Connectivity problems with the Habitica API endpoint will prevent scoring operations.