Block 1 - Window Buffer Memory
- Type / Role
- @n8n/n8n-nodes-langchain.memoryBufferWindow - memoryBufferWindow
- Config choices
- Version 1.2
This workflow is provided as-is. Please review and test before using in production.
Conversational Data Retrieval and Visualization Workflow This workflow enables users to interact with a PostgreSQL database using natural language. It translates text inputs into SQL queries, retri...
@n8n/n8n-nodes-langchain.memorybufferwindow, n8n-nodes-base.noop, n8n-nodes-base.set, n8n-nodes-base.readwritefile, n8n-nodes-base.extractfromfile, @n8n/n8n-nodes-langchain.chattrigger, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.stickynote
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by hippolyte-hu.
Original n8n.io sourceThis workflow enables users to interact with a PostgreSQL database using natural language. It translates text inputs into SQL queries, retrieves the corresponding data, and generates visualizations using QuickChart, facilitating seamless data analysis without manual query writing.
To operate this workflow, access to the following services is necessary:
https://quickchart.io/chartngrok tcp 5432 to expose your local PostgreSQL server.tcp://0.tcp.ngrok.io:12345 that can be used to connect to your local database remotely.Before initiating the workflow, ensure that the database schema is extracted and saved:
User Input Handling
Schema Retrieval
AI-Based SQL Generation
SQL Query Execution
Data Visualization
https://quickchart.io/chart?c={type:'bar',data:{labels:['Label1','Label2'],datasets:[{label:'Dataset1',data:[10,20]}]}}
This URL returns an image of the chart.Response Delivery
This workflow streamlines the process of data retrieval and visualization, allowing users to interact with their database using natural language, thereby enhancing accessibility and efficiency in data analysis.
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.
Showing the first 24 of 36 workflow blocks. Download the JSON for the full node graph.
| Workflow | Conversing with data: transforming text into SQL queries and visual curves |
|---|---|
| Complexity | advanced |
| Nodes | 36 |
| Categories | Engineering, AI Chatbot |
| Author | hippolyte-hu |
| Published | 09 Apr 2025 |
Use the JSON export at /data/workflows/3497/3497.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.
Conversational Data Retrieval and Visualization Workflow This workflow enables users to interact with a PostgreSQL database using natural language. It translates text inputs into SQL queries, retri...
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 Engineering, AI Chatbot use case.