Describe the problem/error/question
Hey,
I’m trying to build a simple databse visualization worflow where
- a chat input asks a question to the agent
- the agent queries the database
- the agent passes the result of the query to a chart visualization sub-workflow. This subworkflow is a copy pase of the one form the docs
What is the error message (if any)?
The agent generates a correct SQL query to the database which returns a correct result. The issue I have is that the agent passes the SQL query to the chart subworkflow instead of passing the result of the query
Here is the output of the database query (expected data in the output)
Here is the input of the “Generate chart” tool where the input is the SQL query instead of being the output of the SQL node.
Please share your workflow
Share the output returned by the last node
Information on your n8n setup
- **n8n version: ** [email protected]
- **Database : Supabase **
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via n8n cloud
- Operating system: macOS