News



Insights

NAVI Text to SQL

Step1: Create a Text2SQL Bot

The bot is located in the second row of the feature bar. Clicking it opens the bot search page, where you can click "Create Bot" to begin building your bot.

 

  1. Click "Create Bot"
  2. Icon: Upload an icon for this bot (optional)
  3. Name: Enter a name for this bot (required)
  4. Description: Enter a description for this bot (optional)
  5. Category: Select the type of bot you want to create (required)

 


Step 2: Configure the Text2SQL Bot

The Text-to-SQL bot connects to a database and allows users to query its contents using natural language. Currently supports MSSQL and MySQL.

Instructions & Prompts:

  • The prompt field lets you customize the system prompt for this bot. Enter rules you want applied to every response — for example: "Please provide me with the SQL query used for each search."
  • Capabilities:
  • Preview: Test your bot by entering a prompt here to preview its output.
  1. Bot Name: Click the edit option next to the bot name in the top-left corner to rename it.
  • Import: Paste a JSON configuration provided by another user to copy their completed bot settings under "Capabilities."
  • Delete: Permanently delete this bot.

 


Step 3: Use the Text2SQL Bot

  • Once your bot is configured, return to the bot page, find the bot you just created, and pin it. Pinned bots will appear permanently in the left-side feature bar for quick access.
  • Click the Text2SQL bot in the left panel to start a conversation. The purpose of this bot is to let you query database content using natural language — no complex SQL statements needed. The bot will run the query for you and also provide the SQL statement for your reference. Common use cases include accounting pivot analysis, employee payroll summary queries, and historical sales performance lookups.
Contact
Contact