Block 1 - AI Agent3
- Type / Role
- @n8n/n8n-nodes-langchain.agent - agent
- Config choices
- Version 2.2
This workflow is provided as-is. Please review and test before using in production.
This n8n workflow template creates an intelligent data analysis system that converts natural language questions into Google Sheets SQL queries using OpenAI's GPT 4o model. The system generates prop...
@n8n/n8n-nodes-langchain.agent, n8n-nodes-base.googlesheetstool, @n8n/n8n-nodes-langchain.memorybufferwindow, @n8n/n8n-nodes-langchain.lmchatopenai, n8n-nodes-base.stickynote, @n8n/n8n-nodes-langchain.outputparserstructured, @n8n/n8n-nodes-langchain.chattrigger, n8n-nodes-base.httprequest
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Robert Breen.
Original n8n.io sourceThis n8n workflow template creates an intelligent data analysis system that converts natural language questions into Google Sheets SQL queries using OpenAI's GPT-4o model. The system generates proper Google Sheets query URLs and executes them via HTTP requests for efficient data retrieval.
Before starting, ensure you have:
OpenAI Chat Model1 (GPT-4o):
OpenAI Chat Model2 (GPT-4.1 Mini):
Get Column Info2 Node:
HTTP Request Node:
If using your own Google Sheet, update the system prompt in the AI Agent3 node:
Robert Ynteractive
For support, customization, or questions about this template:
Need help implementing this workflow, want to add security features, or require custom modifications? Reach out for professional n8n automation services and AI integration support.
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 | Natural language to SQL converter for Google Sheets with GPT-4o |
|---|---|
| Complexity | intermediate |
| Nodes | 12 |
| Categories | Document Extraction, Multimodal AI |
| Author | Robert Breen |
| Published | 15 Aug 2025 |
Use the JSON export at /data/workflows/7451/7451.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 n8n workflow template creates an intelligent data analysis system that converts natural language questions into Google Sheets SQL queries using OpenAI's GPT 4o model. The system generates prop...
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 Document Extraction, Multimodal AI use case.