devtalles

🛒 My Store Agent (n8n + Ollama) 📦🤖✨

Un asistente virtual hecho con n8n para que clientes consulten su orden y (con verificación) puedan actualizar su dirección de entrega. Incluye reglas de privacidad 🔐 y escalación a soporte por correo 📧.

El proyecto integra:


🚀 ¿Qué hace este proyecto?

Este bot:


🏗 Arquitectura

Chat Trigger (Webhook) 💬
        ↓
      AI Agent 🤖
   ├── 🧠 Memory
   ├── 🔎 get_order_information (HTTP GET)
   ├── 🏠 update_address (HTTP PATCH)
   └── 📧 send_email (Gmail)
        ↓
Backend Demo 🗄 (json-server)
http://host.docker.internal:3000/orders/{id}

🔐 Reglas clave (resumen)


🧪 Requisitos


▶️ Backend demo (Orders API)

En /backend:

npm install
npm run start

Esto levanta:

Ejemplo:

http://localhost:3000/orders/1001-2024

▶️ Ejecutar agente

  1. Importa ai-automation/my-store-agent.json en n8n.
  2. Configura credenciales (Modelo + Gmail).
  3. Levanta el backend demo (npm run start).
  4. Activa el workflow y prueba el chat 💬🛒

Made with automation 🧠⚡ by Elliot Garamendi