Overview
This node integrates with the Motion API to manage tasks within workspaces. Specifically, the Task - Get operation retrieves detailed information about a single task by its unique ID. This is useful when you need to fetch the current state or details of a specific task for further processing, reporting, or automation workflows.
Common scenarios:
- Fetching task details to display in dashboards or reports.
- Retrieving a task before updating or deleting it.
- Using task data as input for conditional logic or notifications.
Example:
You want to get the details of a task with ID 12345 to check its status and due date before sending a reminder email.
Properties
| Name | Meaning |
|---|---|
| Task ID | The unique identifier of the task to retrieve. |
Output
The output is a JSON object representing the task's details as returned by the Motion API. It typically includes fields such as:
- Task ID
- Title
- Description
- Workspace ID
- Project ID (if assigned)
- Assignee ID (if assigned)
- Due Date
- Status
- Priority
- Other metadata related to the task
No binary data is output by this operation.
Dependencies
- Requires an active connection to the Motion API via an API key credential.
- The node uses HTTP requests to communicate with the Motion API endpoint at
https://api.usemotion.com/v1. - Proper configuration of the API key credential in n8n is necessary for authentication.
Troubleshooting
Error: "Invalid API key" or authentication failures
Ensure that the API key credential is correctly configured and has the necessary permissions.Error: "Task not found" or 404 responses
Verify that the provided Task ID exists and belongs to the workspace accessible by the API key.Empty or unexpected response
Confirm that the Task ID parameter is correctly set and that the API service is operational.Network or timeout errors
Check network connectivity and API service status.
Links and References
- Motion API Documentation (for detailed API endpoints and data structures)