Universaler KI-Assistent
Dies ist ein Support Chatbot, AI Chatbot-Bereich Automatisierungsworkflow mit 10 Nodes. Hauptsächlich werden Webhook, Agent, RespondToWebhook, LmChatGoogleGemini, MemoryBufferWindow und andere Nodes verwendet. Erstelle einen mit Webhooks unterstützten Dialogassistenten (Google Gemini und Sitzungsspeicher)
- •HTTP Webhook-Endpunkt (wird von n8n automatisch generiert)
- •Google Gemini API Key
Verwendete Nodes (10)
Kategorie
{
"id": "QNRmujxuRedJ4sCy",
"meta": {
"instanceId": "2000c64071c20843606b95c63795bb0797c41036047055a6586498e855b96efc"
},
"name": "Universal ai assistant",
"tags": [],
"nodes": [
{
"id": "a3a31971-a601-4a0a-a306-d5e63a7e33f5",
"name": "KI-Agent",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
920,
-40
],
"parameters": {
"text": "You are a helpful AI assistant designed to provide accurate, concise, and friendly responses to user queries. Your goal is to understand the user's needs and provide relevant information, guidance, or solutions. Always maintain a professional yet approachable tone. If you're unsure about something, acknowledge it honestly and suggest alternative approaches when possible.",
"options": {},
"promptType": "define"
},
"typeVersion": 1.8
},
{
"id": "921ac636-0297-4b7a-aeb1-6c68e9af6885",
"name": "Google Gemini Chat-Modell",
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
"position": [
948,
180
],
"parameters": {
"options": {},
"modelName": "models/gemini-2.0-flash"
},
"credentials": {
"googlePalmApi": {
"id": "l4J5aPMMyPyBTuRg",
"name": "Google Gemini(PaLM) Api account"
}
},
"typeVersion": 1
},
{
"id": "afcdf33e-bce6-4b80-bfee-f6707e307a03",
"name": "Webhook-Trigger",
"type": "n8n-nodes-base.webhook",
"position": [
700,
-40
],
"webhookId": "45cec96e-962d-4e27-ab75-34d25b837032",
"parameters": {
"path": "45cec96e-962d-4e27-ab75-34d25b837032",
"options": {},
"httpMethod": "POST",
"responseMode": "responseNode"
},
"typeVersion": 2
},
{
"id": "317a9c30-7651-47e1-b6aa-64ce4162aa16",
"name": "Auf Webhook-Trigger antworten",
"type": "n8n-nodes-base.respondToWebhook",
"position": [
1296,
-40
],
"parameters": {
"options": {}
},
"typeVersion": 1.1
},
{
"id": "5f0d884e-3a75-49f9-babb-22fff9fb8a87",
"name": "Einfacher Speicher",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"position": [
1068,
180
],
"parameters": {
"sessionKey": "={{ $json.body.sessionId }}",
"sessionIdType": "customKey"
},
"typeVersion": 1.3
},
{
"id": "a5ff29b4-5a46-4716-bd3b-a29c40923e63",
"name": "Notizzettel",
"type": "n8n-nodes-base.stickyNote",
"position": [
420,
-140
],
"parameters": {
"width": 280,
"height": 440,
"content": "## Webhook Entry Point\n\n**Receives requests from:**\n- Website chat widgets\n- Mobile apps\n- Third-party platforms\n- Custom integrations\n\n**Expected payload:**\n```json\n{\n \"message\": \"user question\",\n \"sessionId\": \"unique-session-id\"\n}\n```"
},
"typeVersion": 1
},
{
"id": "6799e102-74fe-49a3-8696-178143b5c7f7",
"name": "Notizzettel1",
"type": "n8n-nodes-base.stickyNote",
"position": [
760,
280
],
"parameters": {
"width": 220,
"height": 260,
"content": "## AI Processing Core\n\n**Powered by Google Gemini 2.0 Flash**\n- Fast response times\n- Context-aware conversations\n- Natural language understanding\n- Maintains conversation history per session"
},
"typeVersion": 1
},
{
"id": "e299b1f8-c6e7-4816-878d-60d3ff8edf14",
"name": "Notizzettel2",
"type": "n8n-nodes-base.stickyNote",
"position": [
1180,
280
],
"parameters": {
"color": 5,
"width": 180,
"height": 340,
"content": "## Session Memory\n\n**Conversation Context:**\n- Remembers previous messages\n- Maintains context per sessionId\n- Enables natural follow-up questions\n- Auto-manages conversation history"
},
"typeVersion": 1
},
{
"id": "b926b0ea-11d6-4773-83bd-ce12c7be40c1",
"name": "Notizzettel3",
"type": "n8n-nodes-base.stickyNote",
"position": [
1380,
-140
],
"parameters": {
"width": 160,
"height": 100,
"content": "## Response Output\n\n**Returns structured response:**\n- AI-generated answer\n- Consistent formatting\n- Ready for frontend display\n- JSON format compatible"
},
"typeVersion": 1
},
{
"id": "456572e3-0abf-408d-a5ab-36cb0e2d5911",
"name": "Notizzettel4",
"type": "n8n-nodes-base.stickyNote",
"position": [
720,
-400
],
"parameters": {
"color": 5,
"width": 300,
"height": 320,
"content": "## 🚀 AI Assistant Workflow\n\n**This workflow creates a conversational AI assistant that can be integrated anywhere:**\n\n✅ Website chat widgets\n✅ Mobile applications \n✅ WhatsApp/Telegram bots\n✅ Custom dashboards\n✅ Third-party platforms\n\n**Simply send POST requests to the webhook URL with your message and sessionId!**"
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "3453d230-0017-4f82-8942-346e34867c63",
"connections": {
"Webhook": {
"main": [
[
{
"node": "a3a31971-a601-4a0a-a306-d5e63a7e33f5",
"type": "main",
"index": 0
}
]
]
},
"a3a31971-a601-4a0a-a306-d5e63a7e33f5": {
"main": [
[
{
"node": "Auf Webhook antworten",
"type": "main",
"index": 0
}
]
]
},
"5f0d884e-3a75-49f9-babb-22fff9fb8a87": {
"ai_memory": [
[
{
"node": "a3a31971-a601-4a0a-a306-d5e63a7e33f5",
"type": "ai_memory",
"index": 0
}
]
]
},
"921ac636-0297-4b7a-aeb1-6c68e9af6885": {
"ai_languageModel": [
[
{
"node": "a3a31971-a601-4a0a-a306-d5e63a7e33f5",
"type": "ai_languageModel",
"index": 0
}
]
]
}
}
}Wie verwende ich diesen Workflow?
Kopieren Sie den obigen JSON-Code, erstellen Sie einen neuen Workflow in Ihrer n8n-Instanz und wählen Sie "Aus JSON importieren". Fügen Sie die Konfiguration ein und passen Sie die Anmeldedaten nach Bedarf an.
Für welche Szenarien ist dieser Workflow geeignet?
Fortgeschritten - Support-Chatbot, KI-Chatbot
Ist es kostenpflichtig?
Dieser Workflow ist völlig kostenlos. Beachten Sie jedoch, dass Drittanbieterdienste (wie OpenAI API), die im Workflow verwendet werden, möglicherweise kostenpflichtig sind.
Verwandte Workflows
David Olusola
@dae221AI automation consultant working with ambitious businesses on their most complex operational challenges. For project inquiries, reach me at david@daexai.com
Diesen Workflow teilen