Instacart now moves
at the speed of its questions.

Making self-serve analytics real at petabyte scale

With PromptQL, Instacart teams began exploring questions they used to let go. An answer could lead to a new question they could look into themselves.

Non-data experts are asking more data-driven questions than ever.
Jason SanchezSenior Manager, Data Science at Instacart

The challenge: capturing context

We tried 3 things.
None of them worked.

Instacart wanted teams to answer their own questions without waiting on the data team. But AI tools struggled to apply the business rules that made those answers reliable. Instacart tried three ways to give AI the context it needed.

  1. Private notes and tools

    Individuals kept what they knew in personal tools or notes that colleagues couldn’t build on.

  2. A separate context team

    A separate team maintained context away from the work where the gaps showed up.

  3. Documentation that went stale

    People kept treating docs as authoritative after the business rules they described had changed.

The Platform

Shared context
where teams work

Instacart teams can ask PromptQL questions in Slack using data they already have permission to see. When a question needs more context, a colleague can join the same analysis and pick up where the team left off.

Example question“What drove the spike in wrong-item orders?”
Instacart’s PromptQL architectureThis illustrative Slack mockup shows a fictional employee asking Chai about a spike in wrong-item orders. Chai runs in Instacart’s AWS account and applies the asking user’s permissions when querying Snowflake through a read-only connection. Medusa supplies SQL for defined metrics. People review and save useful guidance in the shared PromptQL wiki, and Chai uses it on future questions.People reviewand saveChai reuses onfuture questionsQuestionOnly data you’re authorized to seeRead-only SQLMetric SQLRuns in Instacart’s AWS account# ask-chaiMaya Ellis10:24 AM@ChaiWhat drove the spike inwrong-item orders?ChaiPowered by PromptQLSnowflakeInstacart’s data warehouseShared contextPromptQL wikiMedusaInstacart’s metric definitionsInstacart’s PromptQL architectureThis illustrative Slack mockup shows a fictional employee asking Chai about a spike in wrong-item orders. Chai runs in Instacart’s AWS account and applies the asking user’s permissions when querying Snowflake through a read-only connection. Medusa supplies SQL for defined metrics. People review and save useful guidance in the shared PromptQL wiki, and Chai uses it on future questions.People reviewand saveChai reuses onfuture questionsQuestionOnly data you’re authorized to seeRead-only SQLMetric SQLRuns in Instacart’s AWS account# ask-chaiMaya Ellis10:24 AM@ChaiWhat drove the spike inwrong-item orders?ChaiPowered by PromptQLShared contextPromptQL wikiSnowflakeData warehouseMedusaMetric definitions
An example of how PromptQL connects a Slack question to Instacart’s data and business context.

Self-Serve Analytics

Ask the data directly.
Explore new questions.

Instacart’s Specialized Vendor Services team used PromptQL to break down retailer order issues by type and share the results in Slack. Teams can ask in plain language and follow up on what they find without writing SQL or waiting on the data team for each new question.

A fictional employee asks PromptQL about retailer order issues in Slack, shares the breakdown, and opens a chart of five issue categories. The chart does not show volumes.

Building Trust

Flag an answer.
Fix the definition together.

It was easier to ask. Teams still needed a way to fix an answer that looked wrong. PromptQL can say when it’s unsure, and users can flag an answer that looks off. A data expert can join the same analysis, check the logic, and save a verified correction in the shared wiki. PromptQL can use that rule to answer related questions from other teams. Better answers give teams a reason to ask more, learn more, and unlock more potential across the business.

Over time this tool has gotten much, much, much, much smarter and more tuned to our content.
Jason SanchezSenior Manager, Data Science at Instacart

Security and Governance

Broader access to AI.
Same data permissions.

Working in the same conversation didn’t mean everyone had the same data access. Instacart employees sign in with their company account and need Snowflake access to use PromptQL. For each request, the data layer enforces the requester’s permissions, and PromptQL’s audit log records who asked. That lets Instacart bring more teams onto PromptQL without changing who can access the underlying data.

How PromptQL checks access
Employee asksPromptQL identifies the requester
Permission checkEnforced at the data layer
Allowed dataAvailable to the bot
Restricted dataStays out of reach

Audit log Records who requested each action.

Rollout

A focused pilot.
A simpler path to scale.

Instacart started with one data domain. People asked questions they were already trying to answer. No one had to change how they worked. As more teams came on, PromptQL's context and wiki grew with them. Teams used the data they had access to, checked answers with colleagues, and shared findings where they normally do.

Weekly activity

Illustrative data
WeekActive usersBots createdMultiplayer tags
Week 19012027
Week 214513931
Week 317815146
Week 418623949
Week 5190251104
Week 6212330112
Week 7226352166

In use at

CiscoWildkindInstacartPromethean IT (PRMT)AutoZoneExcedrSwiggyAlthioCrinkStitch FixZephyrLightspeedFreehandSeasawM2SSiftlyOtter House WellnessSpringMediBuddyGrayscale VenturesUpekkhaCharger LogisticsRovnZAZPAYPiBitStanley Black & DeckerDream11

Try PromptQL

What does it cost
when good questions go unasked?