Run Group
When clicking "Test workflow"
Start
When clicking "Test workflow"
Trigger
Chat Trigger
Trigger
WorkflowTrigger
Trigger
Step 2
List all tables in a database
Integration
Step 3
Load the schema from the local file
Integration
Step 4
List all columns in a table
Integration
Step 5
If file exists or already retried generating it
Decision
Step 6
Add table name to output
Transform
Step 7
Extract data from file
Integration
Step 8
Convert data to binary
Integration
Step 9
Combine schema data and chat input
Transform
Step 10
Save file locally
Integration
Step 11
AI Agent
AI reasoning
Step 12
If ran manually
Decision
Step 13
Extract SQL query
Transform
Step 14
Check for trailing semicolon
Decision
Step 15
Add trailing semicolon
Transform
Step 16
Check if query exists
Decision
Step 17
Postgres
Integration
Step 18
Format empty output
Transform
Step 19
Format query results
Transform
Outcome
Combine query result and chat answer
Decision
Attached dependencies
These nodes support the runtime above; they are not additional starts or outcomes.
Ollama Chat Model
AI reasoning dependency