Actions28
- Unsorted Actions
- Lead Actions
- Account Actions
- Catalog Actions
- Note Actions
- Company Actions
- Task Actions
- Contact Actions
Overview
This node updates tasks in AmoCRM, allowing users to modify various task attributes such as text, completion date, responsible user, entity association, task type, duration, completion status, and timestamps. It supports both structured input via fixed collections and raw JSON input for flexibility. This node is useful for automating task management workflows in AmoCRM, such as updating task details based on external triggers or batch processing task updates.
Use Case Examples
- Updating the text and completion date of multiple tasks assigned to different users.
- Marking tasks as completed and adding result text after a sales call.
- Changing the responsible user and associated entity for a set of tasks based on new assignments.
Properties
| Name | Meaning |
|---|---|
| Authentication | Method used to authenticate with AmoCRM API, either Long Lived Token or OAuth2. |
| JSON Parameters | Toggle to specify if the tasks data is provided as a JSON string or as structured fields. |
| Stringifyed Array of Objects | A JSON string representing an array of task objects to update, used when JSON Parameters is true. |
| Tasks | A collection of tasks to update, each with properties like ID, text, completion date, responsible user, entity type and ID, task type, duration, completion status, result text, created/updated by users, timestamps, and a request ID for tracking. |
Output
JSON
id- The unique identifier of the updated task.text- The updated text or description of the task.complete_till- The updated completion deadline of the task.responsible_user_id- The ID of the user responsible for the task.entity_type- The type of entity the task is associated with (e.g., leads, contacts).entity_id- The ID of the associated entity.task_type_id- The type or category of the task.duration- The duration of the task in seconds.is_completed- Boolean indicating if the task is marked as completed.resultText- Text describing the result or outcome of the task.created_by- User who created the task.updated_by- User who last updated the task.created_at- Timestamp when the task was created.updated_at- Timestamp when the task was last updated.request_id- An optional field returned unchanged for tracking purposes.
Dependencies
- Requires authentication credentials for AmoCRM API, either a long-lived token or OAuth2 credentials.
Troubleshooting
- Ensure the task IDs provided exist in AmoCRM; otherwise, updates will fail.
- When using JSON Parameters, ensure the JSON string is correctly formatted and represents an array of task objects.
- Authentication errors may occur if the token or OAuth2 credentials are invalid or expired; re-authenticate as needed.
- Loading options for users and task types requires network access; failures may indicate connectivity issues or permission problems.
Links
- AmoCRM Tasks API Documentation - Official documentation for managing tasks via AmoCRM API.
- n8n AmoCRM Node Documentation - Guidance on using the AmoCRM node within n8n workflows.