API Conta Azul

Permite fazer requisições à API da Conta Azul

Overview

This node integrates with the Conta Azul API, a financial and business management platform. Specifically, the "Criar produto" (Create product) operation allows users to create new product entries in their Conta Azul account. This is useful for businesses that want to automate product catalog management by adding products programmatically via workflows.

Common scenarios include:

  • Automatically adding new products from an external inventory system.
  • Syncing product data from e-commerce platforms or ERP systems.
  • Bulk creation of products based on input data streams.

Example: A retailer can use this node to add a new product with its SKU, stock quantity, pricing, and dimensions directly into Conta Azul without manual entry.

Properties

Name Meaning
Nome do Produto The name of the product to be created.
SKU The unique SKU code identifying the product.
EAN Optional EAN barcode of the product.
Observação Optional notes or observations about the product.
Quantidade em Estoque Optional total available stock quantity for the product.
Valor de Venda Optional sale price of the product.
Custo Médio Optional average cost of the product.
Estoque Mínimo Optional minimum stock level threshold.
Estoque Máximo Optional maximum stock level threshold.
Altura (cm) Optional height of the product in centimeters.
Largura (cm) Optional width of the product in centimeters.
Profundidade (cm) Optional depth of the product in centimeters.
Formato Format of the product; currently only supports "Simples" (Simple).

Output

The node outputs JSON data representing the response from the Conta Azul API after creating the product. This typically includes details of the newly created product such as its ID, name, SKU, stock levels, pricing, and other metadata returned by the API.

No binary data output is involved in this operation.

Dependencies

  • Requires an active Conta Azul API OAuth2 credential configured in n8n for authentication.
  • Depends on the Conta Azul API service being accessible and the user having permissions to create products.
  • No additional external dependencies beyond the Conta Azul API.

Troubleshooting

  • Common issues:

    • Missing required fields like product name or SKU will cause errors.
    • Invalid or expired API credentials will result in authentication failures.
    • Network connectivity problems may prevent API calls.
    • Providing invalid data types (e.g., string instead of number) for numeric fields might cause request rejections.
  • Error messages:

    • "Operação não suportada" (Operation not supported): Indicates an unsupported operation was requested; ensure "Criar produto" is selected.
    • API error responses related to validation will specify which field is incorrect or missing.
  • Resolutions:

    • Verify all required properties are set correctly.
    • Check and refresh API credentials if authentication fails.
    • Validate data types and formats before execution.
    • Ensure network access to Conta Azul API endpoints.

Links and References

Discussion