Actions60
- User Actions
- Teams Actions
- Custom Fields Actions
- Tickets Actions
- Deals Actions
- Webhooks Actions
- Contacts Actions
- Companies Actions
- Bussiness Types Actions
- Tags Actions
- Deal Phases Actions
- Invoices Actions
- Subscriptions Actions
- Products Actions
- Projects Actions
- Tasks Actions
- Files Actions
Overview
The "Complete Task" operation in the Teamleader node allows users to mark a specific task as completed within the Teamleader system. This is useful for automating task management workflows, such as updating task statuses after certain triggers or conditions are met in your automation. For example, when a project milestone is reached, you can automatically complete related tasks without manual intervention.
Properties
| Name | Meaning |
|---|---|
| ID | The unique identifier of the task to be marked as complete. This is required to specify which task should be completed. |
Output
The output of this operation is a JSON object representing the updated task data returned from the Teamleader API after marking it as complete. The structure typically includes details about the task such as its ID, status, title, description, and other metadata as provided by the API response.
No binary data output is involved in this operation.
Dependencies
- Requires an OAuth2 API credential configured for Teamleader with appropriate permissions to update tasks.
- The node makes HTTP POST requests to the Teamleader API endpoint
https://api.focus.teamleader.euusing the/tasks.completeoperation path. - Proper API authentication token must be available in the node credentials.
Troubleshooting
Common issues:
- Providing an invalid or non-existent task ID will result in an error from the API indicating the task could not be found.
- Missing or expired API authentication tokens will cause authorization errors.
- Network connectivity issues may prevent successful API calls.
Error messages:
"No data got returned": Indicates that the API call succeeded but no task data was returned. Verify the task ID and API endpoint.- Authorization errors: Check that the OAuth2 credentials are valid and have the necessary scopes.
- If the node is set to continue on fail, errors will be included in the output JSON with an
errorfield describing the issue.
Links and References
- Teamleader API Documentation – Official documentation for all API endpoints and operations.