Use Cases
- Generate charts based on SQL query results for better data visualization.
- Automatically respond to user queries with text and visual aids.
- Enhance decision-making processes through interactive data representations.
How It Works
Extracts user questions using an information extractor. Processes SQL queries through an AI agent connected to a database. Determines if a chart is needed based on the query's complexity. Generates chart definitions using OpenAI's structured output. Creates visualizations with Quickchart and appends them to responses.
Setup Steps
- 1Import the workflow template into your n8n instance.
- 2Connect your SQL database credentials to the AI Agent node.
- 3Set up OpenAI credentials for the OpenAI nodes.
- 4Activate the workflow and test it by sending user queries.
Apps Used
OpenAI
Quickchart
PostgreSQL
Categories
Target Roles
Tags
#ai chatbots
#ai content generation
#process automation