This workflow follows the Chainllm → Google Gemini Chat recipe pattern — see all workflows that pair these two integrations.
The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"name": "basic-llm",
"nodes": [
{
"parameters": {
"path": "7880f808-f9cb-4f66-8598-bd610b91f55a",
"responseMode": "lastNode",
"options": {
"rawBody": true
}
},
"type": "n8n-nodes-base.webhook",
"typeVersion": 2,
"position": [
-280,
-100
],
"id": "47ca52ba-46b0-47d9-8c95-47db3ce1a39b",
"name": "Webhook"
},
{
"parameters": {
"promptType": "define",
"text": "={{ $json.body.keys()[0].parseJson()['prompt'] }}"
},
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"typeVersion": 1.6,
"position": [
-60,
-100
],
"id": "6e9c6635-d5c6-4abb-a552-900801648491",
"name": "Basic LLM Chain"
},
{
"parameters": {
"modelName": "models/gemini-2.0-flash",
"options": {}
},
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
"typeVersion": 1,
"position": [
-160,
120
],
"id": "5d5a7061-4cdc-4889-afdd-9958c8f707dd",
"name": "Google Gemini Chat Model",
"credentials": {
"googlePalmApi": {
"name": "<your credential>"
}
}
}
],
"connections": {
"Webhook": {
"main": [
[
{
"node": "Basic LLM Chain",
"type": "main",
"index": 0
}
]
]
},
"Google Gemini Chat Model": {
"ai_languageModel": [
[
{
"node": "Basic LLM Chain",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Basic LLM Chain": {
"main": [
[]
]
}
},
"active": true,
"settings": {
"executionOrder": "v1"
},
"versionId": "e1fd3090-0d66-432a-8f9b-cc8bad33c7dd",
"meta": {
"templateCredsSetupCompleted": true
},
"id": "htvcp1manbMEIxEr",
"tags": []
}
Credentials you'll need
Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.
googlePalmApi
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
basic-llm. Uses chainLlm, lmChatGoogleGemini. Webhook trigger; 3 nodes.
Source: https://github.com/anoochit/ai_agent/blob/0abd5f6c447cefc5d9bb9b62732656cd54ab217f/n8n/workflow/basic_llm.json — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
NewsHub — Chatbot Webhook. Uses chainLlm, lmChatGoogleGemini. Webhook trigger; 4 nodes.
ANIS_HUB 1. Uses gmail, googleDrive, googleSheets, httpRequest. Webhook trigger; 89 nodes.
CLINICAINTEGRAL_secretary. Uses postgres, mcpClientTool, googleDriveTool, toolWorkflow. Webhook trigger; 89 nodes.
secretaria. Uses postgres, n8n-nodes-evolution-api, openAi, httpRequest. Webhook trigger; 71 nodes.
Resume Screening & Behavioral Interviews with Gemini, Elevenlabs, & Notion ATS copy. Uses outputParserStructured, chainLlm, googleDrive, stickyNote. Webhook trigger; 67 nodes.