Block 1 - Send Request to Google Gemini
- Type / Role
- n8n-nodes-base.httpRequest - httpRequest
- Config choices
- Version 4.2
This workflow is provided as-is. Please review and test before using in production.
: This workflow is designed to handle user inputs via a webhook, process the inputs with the Google Gemini API (specifically the gemini 2.0 flash thinking exp 1219 model), and return a structured r...
n8n-nodes-base.httprequest, n8n-nodes-base.respondtowebhook, n8n-nodes-base.webhook, n8n-nodes-base.code, n8n-nodes-base.stickynote
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Mauricio Perera.
Original n8n.io sourceThis workflow is designed to handle user inputs via a webhook, process the inputs with the Google Gemini API (specifically the gemini-2.0-flash-thinking-exp-1219 model), and return a structured response to the user. The response includes three key elements: reasoning, the final answer, and citation URLs (if applicable). This workflow provides a robust solution for integrating AI reasoning into your processes.
This workflow can be utilized as a tool for AI-based agents, intelligent email drafting systems, or as a standalone intelligent automation solution.
Webhook Configuration:
input parameter.Google Gemini API Credentials:
Parameter Adjustments:
temperature, topK, topP, and maxOutputTokens parameters to fit your use case.Input Parameters:
Response Formatting:
Output Expectations:
Receive User Input:
input parameter. Acts as the starting point for the workflow.Send Request to Google Gemini:
input to the Gemini-2.0-flash-thinking-exp-1219 model for processing. The API configuration includes parameters for customizing the response.Process API Response:
Return Response to User:
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 | AI-powered reasoning and response workflow |
|---|---|
| Complexity | intermediate |
| Nodes | 8 |
| Categories | AI, AI Chatbot |
| Author | Mauricio Perera |
| Published | 29 Dec 2024 |
Use the JSON export at /data/workflows/2680/2680.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 is designed to handle user inputs via a webhook, process the inputs with the Google Gemini API (specifically the gemini 2.0 flash thinking exp 1219 model), and return a structured r...
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 AI, AI Chatbot use case.