Ditextil Inventory

Operaciones completas para la API de inventario Ditextil

🤖 Propuesta IA → Crear Propuesta

AI-generated

Summary

Creates an AI proposal by sending the selected action, JSON payload, confidence score, and optional reason to the Ditextil API. The proposal is submitted for review; this operation does not approve or apply it.

Inputs

  • Acción (required) — Action the proposal represents; defaults to create_product.
  • Payload JSON (required) — JSON data for the proposed action; defaults to an example product with a name and SKU. Invalid JSON causes an error.
  • Confianza (0-1) — Confidence score from 0 to 1; defaults to 0.9.
  • Razón — Optional explanation for the proposal; defaults to an empty string.

Output shape

A single JSON item containing the API response for the created proposal, for each incoming item.

Sends a POST request to /api/ai/proposals with source set to n8n. Requires Ditextil API credentials. Errors stop execution unless Continue On Fail is enabled, in which case an item with an error field is returned.

Links

Discussion