Greenn icon

Greenn

Interagir com a API da Greenn

Criar Produto

AI-generated

Overview

This node interacts with the Greenn API to perform operations related to product management and financial overview. Specifically, the 'Criar Produto' operation allows users to create a new product by providing details such as product name, description, price, SKU, category, and stock quantity. This node is useful for automating product creation workflows in e-commerce or inventory management systems, enabling seamless integration with the Greenn platform.

Use Case Examples

  1. Automatically create new products in Greenn when a new item is added to an inventory database.
  2. Batch upload product details from a spreadsheet to Greenn using this node in an automation workflow.

Properties

Name Meaning
Product Name The name of the product to be created.
Product Description A description of the product.
Additional Fields Optional additional product details including price, SKU, category, and stock quantity.

Output

JSON

  • json - The response from the Greenn API containing the created product details or error information.

Dependencies

  • Greenn API with authentication via an API key credential

Troubleshooting

  • Common issues include API request failures due to invalid or missing credentials, network connectivity problems, or incorrect input data formats.
  • Error messages from the API will be returned in the output JSON under an 'error' property if 'Continue On Fail' is enabled, allowing for graceful error handling in workflows.
  • Ensure all required fields, especially 'Product Name', are provided to avoid validation errors from the API.

Discussion