餐厅commande与菜单automatisationRAG系统模板

Avancé

Ceci est unAIworkflow d'automatisation du domainecontenant 21 nœuds.Utilise principalement des nœuds comme If, Supabase, WhatsApp, FormTrigger, SupabaseTool, combinant la technologie d'intelligence artificielle pour une automatisation intelligente. 基于AIde餐厅commande与菜单gestion,intégrationWhatsAppetGoogle Gemini

Prérequis
  • URL et Clé API Supabase
  • Clé API Google Gemini
Aperçu du workflow
Visualisation des connexions entre les nœuds, avec support du zoom et du déplacement
Exporter le workflow
Copiez la configuration JSON suivante dans n8n pour importer et utiliser ce workflow
{
  "id": "EKJBH7M555cnXxwU",
  "meta": {
    "instanceId": "b5a944ba8839572df11fe1edab9898c0cc0a8b920d79a8a9e1ccb59618a73552",
    "templateCredsSetupCompleted": true
  },
  "name": "Restaurant Orders and Menu automation RAG  System Template",
  "tags": [],
  "nodes": [
    {
      "id": "745c722b-897d-4113-bda4-aae1c6d3b27f",
      "name": "WhatsApp Trigger",
      "type": "n8n-nodes-base.whatsAppTrigger",
      "position": [
        -400,
        -280
      ],
      "webhookId": "cdf8ab22-d835-4254-87d0-745c5b689f64",
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "9b9f346b-d86f-4179-a722-90dfacf01d20",
      "name": "Agent IA",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        632,
        -280
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "839ec974-57ea-40d9-ad5d-79275cd25f22",
      "name": "Envoyer le dernier message",
      "type": "n8n-nodes-base.whatsApp",
      "position": [
        1336,
        -280
      ],
      "webhookId": "3ea2d08e-30a4-4408-8140-d62f37e71fde",
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "e34bdcc9-e4df-4e82-8e17-dfacbedd5a41",
      "name": "Obtenir l'utilisateur",
      "type": "n8n-nodes-base.supabase",
      "position": [
        -180,
        -280
      ],
      "parameters": {},
      "typeVersion": 1,
      "alwaysOutputData": true
    },
    {
      "id": "7ef6846e-71a6-4a9a-a31e-4125c937c5d7",
      "name": "Vérifier si l'utilisateur existe",
      "type": "n8n-nodes-base.if",
      "position": [
        40,
        -280
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "73dcb97b-75cf-4c47-9138-f709ffcc7c4c",
      "name": "Ajouter l'utilisateur à la base de données",
      "type": "n8n-nodes-base.supabase",
      "position": [
        260,
        -205
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "48a8dc25-748d-4329-97f0-0b1d9272378a",
      "name": "Mémoire simple",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        640,
        -120
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "8c89d461-b237-49e0-9b6d-30d1477fad11",
      "name": "Analyseur de sortie structurée",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        920,
        -120
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "9a7b9c60-7673-4622-962f-45198b77894a",
      "name": "Condition Si",
      "type": "n8n-nodes-base.if",
      "position": [
        1556,
        -280
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "9ffd5bae-b8f6-4a1c-b095-b4af9c570802",
      "name": "Créer une commande en base de données",
      "type": "n8n-nodes-base.supabaseTool",
      "position": [
        580,
        180
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "90aaf3f1-45a5-4b85-947e-c66b90a1034b",
      "name": "Ajouter un élément de menu",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -400,
        580
      ],
      "webhookId": "4b906832-a75c-4899-bb16-191e3186644d",
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "68b376ad-c032-4dd4-8b81-e3b746ef6852",
      "name": "Chargeur de données par défaut",
      "type": "@n8n/n8n-nodes-langchain.documentDefaultDataLoader",
      "position": [
        0,
        1040
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "507ca6a5-4e84-46ac-8685-80d34665f739",
      "name": "Note adhésive",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -740,
        -300
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "d14ab52b-be57-4848-9479-5e281e997eae",
      "name": "Note adhésive1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -720,
        560
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "dc6aea8a-3817-401c-881d-16473d1a3a6c",
      "name": "Note adhésive2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1840,
        -500
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "8480f082-c333-465c-9013-ccf7c4ca0a93",
      "name": "Google Gemini Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        480,
        -100
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "9ca59c15-6c8d-4075-a8e0-5702b1b9253b",
      "name": "Embeddings Google Gemini",
      "type": "@n8n/n8n-nodes-langchain.embeddingsGoogleGemini",
      "position": [
        340,
        840
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "b379404a-2990-4ac8-bf8d-52f8140848ff",
      "name": "Google Gemini Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        1040,
        20
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "c17857f8-8723-413c-a366-ac0227a2b74c",
      "name": "Envoyer la commande au livreur",
      "type": "n8n-nodes-base.whatsApp",
      "position": [
        1800,
        -340
      ],
      "webhookId": "2bdb6a82-ba1e-4a04-80d3-890e8e9daf50",
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "835ebb28-6c0f-44c9-88bf-84589275e40b",
      "name": "Insérer l'élément de menu dans le Vector Store",
      "type": "@n8n/n8n-nodes-langchain.vectorStoreSupabase",
      "position": [
        -120,
        580
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "89134aa0-5a75-4f0d-b369-6206eccba221",
      "name": "Obtenir les éléments de menu depuis le Vector Store",
      "type": "@n8n/n8n-nodes-langchain.vectorStoreSupabase",
      "position": [
        740,
        200
      ],
      "parameters": {},
      "typeVersion": 1.3
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "8b3b31b9-18af-4967-8302-a737298764fa",
  "connections": {
    "9a7b9c60-7673-4622-962f-45198b77894a": {
      "main": [
        [
          {
            "node": "c17857f8-8723-413c-a366-ac0227a2b74c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "9b9f346b-d86f-4179-a722-90dfacf01d20": {
      "main": [
        [
          {
            "node": "839ec974-57ea-40d9-ad5d-79275cd25f22",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "e34bdcc9-e4df-4e82-8e17-dfacbedd5a41": {
      "main": [
        [
          {
            "node": "7ef6846e-71a6-4a9a-a31e-4125c937c5d7",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "90aaf3f1-45a5-4b85-947e-c66b90a1034b": {
      "main": [
        [
          {
            "node": "835ebb28-6c0f-44c9-88bf-84589275e40b",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "48a8dc25-748d-4329-97f0-0b1d9272378a": {
      "ai_memory": [
        [
          {
            "node": "9b9f346b-d86f-4179-a722-90dfacf01d20",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "73dcb97b-75cf-4c47-9138-f709ffcc7c4c": {
      "main": [
        [
          {
            "node": "9b9f346b-d86f-4179-a722-90dfacf01d20",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "745c722b-897d-4113-bda4-aae1c6d3b27f": {
      "main": [
        [
          {
            "node": "e34bdcc9-e4df-4e82-8e17-dfacbedd5a41",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "839ec974-57ea-40d9-ad5d-79275cd25f22": {
      "main": [
        [
          {
            "node": "9a7b9c60-7673-4622-962f-45198b77894a",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "68b376ad-c032-4dd4-8b81-e3b746ef6852": {
      "ai_document": [
        [
          {
            "node": "835ebb28-6c0f-44c9-88bf-84589275e40b",
            "type": "ai_document",
            "index": 0
          }
        ]
      ]
    },
    "7ef6846e-71a6-4a9a-a31e-4125c937c5d7": {
      "main": [
        [
          {
            "node": "9b9f346b-d86f-4179-a722-90dfacf01d20",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "73dcb97b-75cf-4c47-9138-f709ffcc7c4c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "9ffd5bae-b8f6-4a1c-b095-b4af9c570802": {
      "ai_tool": [
        [
          {
            "node": "9b9f346b-d86f-4179-a722-90dfacf01d20",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "9ca59c15-6c8d-4075-a8e0-5702b1b9253b": {
      "ai_embedding": [
        [
          {
            "node": "835ebb28-6c0f-44c9-88bf-84589275e40b",
            "type": "ai_embedding",
            "index": 0
          },
          {
            "node": "89134aa0-5a75-4f0d-b369-6206eccba221",
            "type": "ai_embedding",
            "index": 0
          }
        ]
      ]
    },
    "8480f082-c333-465c-9013-ccf7c4ca0a93": {
      "ai_languageModel": [
        [
          {
            "node": "9b9f346b-d86f-4179-a722-90dfacf01d20",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "8c89d461-b237-49e0-9b6d-30d1477fad11": {
      "ai_outputParser": [
        [
          {
            "node": "9b9f346b-d86f-4179-a722-90dfacf01d20",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "b379404a-2990-4ac8-bf8d-52f8140848ff": {
      "ai_languageModel": [
        [
          {
            "node": "8c89d461-b237-49e0-9b6d-30d1477fad11",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "89134aa0-5a75-4f0d-b369-6206eccba221": {
      "ai_tool": [
        [
          {
            "node": "9b9f346b-d86f-4179-a722-90dfacf01d20",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "835ebb28-6c0f-44c9-88bf-84589275e40b": {
      "ai_tool": [
        []
      ]
    }
  }
}
Foire aux questions

Comment utiliser ce workflow ?

Copiez le code de configuration JSON ci-dessus, créez un nouveau workflow dans votre instance n8n et sélectionnez "Importer depuis le JSON", collez la configuration et modifiez les paramètres d'authentification selon vos besoins.

Dans quelles scénarios ce workflow est-il adapté ?

Avancé - Intelligence Artificielle

Est-ce payant ?

Ce workflow est entièrement gratuit et peut être utilisé directement. Veuillez noter que les services tiers utilisés dans le workflow (comme l'API OpenAI) peuvent nécessiter un paiement de votre part.

Informations sur le workflow
Niveau de difficulté
Avancé
Nombre de nœuds21
Catégorie1
Types de nœuds14
Description de la difficulté

Adapté aux utilisateurs avancés, avec des workflows complexes contenant 16+ nœuds

Liens externes
Voir sur n8n.io

Partager ce workflow

Catégories

Catégories: 34