workflows.fit
Back to n8n workflows
n8n templateFreeBy DevCode Journey

Create your first AI agent

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 f...

AILangchainCore NodesAgentSticky NoteGoogle Gemini ToolGoogle Docs Tool
Loading interactive preview...

Template notes

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 1. Visit [Google AI Studio](https://aistudio.google.com/app/apikey). 2. Click "Create API key in new project". 3. Copy the API key that appears.

Add Your Credential in n8n 1. On the workflow canvas, go to the Connect your model (Google Gemini) node. 2. Click the Credential dropdown and select + Create New Credential. 3. Paste your API key into the API Key field. 4. Click Save.