Text to query workflows

Build a text to query experience on top of governed data

TTSQL goes beyond demo chatbots. It gives teams a real text to query layer for analytics, operations, and customer-facing apps backed by schema context and SQL generation.

Example 1
validated
prompt

Show open support escalations by severity for enterprise customers

generated SQL PostgreSQL
1SELECT severity, COUNT(*) AS open_escalations FROM support_tickets WHERE customer_tier = 'enterprise' AND status IN ('open', 'pending') GROUP BY severity ORDER BY open_escalations DESC;

Overview

Use TTSQL when the goal is broader than one-off SQL generation and you need a durable text to query workflow users can rely on.

Great for app builders

Use the API to power search bars, copilots, analytics assistants, and reporting workflows that accept natural-language prompts.

Consistent query behavior

Historical learning, validation, and rules improve accuracy over time instead of forcing users to restate prompts.

Useful for mixed audiences

Analysts can inspect the SQL while non-technical users work from the text to query interface alone.

Query examples

Prompts mapped to concrete SQL.

Example 1
validated
prompt

Show open support escalations by severity for enterprise customers

generated SQL PostgreSQL
1SELECT severity, COUNT(*) AS open_escalations FROM support_tickets WHERE customer_tier = 'enterprise' AND status IN ('open', 'pending') GROUP BY severity ORDER BY open_escalations DESC;

Use cases

Where teams use TTSQL.

Add a text to query search bar to internal BI or operations tooling.

Let customer-facing users explore product data without learning SQL.

Use one engine for free-form prompts, analytics assistants, and query APIs.

FAQ

Answers before you connect a database.

01 What is the difference between text to query and text to SQL?

Text to SQL focuses on generating SQL. Text to query is broader and describes the full user experience of typing a request and getting a safe, useful query or answer back.

02 Can TTSQL power a text to query feature inside my product?

Yes. Teams use TTSQL as the query-generation layer behind search bars, copilots, dashboards, and internal assistants.

03 Do users need to see SQL in a text to query app?

Not always. TTSQL supports both transparent SQL review workflows and experiences where the query stays behind the scenes.

Enterprise

Bring natural-language SQL into a governed workspace.

Use TTSQL for teams that need SSO, policy controls, auditability, dedicated support, and deployment flexibility.