Templates / Chat with Gemini AI through local CLI via SSH

Chat with Gemini AI through local CLI via SSH

Ready for 3.0

by Alexandru Florea · 1,203 views · created 2025-12-16 · Internal Wiki, AI Chatbot

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 9 nodes and runs when another workflow calls it (plus 1 other trigger). Along the way it connects Google Gemini Chat Model.

How it runs

Trigger: When another workflow calls it (plus 1 other trigger).

  1. Execute a command (SSH): uses SSH
  2. AI Agent: runs an AI agent, with model: Google Gemini Chat Model; 1 tool (Call 'Gemini CLI')
  3. Edit Fields (Edit Fields (Set)): sets 1 field: answer

Services it uses

Google Gemini Chat Model

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (9)

From the author

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 machine or server via SSH. This is powerful for users who want…

Excerpt from Alexandru Florea's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.