Tableurs et calculatrices
Ceci est unAI Chatbot, Multimodal AIworkflow d'automatisation du domainecontenant 12 nœuds.Utilise principalement des nœuds comme Agent, GoogleSheetsTool, ChatTrigger, LmChatOpenAi, ToolCalculator. utilisationGPT-4自然语言traitementet计算器gestionGoogle Sheetsdonnées
- •Informations d'identification Google Sheets API
- •Clé API OpenAI
Nœuds utilisés (12)
Catégorie
{
"id": "pBNm2caehtwbDPQb",
"meta": {
"instanceId": "c6fffa5bc1b2dcfd92357a5ec64832af921376f0ee8e89f229233d1ed315a8c1",
"templateCredsSetupCompleted": true
},
"name": "Sheet and Calculator",
"tags": [],
"nodes": [
{
"id": "18e19260-c46a-4dad-9eab-490cbee01da3",
"name": "À la réception du message",
"type": "@n8n/n8n-nodes-langchain.chatTrigger",
"position": [
1360,
-352
],
"webhookId": "1bf95244-fbc3-4210-9420-f34a45c4f5f5",
"parameters": {
"options": {}
},
"typeVersion": 1.1
},
{
"id": "30b3ac84-1632-4dae-b0f7-d8a45b9b81d8",
"name": "Agent IA",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
1616,
-352
],
"parameters": {
"options": {}
},
"typeVersion": 2.1
},
{
"id": "815e0be5-4c6e-48c8-ac9b-a1a46c59d98d",
"name": "Simple Mémoire",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"position": [
1616,
-48
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "65db670b-b985-41cf-bd78-4b72939be418",
"name": "Update",
"type": "n8n-nodes-base.googleSheetsTool",
"position": [
1744,
320
],
"parameters": {
"columns": {
"value": {
"ID": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('ID__using_to_match_', ``, 'string') }}",
"Name": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Name', ``, 'string') }}"
},
"schema": [
{
"id": "ID",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "ID",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Name",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Name",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "row_number",
"type": "number",
"display": true,
"removed": true,
"readOnly": true,
"required": false,
"displayName": "row_number",
"defaultMatch": false,
"canBeUsedToMatch": true
}
],
"mappingMode": "defineBelow",
"matchingColumns": [
"ID"
],
"attemptToConvertTypes": false,
"convertFieldsToString": false
},
"options": {},
"operation": "update",
"sheetName": {
"__rl": true,
"mode": "list",
"value": "gid=0",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1vbFb2dhys1VafAmX-hRtiyrEDgNKj_xaAA6ZmH09EL8/edit#gid=0",
"cachedResultName": "Sheet1"
},
"documentId": {
"__rl": true,
"mode": "list",
"value": "1vbFb2dhys1VafAmX-hRtiyrEDgNKj_xaAA6ZmH09EL8",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1vbFb2dhys1VafAmX-hRtiyrEDgNKj_xaAA6ZmH09EL8/edit?usp=drivesdk",
"cachedResultName": "Demo"
}
},
"credentials": {
"googleSheetsOAuth2Api": {
"id": "p8TFiJI7j90cCF0X",
"name": "Google Sheets account"
}
},
"typeVersion": 4.6
},
{
"id": "00ff76b8-c270-40f5-b6b0-00410c7bb05e",
"name": "Create",
"type": "n8n-nodes-base.googleSheetsTool",
"position": [
1552,
320
],
"parameters": {
"columns": {
"value": {
"ID": "={{ `${Math.random()}`.replace('0.', '') }}",
"Name": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Name', ``, 'string') }}"
},
"schema": [
{
"id": "ID",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "ID",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Name",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Name",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "row_number",
"type": "number",
"display": true,
"removed": true,
"readOnly": true,
"required": false,
"displayName": "row_number",
"defaultMatch": false,
"canBeUsedToMatch": true
}
],
"mappingMode": "defineBelow",
"matchingColumns": [
"ID"
],
"attemptToConvertTypes": false,
"convertFieldsToString": false
},
"options": {},
"operation": "append",
"sheetName": {
"__rl": true,
"mode": "list",
"value": "gid=0",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1vbFb2dhys1VafAmX-hRtiyrEDgNKj_xaAA6ZmH09EL8/edit#gid=0",
"cachedResultName": "Sheet1"
},
"documentId": {
"__rl": true,
"mode": "list",
"value": "1vbFb2dhys1VafAmX-hRtiyrEDgNKj_xaAA6ZmH09EL8",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1vbFb2dhys1VafAmX-hRtiyrEDgNKj_xaAA6ZmH09EL8/edit?usp=drivesdk",
"cachedResultName": "Demo"
}
},
"credentials": {
"googleSheetsOAuth2Api": {
"id": "p8TFiJI7j90cCF0X",
"name": "Google Sheets account"
}
},
"typeVersion": 4.6
},
{
"id": "4b24fbb2-a147-4360-ad66-d0274188d18d",
"name": "Read",
"type": "n8n-nodes-base.googleSheetsTool",
"position": [
2096,
-48
],
"parameters": {
"options": {},
"sheetName": {
"__rl": true,
"mode": "list",
"value": "gid=0",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1vbFb2dhys1VafAmX-hRtiyrEDgNKj_xaAA6ZmH09EL8/edit#gid=0",
"cachedResultName": "Sheet1"
},
"documentId": {
"__rl": true,
"mode": "list",
"value": "1vbFb2dhys1VafAmX-hRtiyrEDgNKj_xaAA6ZmH09EL8",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1vbFb2dhys1VafAmX-hRtiyrEDgNKj_xaAA6ZmH09EL8/edit?usp=drivesdk",
"cachedResultName": "Demo"
}
},
"credentials": {
"googleSheetsOAuth2Api": {
"id": "p8TFiJI7j90cCF0X",
"name": "Google Sheets account"
}
},
"typeVersion": 4.6
},
{
"id": "ce66d9d2-52e6-43c6-a571-3f83c1bad082",
"name": "Delete",
"type": "n8n-nodes-base.googleSheetsTool",
"position": [
1952,
320
],
"parameters": {
"operation": "delete",
"sheetName": {
"__rl": true,
"mode": "list",
"value": "gid=0",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1vbFb2dhys1VafAmX-hRtiyrEDgNKj_xaAA6ZmH09EL8/edit#gid=0",
"cachedResultName": "Sheet1"
},
"documentId": {
"__rl": true,
"mode": "list",
"value": "1vbFb2dhys1VafAmX-hRtiyrEDgNKj_xaAA6ZmH09EL8",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1vbFb2dhys1VafAmX-hRtiyrEDgNKj_xaAA6ZmH09EL8/edit?usp=drivesdk",
"cachedResultName": "Demo"
},
"startIndex": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Start_Row_Number', ``, 'number') }}",
"numberToDelete": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Number_of_Rows_to_Delete', ``, 'number') }}"
},
"credentials": {
"googleSheetsOAuth2Api": {
"id": "p8TFiJI7j90cCF0X",
"name": "Google Sheets account"
}
},
"typeVersion": 4.6
},
{
"id": "f6cde544-c9fa-4bf1-b516-ec7af05cc7a8",
"name": "Note adhésive",
"type": "n8n-nodes-base.stickyNote",
"position": [
832,
-368
],
"parameters": {
"color": 3,
"width": 440,
"height": 460,
"content": "### Readme\nThis agent uses tools to interact with a simple spreadsheet of orders.\n\n**Quick Start**\n1. Copy this [spreadsheet](https://docs.google.com/spreadsheets/d/1vbFb2dhys1VafAmX-hRtiyrEDgNKj_xaAA6ZmH09EL8/edit?usp=sharing) into your Google Drive.\n2. Open the **Read** tool and connect your Google account by creating a credential and selecting the spreadsheet.\n3. Ask the Agent to calculate the total in the amount column, you should see it use the **Read** tool followed by the **Calculator**.\n4. Try some other questions and see how the agent responds.\n5. Use what you've learned to connect the other tools in the **Next steps** section.\n\n---\n\n**Learn More**\n- [Google sheet tool documentation](https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.googlesheets/?utm_source=n8n_app&utm_medium=node_settings_modal-credential_link&utm_campaign=n8n-nodes-base.googleSheetsTool)\n- [Calculator tool documentation](https://docs.n8n.io/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.toolcalculator/)"
},
"typeVersion": 1
},
{
"id": "734f1080-5542-4359-8ec1-27cf481dde86",
"name": "Calculatrice",
"type": "@n8n/n8n-nodes-langchain.toolCalculator",
"position": [
2240,
-48
],
"parameters": {},
"typeVersion": 1
},
{
"id": "64f83e07-e9ae-4e5f-8578-6e1bca416514",
"name": "Model",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
1456,
-48
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4.1-mini"
},
"options": {}
},
"credentials": {
"openAiApi": {
"id": "2p1WdcZp3d7uKHNu",
"name": "OpenAi account"
}
},
"typeVersion": 1.2
},
{
"id": "ec7083eb-b495-4f8f-884a-e0001b2f6f69",
"name": "Note adhésive1",
"type": "n8n-nodes-base.stickyNote",
"position": [
2016,
-112
],
"parameters": {
"color": 7,
"width": 368,
"height": 224,
"content": "## 🛠️ Tools"
},
"typeVersion": 1
},
{
"id": "b8efce3b-7831-4546-a5d6-001d4e8218c1",
"name": "Note adhésive2",
"type": "n8n-nodes-base.stickyNote",
"position": [
1488,
176
],
"parameters": {
"color": 7,
"width": 592,
"height": 320,
"content": "## 🛠️ Next steps\n\nConnect these tools to perform create, read and update actions on your order list."
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "341d69bc-48c8-4e3d-90e0-f72065a24521",
"connections": {
"4b24fbb2-a147-4360-ad66-d0274188d18d": {
"ai_tool": [
[
{
"node": "AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"64f83e07-e9ae-4e5f-8578-6e1bca416514": {
"ai_languageModel": [
[
{
"node": "AI Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"00ff76b8-c270-40f5-b6b0-00410c7bb05e": {
"ai_tool": [
[
{
"node": "AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"ce66d9d2-52e6-43c6-a571-3f83c1bad082": {
"ai_tool": [
[
{
"node": "AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"65db670b-b985-41cf-bd78-4b72939be418": {
"ai_tool": [
[
{
"node": "AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Calculator": {
"ai_tool": [
[
{
"node": "AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Simple Memory": {
"ai_memory": [
[
{
"node": "AI Agent",
"type": "ai_memory",
"index": 0
}
]
]
},
"When chat message received": {
"main": [
[
{
"node": "AI Agent",
"type": "main",
"index": 0
}
]
]
}
}
}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é ?
Intermédiaire - Chatbot IA, IA Multimodale
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.
Workflows recommandés
Partager ce workflow