AI-powered reasoning and response workflow
Ready for 3.0What this workflow does
This workflow has 4 nodes and runs when an HTTP GET request hits its webhook URL. It uses only n8n's built-in nodes. It also calls generativelanguage.googleapis.com over HTTP.
How it runs
Trigger: When an HTTP GET request hits its webhook URL.
- Send Request to Google Gemini (HTTP Request): calls generativelanguage.googleapis.com (POST)
- Process API Response (Code): runs custom JavaScript code
- Return Response to User (Respond to Webhook): sends the response back to the webhook caller
HTTP calls to: generativelanguage.googleapis.com
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 (4)
- HTTP Request
n8n-nodes-base.httpRequest - Respond to Webhook
n8n-nodes-base.respondToWebhook - Webhook
n8n-nodes-base.webhook - Code
n8n-nodes-base.code
From the author
Overview: 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 response to the user. The response includes three key…