Block 1 - When chat message received
- Type / Role
- @n8n/n8n-nodes-langchain.chatTrigger - chatTrigger
- Config choices
- Version 1.3
This workflow is provided as-is. Please review and test before using in production.
This workflow allows you to integrate the Google Gemini CLI into your n8n AI Agents. It is designed for self hosted n8n instances and enables you to chat with the Gemini CLI running on your local m...
@n8n/n8n-nodes-langchain.chattrigger, @n8n/n8n-nodes-langchain.memorybufferwindow, @n8n/n8n-nodes-langchain.lmchatgooglegemini, @n8n/n8n-nodes-langchain.toolworkflow, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.noop, n8n-nodes-base.stickynote, n8n-nodes-base.ssh
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Alexandru Florea.
Original n8n.io sourceThis workflow allows you to integrate the Google Gemini CLI into your n8n AI Agents. It is designed for self-hosted n8n instances and enables you to chat with the Gemini CLI running on your local machine or server via SSH.
This is powerful for users who want to utilize the free tier of Gemini via Google's CLI tools or need the AI to interact with local files on the host server.
gemini command with your prompt, and returns the CLI's standard output to the chat.gemini-chat-cli installed on your host machine.This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
| Workflow | Chat with Gemini AI through local CLI via SSH |
|---|---|
| Complexity | intermediate |
| Nodes | 13 |
| Categories | Internal Wiki, AI Chatbot |
| Author | Alexandru Florea |
| Published | 16 Dec 2025 |
Use the JSON export at /data/workflows/11843/11843.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
This workflow allows you to integrate the Google Gemini CLI into your n8n AI Agents. It is designed for self hosted n8n instances and enables you to chat with the Gemini CLI running on your local m...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Internal Wiki, AI Chatbot use case.