☎️ Démonstration Centre d'Appels

Avancé

Ceci est unSupport, AIworkflow d'automatisation du domainecontenant 38 nœuds.Utilise principalement des nœuds comme If, Set, Code, Redis, Switch, combinant la technologie d'intelligence artificielle pour une automatisation intelligente. Centre d'appels avec Chatbot IA : Démonstration Centre d'Appels (Prêt pour la production, Partie 2)

Prérequis
  • Informations de connexion au serveur Redis
  • Informations de connexion à la base de données PostgreSQL
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": "Oe2Qnkb1PoMSaxKw",
  "meta": {
    "instanceId": "daae7bb90c8655b08e0b68de8a52b1178f2812f6a234efb0b0509279dbb70b3e",
    "templateCredsSetupCompleted": true
  },
  "name": "☎️ Demo Call Center",
  "tags": [
    {
      "id": "no8Mb078mvRgw7PS",
      "name": "DEMO",
      "createdAt": "2025-04-30T05:34:10.330Z",
      "updatedAt": "2025-04-30T05:34:10.330Z"
    }
  ],
  "nodes": [
    {
      "id": "66c50a25-19b6-43fc-8131-8bd2ee980cb2",
      "name": "Session",
      "type": "n8n-nodes-base.redis",
      "notes": "{session_id}:session",
      "onError": "continueRegularOutput",
      "position": [
        -1460,
        580
      ],
      "parameters": {},
      "notesInFlow": true,
      "typeVersion": 1
    },
    {
      "id": "c94d1cda-a5ad-4f7b-a12b-310c1203d5b9",
      "name": "Input",
      "type": "n8n-nodes-base.set",
      "position": [
        -2140,
        340
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "864a0b6e-0b01-4ad3-b7a9-d3007a82c788",
      "name": "Test Trigger",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        -2320,
        540
      ],
      "webhookId": "6ad37989-0fb4-4b34-9e4d-017b02eb3199",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "08d3f83c-bc49-4f0e-abb5-809763558b8c",
      "name": "Test Fields",
      "type": "n8n-nodes-base.set",
      "notes": "香港繁體中文",
      "position": [
        -2140,
        540
      ],
      "parameters": {},
      "notesInFlow": true,
      "typeVersion": 3.4
    },
    {
      "id": "55998238-1744-42af-ac9a-2c563bed01f3",
      "name": "Flow Trigger",
      "type": "n8n-nodes-base.executeWorkflowTrigger",
      "position": [
        -2320,
        340
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "c90c1520-e0a2-4a7c-b26f-e343d54605a8",
      "name": "Rate Limiter",
      "type": "n8n-nodes-base.redis",
      "notes": "TTL 90s\n{session_id}:hits",
      "onError": "continueRegularOutput",
      "position": [
        -1800,
        340
      ],
      "parameters": {},
      "notesInFlow": true,
      "typeVersion": 1
    },
    {
      "id": "c34deb24-4124-4ed7-83f3-4a96ad81616c",
      "name": "If Rated",
      "type": "n8n-nodes-base.if",
      "notes": "30 CHATS",
      "position": [
        -1800,
        560
      ],
      "parameters": {},
      "notesInFlow": true,
      "typeVersion": 2.2
    },
    {
      "id": "9efe673e-6935-4567-814f-c2d781af5eab",
      "name": "Rated Output",
      "type": "n8n-nodes-base.set",
      "notes": "Please wait...",
      "position": [
        -1800,
        1340
      ],
      "parameters": {},
      "notesInFlow": true,
      "typeVersion": 3.4
    },
    {
      "id": "e58e8ad3-6d5c-4feb-9d21-cdd91cadf862",
      "name": "Chat Mémoire",
      "type": "n8n-nodes-base.set",
      "notes": "Recall/Create {timestamp}",
      "position": [
        -1260,
        580
      ],
      "parameters": {},
      "notesInFlow": true,
      "typeVersion": 3.4
    },
    {
      "id": "d6b0be18-a95d-4b18-9a3d-49a4e4acf7b9",
      "name": "Note adhésive3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2620,
        280
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "b84bb1ee-3298-48bd-8212-f4a6358330a5",
      "name": "Note adhésive",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1920,
        240
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "2066d93a-6158-4066-94f7-2fad8fe1f37a",
      "name": "Note adhésive1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1560,
        460
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "e2e70473-60ad-4b53-a36a-8498e89a0c6a",
      "name": "Note adhésive2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1940,
        1220
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "bf41212f-31e3-4c15-9b70-8cdd34bc4ed7",
      "name": "Note adhésive4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        520,
        0
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "407df80b-6b3c-4327-a744-3500a1366455",
      "name": "Channel Commutateur",
      "type": "n8n-nodes-base.switch",
      "position": [
        -940,
        580
      ],
      "parameters": {},
      "typeVersion": 3.2
    },
    {
      "id": "935465c9-2578-48c8-82cc-320b77beccf5",
      "name": "Note adhésive5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        0
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "c7bdd165-da05-4fcd-b94e-c42098442e1d",
      "name": "Agent IA",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "onError": "continueErrorOutput",
      "position": [
        -580,
        500
      ],
      "parameters": {},
      "typeVersion": 1.9
    },
    {
      "id": "a02e65e7-65bb-498c-9377-ce3ea81d9a8e",
      "name": "xAI @grok-2-1212",
      "type": "@n8n/n8n-nodes-langchain.lmChatXAiGrok",
      "position": [
        -640,
        700
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "6d9f3ace-c0ed-4d53-8bf3-bdf81756aa5c",
      "name": "Postgres Chat Mémoire",
      "type": "@n8n/n8n-nodes-langchain.memoryPostgresChat",
      "notes": "n8n_chat_memory\n{session_id}:{timestamp}\n30 CHAT, EXPIRY 60m",
      "position": [
        -480,
        700
      ],
      "parameters": {},
      "notesInFlow": true,
      "typeVersion": 1.3
    },
    {
      "id": "7b524e33-baaf-4bfa-b5f6-b2a95d657490",
      "name": "Load User Mémoire",
      "type": "n8n-nodes-base.postgresTool",
      "notes": "n8n_user_memory",
      "position": [
        -480,
        980
      ],
      "parameters": {},
      "notesInFlow": true,
      "typeVersion": 2.6
    },
    {
      "id": "5091a915-f689-4a42-be68-3348095a7a8f",
      "name": "Save User Mémoire",
      "type": "n8n-nodes-base.postgresTool",
      "position": [
        -320,
        980
      ],
      "parameters": {},
      "typeVersion": 2.6
    },
    {
      "id": "3d4ba794-f43b-4293-ad40-4b08cddfd26a",
      "name": "Note adhésive6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -660,
        880
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "ed6bd7e5-15aa-4b68-8664-73476cb86ea0",
      "name": "Taxi Service",
      "type": "@n8n/n8n-nodes-langchain.toolWorkflow",
      "notes": "Demo Taxi Service",
      "position": [
        -260,
        720
      ],
      "parameters": {},
      "notesInFlow": true,
      "typeVersion": 2.2
    },
    {
      "id": "000738a8-1449-494c-915e-c90c905ac898",
      "name": "Provider",
      "type": "n8n-nodes-base.redis",
      "notes": "{session_id}:service:providers",
      "onError": "continueRegularOutput",
      "position": [
        -640,
        240
      ],
      "parameters": {},
      "notesInFlow": true,
      "typeVersion": 1,
      "alwaysOutputData": true
    },
    {
      "id": "62afafe0-f3a0-47ae-9f6e-85d53407a3e7",
      "name": "New Session",
      "type": "n8n-nodes-base.redis",
      "notes": "{session_id}:session",
      "onError": "continueRegularOutput",
      "position": [
        20,
        480
      ],
      "parameters": {},
      "notesInFlow": true,
      "typeVersion": 1
    },
    {
      "id": "0f3472f1-4a88-47df-bc59-40898b41d98e",
      "name": "Output",
      "type": "n8n-nodes-base.set",
      "position": [
        440,
        480
      ],
      "parameters": {},
      "notesInFlow": false,
      "typeVersion": 3.4
    },
    {
      "id": "cc82dbc1-71b4-4696-ae5a-fd5e6dbea5b4",
      "name": "Code",
      "type": "n8n-nodes-base.code",
      "position": [
        -420,
        240
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "9552eed5-d597-446c-9e40-a29157d06441",
      "name": "Test Output",
      "type": "n8n-nodes-base.set",
      "position": [
        200,
        1000
      ],
      "parameters": {},
      "notesInFlow": false,
      "typeVersion": 3.4
    },
    {
      "id": "2a8d673d-0e23-4685-b4c8-c163d9b75afb",
      "name": "Chat Commutateur",
      "type": "n8n-nodes-base.switch",
      "position": [
        200,
        480
      ],
      "parameters": {},
      "typeVersion": 3.2
    },
    {
      "id": "96a6b050-f392-4aaa-a3ab-0c62644ddde7",
      "name": "Provider Commutateur",
      "type": "n8n-nodes-base.switch",
      "position": [
        -220,
        240
      ],
      "parameters": {},
      "typeVersion": 3.2
    },
    {
      "id": "8275c11d-d09c-4271-a4b1-bff18dda1680",
      "name": "Note adhésive7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -320,
        640
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "d1779d3c-835c-44f3-b24d-b04f60b36e87",
      "name": "Note adhésive8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1040,
        460
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "9508ff99-720e-44f4-8a75-f554a008ad63",
      "name": "Note adhésive9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        120,
        880
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "f1451ac8-a4ae-4938-9952-c982b7322e60",
      "name": "Note adhésive10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -720,
        140
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "7030e654-d39b-4342-84ae-90da37d5f513",
      "name": "Error Output",
      "type": "n8n-nodes-base.set",
      "notes": "Please retry.",
      "position": [
        60,
        1320
      ],
      "parameters": {},
      "notesInFlow": true,
      "typeVersion": 3.4
    },
    {
      "id": "9a5ac53e-5297-4f20-ac62-a5c54ab1c89f",
      "name": "Taxi Service Redirect",
      "type": "n8n-nodes-base.executeWorkflow",
      "notes": "Demo Taxi Service",
      "position": [
        240,
        260
      ],
      "parameters": {},
      "notesInFlow": true,
      "typeVersion": 1.2
    },
    {
      "id": "32b1e6ae-f4a1-4b82-aa92-bdb35fb6cabb",
      "name": "Call Back",
      "type": "n8n-nodes-base.executeWorkflow",
      "notes": "Demo Call Back",
      "position": [
        440,
        1340
      ],
      "parameters": {},
      "notesInFlow": true,
      "typeVersion": 1.2
    },
    {
      "id": "bcccdc7a-8d95-498c-9f45-6b5dcc5a45bb",
      "name": "Taxi Booking Worker",
      "type": "n8n-nodes-base.executeWorkflow",
      "notes": "Test Taxi Booking Worker",
      "position": [
        760,
        220
      ],
      "parameters": {},
      "notesInFlow": true,
      "typeVersion": 1.2
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "timezone": "Etc/UTC",
    "callerPolicy": "workflowsFromSameOwner",
    "errorWorkflow": "vuso7W8t402BPcT2",
    "executionOrder": "v1"
  },
  "versionId": "d56863e7-49c5-4265-b819-71806ab5146e",
  "connections": {
    "cc82dbc1-71b4-4696-ae5a-fd5e6dbea5b4": {
      "main": [
        [
          {
            "node": "Provider Switch",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "c94d1cda-a5ad-4f7b-a12b-310c1203d5b9": {
      "main": [
        [
          {
            "node": "Rate Limit",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "0f3472f1-4a88-47df-bc59-40898b41d98e": {
      "main": [
        [
          {
            "node": "32b1e6ae-f4a1-4b82-aa92-bdb35fb6cabb",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "66c50a25-19b6-43fc-8131-8bd2ee980cb2": {
      "main": [
        [
          {
            "node": "Chat Memory",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent": {
      "main": [
        [
          {
            "node": "62afafe0-f3a0-47ae-9f6e-85d53407a3e7",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "7030e654-d39b-4342-84ae-90da37d5f513",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "c34deb24-4124-4ed7-83f3-4a96ad81616c": {
      "main": [
        [
          {
            "node": "9efe673e-6935-4567-814f-c2d781af5eab",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "66c50a25-19b6-43fc-8131-8bd2ee980cb2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "000738a8-1449-494c-915e-c90c905ac898": {
      "main": [
        [
          {
            "node": "cc82dbc1-71b4-4696-ae5a-fd5e6dbea5b4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Rate Limit": {
      "main": [
        [
          {
            "node": "c34deb24-4124-4ed7-83f3-4a96ad81616c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Chat Memory": {
      "main": [
        [
          {
            "node": "Channel Switch",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Chat Switch": {
      "main": [
        [
          {
            "node": "0f3472f1-4a88-47df-bc59-40898b41d98e",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "0f3472f1-4a88-47df-bc59-40898b41d98e",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "9552eed5-d597-446c-9e40-a29157d06441",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "62afafe0-f3a0-47ae-9f6e-85d53407a3e7": {
      "main": [
        [
          {
            "node": "Chat Switch",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "08d3f83c-bc49-4f0e-abb5-809763558b8c": {
      "main": [
        [
          {
            "node": "c94d1cda-a5ad-4f7b-a12b-310c1203d5b9",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "7030e654-d39b-4342-84ae-90da37d5f513": {
      "main": [
        [
          {
            "node": "32b1e6ae-f4a1-4b82-aa92-bdb35fb6cabb",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "55998238-1744-42af-ac9a-2c563bed01f3": {
      "main": [
        [
          {
            "node": "c94d1cda-a5ad-4f7b-a12b-310c1203d5b9",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "9efe673e-6935-4567-814f-c2d781af5eab": {
      "main": [
        [
          {
            "node": "32b1e6ae-f4a1-4b82-aa92-bdb35fb6cabb",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ed6bd7e5-15aa-4b68-8664-73476cb86ea0": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "864a0b6e-0b01-4ad3-b7a9-d3007a82c788": {
      "main": [
        [
          {
            "node": "08d3f83c-bc49-4f0e-abb5-809763558b8c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Channel Switch": {
      "main": [
        [
          {
            "node": "000738a8-1449-494c-915e-c90c905ac898",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Provider Switch": {
      "main": [
        [
          {
            "node": "bcccdc7a-8d95-498c-9f45-6b5dcc5a45bb",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "9a5ac53e-5297-4f20-ac62-a5c54ab1c89f",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Load User Memory": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Save User Memory": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "a02e65e7-65bb-498c-9377-ce3ea81d9a8e": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Postgres Chat Memory": {
      "ai_memory": [
        [
          {
            "node": "AI Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    }
  }
}
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é - Support, 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œuds38
Catégorie2
Types de nœuds14
Description de la difficulté

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

Auteur
ChatPayLabs

ChatPayLabs

@chatpaylabs

Production Ready AI n8n Workflow Templates Startup Fundraising 💰 Support Us 🦄

Liens externes
Voir sur n8n.io

Partager ce workflow

Catégories

Catégories: 34