AutomationFlowsGeneral › Notificaciones Inventario

Notificaciones Inventario

Notificaciones Inventario. Uses emailSend. Webhook trigger; 2 nodes.

Webhook trigger★☆☆☆☆ complexity2 nodesEmail Send
General Trigger: Webhook Nodes: 2 Complexity: ★☆☆☆☆ Added:

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "name": "Notificaciones Inventario",
  "nodes": [
    {
      "parameters": {
        "httpMethod": "POST",
        "path": "inventario/reporte",
        "responseMode": "lastNode",
        "options": {}
      },
      "name": "Webhook Inventario",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 1,
      "position": [
        460,
        340
      ]
    },
    {
      "parameters": {
        "authentication": "senderAuth",
        "fromEmail": "sistema@clinica.com",
        "toEmail": "logistica@clinica.com",
        "subject": "={{ $json.body.titulo + ' - ' + $json.body.fecha }}",
        "text": "={{ $json.body.titulo + '\\n\\nProductos:\\n' + $json.body.productos.map(p => '- ' + p.nombre + ': Stock ' + p.stockActual + ' (Min: ' + p.stockMinimo + ') [' + p.estado + ']').join('\\n') }}",
        "html": "={{ '<h1>' + $json.body.titulo + '</h1><p>Fecha: ' + $json.body.fecha + '</p><table border=\"1\"><thead><tr><th>Producto</th><th>Stock Actual</th><th>M\u00ednimo</th><th>Estado</th></tr></thead><tbody>' + $json.body.productos.map(p => '<tr><td>' + p.nombre + '</td><td>' + p.stockActual + '</td><td>' + p.stockMinimo + '</td><td style=\"color: ' + (p.estado === 'CR\u00cdTICO' ? 'red' : 'green') + '\">' + p.estado + '</td></tr>').join('') + '</tbody></table>' }}",
        "options": {}
      },
      "name": "Enviar Email",
      "type": "n8n-nodes-base.emailSend",
      "typeVersion": 1,
      "position": [
        680,
        340
      ],
      "credentials": {
        "smtp": {
          "name": "<your credential>"
        }
      }
    }
  ],
  "connections": {
    "Webhook Inventario": {
      "main": [
        [
          {
            "node": "Enviar Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

Notificaciones Inventario. Uses emailSend. Webhook trigger; 2 nodes.

Source: https://github.com/diegomn19/sis-salud-ocupacional-erp/blob/e969f5fca016933ef05475f3bbda68d71e0a3662/workflows/WF_Inventario.json — original creator credit. Request a take-down →

More General workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

General

Post-Job Google Review Request. Uses emailSend. Webhook trigger; 3 nodes.

Email Send
General

Leave Request Notifications. Uses emailSend. Webhook trigger; 2 nodes.

Email Send
General

MamVibe — Item Sold. Uses emailSend. Webhook trigger; 2 nodes.

Email Send
General

CivicEye Email Workflow. Uses emailSend. Webhook trigger; 2 nodes.

Email Send
General

Attendance Alerts. Uses emailSend. Webhook trigger; 2 nodes.

Email Send