Didar CRM icon

Didar CRM

Actions for Didar CRM

Overview

This node enables creating a new product record in the Didar CRM system. It is useful for automating product catalog management workflows, such as adding new products with detailed attributes directly from other systems or data sources. For example, you can use this node to add a new product with variants and custom fields when onboarding new inventory items or syncing product data from an e-commerce platform.

Properties

Name Meaning
Title Product title. This is a required field specifying the name of the product.
Code Internal product code (optional). A unique identifier used internally for the product.
Product Category Select a product category from available categories (optional).
Unit Unit name for the product, e.g., USD, item, box.
Unit Price Base price for the product, specified as a number with up to 10 decimal places.
Variants JSON array of variant objects, each describing a product variant with properties like Title, VariantCode, and UnitPrice. Example: [{"Title":"V1","VariantCode":"A1","UnitPrice":1000},{"Title":"V2","VariantCode":"A2","UnitPrice":0}]
Active Boolean flag indicating whether the product is active. Defaults to true.
Description Optional textual description of the product.
Custom Fields (JSON) JSON object containing custom fields for the product. Example placeholder: { "Field_6_0_26": "value" }

Output

The node outputs an array of JSON objects representing the created product(s). Each output item contains the details of the newly created product, including all standard and custom fields as accepted by the Didar CRM API.

If the product includes variants, these are included within the product data structure as nested objects.

No binary data output is produced by this node.

Dependencies

  • Requires connection to Didar CRM via an API key credential configured in n8n.
  • The node depends on the Didar CRM API endpoints for product creation.
  • The property "Product Category" dynamically loads options using a method that fetches product categories from the CRM.

Troubleshooting

  • Missing Required Fields: If the "Title" property is not provided, the node will likely throw an error because it is mandatory.
  • Invalid JSON in Variants or Custom Fields: Providing malformed JSON in the "Variants" or "Custom Fields (JSON)" properties will cause parsing errors. Ensure valid JSON syntax.
  • API Authentication Errors: If the API key credential is missing or invalid, the node will fail to authenticate with the Didar CRM API.
  • Category Not Found: Selecting a non-existent product category or providing an invalid category ID may result in an error.
  • Price Precision Issues: The "Unit Price" supports up to 10 decimal places; exceeding this precision might cause validation errors.

Links and References

Discussion