This workflow follows the Agent → HTTP Request 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": "My workflow",
"nodes": [
{
"parameters": {
"rule": {
"interval": [
{
"field": "minutes"
}
]
}
},
"type": "n8n-nodes-base.scheduleTrigger",
"typeVersion": 1.3,
"position": [
0,
0
],
"id": "4d9bb515-c5f1-499f-83d1-6270c0141a93",
"name": "Schedule Trigger"
},
{
"parameters": {
"url": "https://api.coinbase.com/v2/prices/BTC-USD/spot",
"options": {}
},
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.4,
"position": [
256,
0
],
"id": "ef157e87-dc1c-4a2d-9379-fc3118d94904",
"name": "HTTP Request"
},
{
"parameters": {
"promptType": "define",
"text": "={{ $json.data }}",
"messages": {
"messageValues": [
{
"type": "HumanMessagePromptTemplate",
"message": "=what is the current price of the Bitcoin? "
}
]
},
"batching": {}
},
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"typeVersion": 1.9,
"position": [
576,
0
],
"id": "58a24fcc-f776-46fa-8ba5-282cca6a8561",
"name": "Basic LLM Chain"
},
{
"parameters": {
"modelName": "models/gemini-3.1-flash-lite",
"options": {}
},
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
"typeVersion": 1.1,
"position": [
576,
208
],
"id": "411441f0-ce2d-4d03-b6c6-5f245f092255",
"name": "Google Gemini Chat Model",
"credentials": {
"googlePalmApi": {
"name": "<your credential>"
}
}
}
],
"connections": {
"Schedule Trigger": {
"main": [
[
{
"node": "HTTP Request",
"type": "main",
"index": 0
}
]
]
},
"HTTP Request": {
"main": [
[
{
"node": "Basic LLM Chain",
"type": "main",
"index": 0
}
]
]
},
"Google Gemini Chat Model": {
"ai_languageModel": [
[
{
"node": "Basic LLM Chain",
"type": "ai_languageModel",
"index": 0
}
]
]
}
},
"active": false,
"settings": {
"executionOrder": "v1",
"binaryMode": "separate"
},
"versionId": "edd67605-f270-4368-86d2-71e187f15e27",
"meta": {
"templateCredsSetupCompleted": true
},
"nodeGroups": [],
"id": "zVSyvCiXAfdUvVpB",
"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.
githubApigooglePalmApi
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
N8N. Uses lmChatGoogleGemini, httpRequest, agent, memoryBufferWindow. Webhook trigger; 10 nodes.
Source: https://github.com/nguyendangthinhit/CDIO_2/blob/c0f9695e8942fc2ad548d0350b96917a650e482b/n8n/n8n.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.
N8N 23 9. Uses memoryBufferWindow, lmChatGoogleGemini, githubTool, agent. Webhook trigger; 32 nodes.
N8N 30 9. Uses memoryBufferWindow, lmChatGoogleGemini, agent, httpRequest. Webhook trigger; 23 nodes.
Demo: My first AI Agent in n8n. Uses agent, memoryBufferWindow, githubTool, lmChatGoogleGemini. Webhook trigger; 14 nodes.
N8N 9 9. Uses agent, memoryBufferWindow, githubTool, lmChatGoogleGemini. Webhook trigger; 10 nodes.
N8N 10 9. Uses memoryBufferWindow, lmChatGoogleGemini, httpRequest, githubTool. Webhook trigger; 10 nodes.