This workflow follows the Agent → Ollama 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": "opengate",
"nodes": [
{
"parameters": {
"httpMethod": "POST",
"path": "2aea4060-7603-4974-9a61-5584a137a895",
"options": {}
},
"type": "n8n-nodes-base.webhook",
"typeVersion": 2,
"position": [
0,
0
],
"id": "46b18bf3-7cd0-4345-b1b1-86709f8ef9f5",
"name": "Webhook"
},
{
"parameters": {
"promptType": "define",
"text": "You are a doorbell camera. You are sent an image whenever a person is seen. Please summarize what you see on the image and who the person / people are.",
"options": {
"systemMessage": "You are a doorbell camera. You are sent an image whenever a person is seen. Please summarize what you see on the image and who the person / people are.\n\nAt the end of the message choose:\nDanger level: LOW/MEDIUM/HIGH",
"passthroughBinaryImages": true
}
},
"type": "@n8n/n8n-nodes-langchain.agent",
"typeVersion": 1.9,
"position": [
340,
200
],
"id": "489796a5-3460-4cdf-8561-51c814fbc67c",
"name": "AI Agent",
"alwaysOutputData": false
},
{
"parameters": {
"model": "Drews54/llama3.2-vision-abliterated:latest",
"options": {}
},
"type": "@n8n/n8n-nodes-langchain.lmChatOllama",
"typeVersion": 1,
"position": [
220,
380
],
"id": "129f0827-d8e9-4a50-83a1-2f36d6ec6177",
"name": "Ollama Chat Model",
"credentials": {
"ollamaApi": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"operation": "sendPhoto",
"chatId": "5148182720",
"binaryData": true,
"binaryPropertyName": "image_file",
"additionalFields": {
"caption": "=PUSH NOTIFICATION VIA n8n, from OPENGATE: {{ $json.body.detected_items_json }}"
}
},
"type": "n8n-nodes-base.telegram",
"typeVersion": 1.2,
"position": [
280,
-60
],
"id": "5bdc1a54-4507-476f-8ca4-4962c80e8cf8",
"name": "send message + image",
"credentials": {
"telegramApi": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"chatId": "5148182720",
"text": "={{ $json.output }}",
"additionalFields": {
"appendAttribution": false
}
},
"type": "n8n-nodes-base.telegram",
"typeVersion": 1.2,
"position": [
740,
200
],
"id": "3ca4e936-7123-483f-9664-68fe33cad203",
"name": "llm description",
"credentials": {
"telegramApi": {
"name": "<your credential>"
}
}
}
],
"connections": {
"Webhook": {
"main": [
[
{
"node": "send message + image",
"type": "main",
"index": 0
},
{
"node": "AI Agent",
"type": "main",
"index": 0
}
]
]
},
"Ollama Chat Model": {
"ai_languageModel": [
[
{
"node": "AI Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"AI Agent": {
"main": [
[
{
"node": "llm description",
"type": "main",
"index": 0
}
]
]
}
},
"active": true,
"settings": {
"executionOrder": "v1"
},
"versionId": "bda4f8e6-92fb-4bd2-80f9-aaa52f78b82d",
"meta": {
"templateCredsSetupCompleted": true
},
"id": "rTXkLpBdpeo5UKXh",
"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.
ollamaApitelegramApi
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
opengate. Uses agent, lmChatOllama, telegram. Webhook trigger; 5 nodes.
Source: https://github.com/OpenGate-RB3/OpenGate-RB3/blob/5343162bc363e20d79fdf30942826dec6f8c9e65/n8n/telegram%2BLLM.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.
Ai Summarizer. Uses agent, lmChatGoogleGemini, lmChatOllama, httpRequestTool. Webhook trigger; 11 nodes.
Are you drowning in daily operational chaos, desperately trying to juggle sales, projects, content, and client communication? Imagine an AI brain that handles it all, freeing you to lead your business
This workflow is for beauty salons who want consistent, high‑quality social media content without writing every post manually. It also suits agencies and automation builders who manage multiple beauty
leads. Uses supabase, gmail, formTrigger, httpRequest. Webhook trigger; 62 nodes.
This workflow is designed for marketers, content creators, agencies, and solo founders who want to publish long‑form posts with visuals on autopilot using n8n and AI agents.