Hi all,
I want to running sql query which created by AI node into postgres node,
but there are no expression in query parameter in postgres.
Is there any way to do this ?
This is my workflow
This is postgres node
This is my system prompt for Basic LLM Chain :
Convert the following natural language query to an SQL query for the products table.
Do not display the price unless asked.
Do not display stock at all
DENIED for insert, Update and Delete Query
The output from Basic LLM Chain node is “SELECT product_name FROM products;”
Information on your n8n setup
- n8n version: 1.41.1
- Database : PostgreSQL
- n8n EXECUTIONS_PROCESS setting (default: own): own
- Running n8n via (Docker): Docker
- Operating system: Ubuntu