Amocrm icon

Amocrm

Consume AmoCRM API

Overview

This node allows users to create catalogs in AmoCRM. It supports creating multiple catalogs at once, either by providing catalog details through structured input fields or by supplying a JSON string representing an array of catalog objects. This node is useful for automating the setup or management of catalogs in AmoCRM, such as product catalogs, invoice catalogs, or regular catalogs, with customizable properties like name, type, sorting order, and permissions for adding elements or linking multiple items.

Use Case Examples

  1. Automatically create product catalogs in AmoCRM when new product lines are added in an inventory system.
  2. Batch create multiple catalogs for different departments or purposes in AmoCRM using a JSON array input.
  3. Set up invoice catalogs with specific sorting and permissions as part of a sales automation workflow.

Properties

Name Meaning
Authentication Method used to authenticate with AmoCRM API, either Long Lived Token or OAuth2.
JSON Parameters Toggle to specify if the catalogs are provided as a JSON string array instead of individual fields.
Stringifyed Array of Objects A JSON string representing an array of catalog objects to create, used when JSON Parameters is true.
Catalogs A collection of catalog objects to create, each with properties like name, type, sort order, permissions, and an optional request ID.

Output

JSON

  • id - The unique identifier of the created catalog.
  • name - The name of the created catalog.
  • type - The type of the catalog (e.g., regular, invoices, products).
  • sort - The sorting order of the catalog.
  • can_add_elements - Indicates if elements can be added to the catalog via the interface.
  • can_link_multiple - Indicates if one element of the catalog can be linked to multiple leads or customers.
  • request_id - An optional field returned unchanged from the request, not saved in the catalog.

Dependencies

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

Troubleshooting

  • Ensure the authentication credentials are valid and have the necessary permissions to create catalogs in AmoCRM.
  • If using JSON Parameters, verify that the JSON string is correctly formatted and represents an array of valid catalog objects.
  • Check that required fields like catalog name are provided; missing required fields will cause errors.
  • If the API returns errors related to permissions or invalid data, review the catalog properties and authentication method.

Links

Discussion