Amocrm icon

Amocrm

Consume AmoCRM API

Overview

This node interacts with the AmoCRM platform to retrieve elements from a specified catalog. It supports authentication via either a long-lived token or OAuth2. Users can select a catalog by name or ID, apply filters such as search queries or specific element IDs, and control pagination with options to return all results or limit the number of results per page. This node is useful for scenarios where you need to fetch and process catalog data from AmoCRM, such as syncing catalog elements with other systems or analyzing catalog contents.

Use Case Examples

  1. Fetching all elements from a specific product catalog to update an inventory system.
  2. Retrieving a filtered list of catalog elements based on a search query for reporting purposes.
  3. Paginating through catalog elements to process them in batches.

Properties

Name Meaning
Authentication Method used to authenticate with AmoCRM, either Long Lived Token or OAuth2.
Catalog Name or ID Select the catalog from which to retrieve elements, either by choosing from a list or specifying an ID.
Return All Determines whether to return all catalog elements or limit the results.
Filter Filters to apply when retrieving catalog elements, including a search query and specific element IDs.
Page Page number to retrieve when not returning all results.
Limit Maximum number of catalog elements to return per request.

Output

JSON

  • elements - Array of catalog elements retrieved from the specified catalog.
  • total - Total number of catalog elements available matching the query or filter.
  • page - Current page number of the results returned.
  • limit - Maximum number of results returned per page.

Dependencies

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

Troubleshooting

  • Ensure the authentication credentials are valid and have the necessary permissions to access the catalog data.
  • If no elements are returned, verify that the catalog ID is correct and that the filters applied (query or element IDs) match existing catalog elements.
  • When using pagination, ensure the page number and limit are set correctly to avoid empty result sets.

Links

Discussion