Conta Azul API icon

Conta Azul API

Allows making requests to the Conta Azul API

Overview

The node integrates with the Conta Azul API to perform various operations related to business management, such as handling products, sales, persons, categories, cost centers, financial accounts, revenues, and expenses. Specifically, the Create Product operation allows users to add a new product to their Conta Azul account by specifying detailed product information.

This node is beneficial for automating product management workflows, such as syncing product catalogs from other systems, bulk-adding new products, or integrating product creation into larger automation pipelines.

Practical example:
A retail company can use this node to automatically create new products in their Conta Azul inventory system whenever new items are added to their e-commerce platform, ensuring consistent stock and pricing data across platforms.

Properties

Name Meaning
Product Name The name of the product to be created (required).
SKU The Stock Keeping Unit code identifying the product (required).
EAN The European Article Number code for the product (optional).
Observation Additional notes or observations about the product (optional).
Stock Quantity Total available stock quantity for the product (optional, default 0).
Sale Value The sale price of the product (optional, default 0).
Average Cost The average cost of the product (optional, default 0).
Minimum Stock The minimum stock threshold for the product (optional, default 0).
Maximum Stock The maximum stock threshold for the product (optional, default 0).
Height (Cm) Product height in centimeters (optional, default 0).
Width (Cm) Product width in centimeters (optional, default 0).
Depth (Cm) Product depth in centimeters (optional, default 0).
Format Product format; currently only supports "Simples" (Simple) (required).

Output

The node outputs JSON data representing the newly created product as returned by the Conta Azul API. This typically includes the product's unique identifier, all submitted fields, and any additional metadata provided by the API.

No binary data output is produced by this operation.

Dependencies

  • Requires an active Conta Azul API OAuth2 credential configured in n8n to authenticate requests.
  • Depends on the Conta Azul API being accessible and operational.
  • No additional external dependencies beyond the Conta Azul API and n8n environment.

Troubleshooting

  • Common issues:

    • Missing required fields such as Product Name or SKU will cause the API request to fail.
    • Invalid numeric values (e.g., negative stock quantities) may be rejected by the API.
    • Network connectivity problems or invalid credentials will prevent successful API calls.
  • Error messages:

    • "Operation not supported": Indicates an unsupported operation was requested; ensure "Create Product" is selected.
    • API errors related to validation will include messages about missing or invalid fields; verify input data correctness.
    • Authentication errors suggest issues with the configured API credentials; re-authenticate or check permissions.

Links and References

Discussion