Vikunja icon

Vikunja

Get data from Vikunja's API

Overview

This node integrates with the Vikunja API to manage tasks within the Vikunja task management system. Specifically, the "Assign a User to a Task" operation allows you to assign a particular user to an existing task by specifying the task's ID and the user's ID. This is useful in workflows where task delegation or assignment automation is needed, such as automatically assigning tasks based on certain triggers or conditions.

Practical examples:

  • Automatically assign a newly created task to a team member responsible for that type of work.
  • Reassign tasks when a user becomes unavailable or changes roles.
  • Integrate with other systems to synchronize task assignments.

Properties

Name Meaning
Task ID The unique identifier of the task to which a user will be assigned.
User ID The unique identifier of the user who will be assigned to the specified task.

Output

The node outputs JSON data representing the result of the assignment operation. Typically, this includes confirmation details about the task and the assigned user, reflecting the updated state after the assignment.

If the node supports binary data output (not indicated here), it would typically represent attachments or files related to the task, but this operation focuses on JSON responses only.

Dependencies

  • Requires an API key credential for authenticating with the Vikunja API.
  • Needs the base URL of the Vikunja instance configured in the credentials.
  • The node depends on the Vikunja REST API being accessible and properly configured.

Troubleshooting

  • Common issues:

    • Invalid or missing Task ID or User ID: Ensure both IDs are correct and correspond to existing entities in Vikunja.
    • Authentication errors: Verify that the API key credential is valid and has sufficient permissions.
    • Network or connectivity problems: Confirm that the Vikunja API endpoint is reachable from n8n.
  • Error messages:

    • "Task not found": The provided Task ID does not exist; double-check the ID.
    • "User not found": The User ID is invalid or the user does not exist.
    • "Unauthorized" or "Authentication failed": Check API credentials and permissions.
    • "Failed to assign user": Could indicate permission issues or server errors; review API response details.

Resolving these usually involves verifying input parameters, checking API credentials, and ensuring network connectivity.

Links and References

Discussion