AcademyWorkflowsData and reporting

Talk to your SQLite database with a LangChain AI Agent

Data and operations teams that want to explore a database by chatting instead of writing SQL.

  • Recommendedour rating
  • 22,470views on n8n
Open on n8n.io ↗

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

talk-to-your-sqlite-database-with-a-langchain-ai-agent.json

Loading the file...

What it does

An n8n workflow that lets you ask questions about a SQLite database in plain language. The AI agent writes the SQL queries it needs, runs them against the local file and answers in the chat. It keeps the conversation in memory so follow-up questions work.

Use cases

  1. 01Ask for a description of the database
  2. 02Ask for revenue grouped by genre
  3. 03Follow up on a previous answer in chat

Connects

HTTP Request · Compression · AI Agent · OpenAI Chat Model · Simple Memory

Questions about
Talk to your SQLite database with a LangChain AI Agent.

What is Talk to your SQLite database with a LangChain AI Agent used for?

Data and operations teams that want to explore a database by chatting instead of writing SQL. An n8n workflow that lets you ask questions about a SQLite database in plain language. The AI agent writes the SQL queries it needs, runs them against the local file and answers in the chat. It keeps the conversation in memory so follow-up questions work.

How do I import Talk to your SQLite database with a LangChain AI Agent into n8n?

Copy the workflow JSON from this page and paste it onto the n8n canvas with Ctrl+V or Cmd+V. Then connect your credentials in each node.

Is Talk to your SQLite database with a LangChain AI Agent safe to use?

It passed our automatic scan for credential theft, hidden instructions and risky install commands. Third party open source software. Sabemos AI does not maintain it. Check the code and permissions before you connect it to company data.