Use Devin to answer warehouse questions and build dashboards

Cognition uses DANA, a Devin variant, to query its warehouse, make charts, and create shareable dashboards from Slack or the web app.

Done with Devin· Intermediate

What they did
The team routed DANA through the web app’s agent picker and through Slack commands like /dana or @Devin !dana. DANA connects to their warehouse systems through MCP, keeps its own handle on the schema, and can run SQL, return short answers with seaborn charts, or assemble a Metabase dashboard link. It also handles report forms when needed.
How it went
Questions that once sat in an engineer’s queue for days can now be asked by anyone in Slack. DANA includes the SQL with its answer, which lets people inspect the logic.
Tips
Be explicit about the metric and the time window, and ask for a chart if you want one. Review the SQL carefully, since the answer is only as good as the query.

Try it yourself with Devin

Open [warehouse name] with read-only access from [config file or env var]. Answer this business question: [question], using [time period] and [metric definition]. Show the SQL, a compact result table, and a simple chart or dashboard I can share. If anything would write, change, submit, delete, or send data, stop first and ask for my approval; otherwise, save the query in [folder] and give me the verified answer.

Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.

2 more reports of this

Get 3 agent uses like this every morning

With the day's top AI news. Free, and one click to unsubscribe.