AcademyWorkflowsData and reporting

Email Assistant: Convert Natural Language to SQL Queries with Phi4-mini and PostgreSQL

  • Recommendedour rating
  • 1,672views on n8n
Open on n8n.io β†—

Paste it straight onto an n8n canvas with Ctrl+V or Cmd+V.

email-assistant-convert-natural-language-to-sql-queries-with-phi4-mini-and-postg.json

Loading the file...

AI automation

Want this workflow running in your company?

A template is the start. We adapt automations like this to your tools, handle the exceptions, and test and monitor them so they hold up under real load.

  • Free 20-minute call to look at your process
  • Connected to the tools you already use
  • Tested, monitored and documented

We have not written a full description for this item yet. The text below comes from its authors.

Who is this for? πŸ§‘πŸ»πŸ«±πŸ»β€πŸ«²πŸ»πŸ€– Humans and Robots alike. This workflow can be used as a Chat Trigger, as well as a Workflow Trigger. It will take a natural language request, and then generate a SQL query. The resulting query parameter will contain the query, and a sqloutput parameter will contain the results of executing such query. What's the use case? This template is most useful paired with other wor

Connects

Postgres Β· AI Agent Β· Ollama Chat Model