Skip to main content

Usage

The AskTimbr bot lets your team ask questions about your data in plain English from Microsoft Teams. Every answer is computed by your own Timbr instance, under the asking user's own permissions - the same engine behind Ask Timbr, surfaced in the tool your team already has open.

Asking the bot a question in a Microsoft Teams personal chat

Not installed yet?

How it works​

The chat bot is not a separate service. It runs inside the Timbr API service as a blueprint mounted at /timbr/api/chatbot/* and executes each query in-process.

  1. Microsoft Teams delivers the message over an HTTPS webhook via Azure Bot Service - a direct message, an @AskTimbr mention, or a message extension click. There is no polling and no outbound connection to maintain.
  2. The Timbr API service verifies the request signature, resolves the asking user's verified email address, generates semantic SQL for the question and runs it.

Because there is no shared identity and no service-account token, you get per-user permissions and per-user audit trails - nobody can see through the bot anything they could not see in the platform.

Asking a question​

WhereWhat to typeNotes
Teams personal chat<question>Open the AskTimbr bot and type.
Teams channel@AskTimbr <question>The app must be added to the team.
Teams compose box… → Ask TimbrThe message extension. Teams has no global slash command.
Anywherehelp? works too. Lists every surface and override.

An AskTimbr mention in a shared Teams conversation

Quick commands​

Answered immediately, without calling the LLM:

CommandReturns
list ontologiesOntologies you are allowed to query
list agentsConfigured agents
list conceptsConcepts in the active ontology
list viewsViews in the active ontology
list cubesCubes in the active ontology

Targeting a specific source​

Prefix any question to override the default configured on the server. This works on every surface:

ontology:sales_data  How many leads?
agent:my_agent What is total revenue?

Buttons under every answer​

ButtonWhat it does
Show SQLThe semantic SQL that produced the answer, so an analyst can verify it.
Show Result SetA row preview, capped by CHAT_BOT_MAX_PREVIEW_ROWS (default 50).
Export CSVA download link, capped by CHAT_BOT_MAX_EXPORT_ROWS (default 10,000).

In a channel, these follow-ups are ephemeral - only the person who asked sees them.

Troubleshooting​

"I couldn't verify your Timbr identity" The bot could not resolve the asker's email. Check the connector token in the Timbr API service logs, and confirm the person asking has an email address in Timbr that matches their Teams account.

For installation issues - "Invalid Bot", manifest errors, or a channel reporting as disabled - see Install & Configure.