Amocrm icon

Amocrm

Consume AmoCRM API

Overview

This node allows users to edit elements within a catalog in AmoCRM. It supports updating catalog elements by specifying their IDs, names, and custom fields. Users can authenticate using either a long-lived token or OAuth2. The node is useful for scenarios where catalog data needs to be programmatically updated, such as syncing product information or updating service listings in AmoCRM.

Use Case Examples

  1. Updating product details in a catalog by specifying element IDs and new names.
  2. Modifying custom fields of catalog elements to reflect changes in inventory or pricing.

Properties

Name Meaning
Authentication Method used to authenticate with AmoCRM, either Long Lived Token or OAuth2.
JSON Parameters Toggle to specify if the catalog elements are provided as a JSON string.
Stringifyed Array of Objects A JSON string representing an array of catalog elements to update, used when JSON Parameters is true.
List Name or ID The catalog to update, selected from a list or specified by ID.
Catalog Elements The catalog elements to update, including their ID, name, custom fields, and an optional request ID for tracking.

Output

JSON

  • updatedElements - Array of updated catalog elements with their new values.
  • requestId - Optional request ID returned unchanged for tracking purposes.

Dependencies

  • Requires authentication credentials for AmoCRM, either a long-lived token or OAuth2 credentials.

Troubleshooting

  • Ensure the catalog ID is valid and accessible with the provided credentials.
  • If using JSON Parameters, ensure the JSON string is correctly formatted and represents an array of objects.
  • Custom fields must match existing catalog custom fields; otherwise, updates may fail or be ignored.
  • Authentication errors may occur if tokens are expired or invalid; refresh or reauthenticate as needed.

Links

Discussion