Create your first AI agent
$20/month : Unlimited workflows
2500 executions/month
THE #1 IN WEB SCRAPING
Scrape any website without limits
HOSTINGER 🎉 Early Black Friday Deal
DISCOUNT 20% Try free
DISCOUNT 20%
Self-hosted n8n
Unlimited workflows - from $4.99/mo
#1 hub for scraping, AI & automation
6000+ actors - $5 credits/mo
Who is this for?
This workflow is designed for anyone who wants to automate AI-driven chat responses integrated with Google Docs and Google Sheets, using the Google Gemini (PaLM) language model via n8n. It’s perfect for teams looking to:
- Automatically generate AI replies to chat messages,
- Pull content dynamically from Google Docs,
What this Workflow Does
- Receives chat messages via a webhook trigger.
- Sends the chat input to the Google Gemini AI Chat Model for generating replies.
- Optionally retrieves a document from Google Docs if a URL or ID is provided.
- Uses an AI agent node to coordinate between the AI model and tools like Google Docs.
Key Features
- Integration with Google Gemini (PaLM) AI for natural language understanding and response generation.
- Ability to fetch and use data from Google Docs dynamically.
- Modular structure using n8n nodes for flexibility and easy customization.
- Credential management for Google APIs (Docs, Gemini) via n8n’s built-in credential system.
Get Your Google AI API Key
- Visit Google AI Studio.
- Click "Create API key in new project".
- Copy the API key that appears.
Add Your Credential in n8n
- On the workflow canvas, go to the Connect your model (Google Gemini) node.
- Click the Credential dropdown and select + Create New Credential.
- Paste your API key into the
API Keyfield. - Click Save.
Start Chatting!
- Go to the Example Chat node.
- Click the "Open Chat" button in its parameter panel.
- Try asking it one of the example questions:
- "What's your name?"
- "What time now in bangladesh?"
- "What's the weather in bangladesh?"
You're now ready to chat with your personal AI agent powered by Google Gemini! 🎉
Requirements
- n8n instance with internet access.
- Google Cloud account with:
- Access to PaLM API (Google Gemini).
- Proper OAuth2 credentials configured in n8n for Google APIs.
🙋 For Help & Community
- 👾 Discord: n8n channel
- 🌐 Website: devcodejourney.com
- 🔗 LinkedIn: Connect with Shakil
- 📱 WhatsApp Channel: Join Now
- 💬 Direct Chat: Message Now