Hi there !
I’m on a personal portoflio project trying to set a AI-powered chatbot (Claude) able to answer question about my musical habits. I have a Supabase postgresql table named ‘tracks’ with all my spotify musical data history (more than 100k lines).
I’ve set up the workflow has you can see in the screenshot.
When I ask the agent to tell me which is the most listened artist for July 2025, the answer is totally out of context.
It seems the Agent doesn’t query the table and provide a randow answers.
As n8n no longer offers SQL Agent, can someone explain to me how to set an Agent which will query a table to make a precise answer ?
Thanks a lot !
William
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
Information on your n8n setup
- n8n version: 1.104.1
- Database (default: SQLite): Supabase POSTGREsql
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via (Docker, npm, n8n cloud, desktop app): Cloud
- Operating system: Windows and Mac

