Actions36
- 📦 Producto Actions
- 📊 Stock Actions
- 📋 Movimiento Actions
- 🛒 Venta Actions
- 📥 Recepción Actions
- 📥 Borrador Recepción (n8n) Actions
- 📝 Borrador (texto) Actions
- 🤖 Propuesta IA Actions
- 🏭 Bodega Actions
- 👤 Cliente Actions
- 📚 Catálogo Actions
- 📰 Reportes (legacy) Actions
📥 Borrador Recepción (n8n) → Eliminar
AI-generatedSummary
Deletes a reception draft in the Ditextil inventory system by its numeric ID, using an HTTP DELETE request to /api/reception-drafts/{id}.
Inputs
- ID Borrador (required) — Numeric ID of the reception draft to delete. It is inserted into the request path. Defaults to 0, so set a real ID, for example from an expression that reads the output of a List or Create from Text operation.
Output shape
The JSON body returned by the Ditextil API for the DELETE call, emitted as one or more output items. Each item is linked to its input item.
The node doesn't shape the response, so the contents depend on the API. It may be empty or a simple confirmation. It runs once per input item, so each item can delete a different draft ID. If the API returns an error, the node fails unless 'Continue On Fail' is enabled. In that case it outputs an item with an 'error' message. Authentication uses the ditextilApi credential.
Examples
Example 1: Discard a reception draft that was parsed incorrectly from a WhatsApp message.
Resource: Borrador Recepción (n8n); Operation: Eliminar; ID Borrador: {{ $json.id }} from a previous Create from Text or Get node.
Example 2: Delete a known draft by its fixed ID.
Resource: Borrador Recepción (n8n); Operation: Eliminar; ID Borrador: 42.