Get task results, ask questions, and link your account without leaving Mattermost.
Once your Mattermost server is connected, the ClarityQ bot can post task results in channels and answer questions in channels and direct messages. This page covers the day-to-day use.
Receiving Task Results
When a task runs, its result is posted in the Mattermost channel you picked for it. Each post includes:
The task name and a summary of the result.
An image of the dashboard, when the result includes one.
A View Chat button that opens the full conversation in ClarityQ.
Reply in the post’s thread to ask a follow-up question. ClarityQ starts a new chat for you from that result and answers in the thread.
Agent Approvals and Results
A workflow agent that delivers to a Mattermost channel posts its approval requests and the result of every run there. An approval request has Approve, Discard, and View Chat buttons. Anyone in the channel who has a ClarityQ account with access to the agent’s workspace can answer. See Agent Runs & Approvals.
Asking ClarityQ in Mattermost
You can ask in three ways:
Mention the bot in a channel it is a member of, for example @clarityq what's revenue by region this quarter?
Send the bot a direct message.
Reply in a ClarityQ thread to ask a follow-up.
The bot first replies that it is working on it, then replaces that message with the answer. Each answer has a View Chat button.
Workspace resolution
ClarityQ needs to know which workspace to query. It works this out in order:
Explicit selection. Start your question with the workspace name in brackets, for example @clarityq [Web App] how many signups last week?
Single workspace. If you have access to one workspace only, ClarityQ uses it.
Default workspace. Otherwise ClarityQ uses your default, which starts as the workspace you use most. Change it with /clarityq set-default-product.
Buttons. If ClarityQ still can’t tell, it shows a button for each workspace. Only the person who asked can pick one.
The bot’s own messages call a workspace a “product”.
ClarityQ does not check whether everyone in a Mattermost channel has access to the workspace being queried. Anyone in the channel can read the bot’s answers. Be mindful of which channels you ask in if your data is sensitive.
How Mattermost chats work
One owner per thread. Only the person who asked can continue the conversation. Anyone else who replies is told to mention the bot in a new message.
Chat history. The conversation is saved in your chat history in ClarityQ, marked with a Mattermost icon.
Opening in ClarityQ ends the thread. Once the chat is continued in ClarityQ, the Mattermost thread stops taking new questions. Mention the bot in a new message to ask something new.
Other people in the channel. They can click View Chat to see a read-only copy of the conversation.
Very long answers are cut. The post says so, and View Chat opens the full answer.
Commands
Run these in any channel or direct message. Only you see the reply.
Command
What it does
/clarityq help
Shows how to use ClarityQ in Mattermost.
/clarityq connect
Links your Mattermost account to your ClarityQ account.
/clarityq products
Lists the workspaces you can ask about, and marks your default.
/clarityq set-default-product <name>
Sets the workspace ClarityQ uses when you don’t name one. Without a name, it shows buttons to pick from.
Linking Your Account
ClarityQ matches you by email. If your Mattermost email is the one you sign in to ClarityQ with, there is nothing to do.If the emails differ, run /clarityq connect once. ClarityQ replies with a link that expires in 10 minutes. Open it while signed in to ClarityQ, and your accounts are linked. Until then the bot can’t answer your questions.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"ClarityQ Documentation","colors":{"primary":"#5A57FC","light":"#9391ff","dark":"#5A57FC"},"logo":{"light":"https://mintcdn.com/clarityq/RMDLvxRyN9-VIA7h/logo/light.svg?fit=max\u0026auto=format\u0026n=RMDLvxRyN9-VIA7h\u0026q=85\u0026s=f8d4e57d3c0e50c3f720e5b6a7afef0b","dark":"https://mintcdn.com/clarityq/RMDLvxRyN9-VIA7h/logo/dark.svg?fit=max\u0026auto=format\u0026n=RMDLvxRyN9-VIA7h\u0026q=85\u0026s=f838d08af4bdbf4b9f80be89bbd57203"},"favicon":"https://mintcdn.com/clarityq/RMDLvxRyN9-VIA7h/favicon.svg?fit=max\u0026auto=format\u0026n=RMDLvxRyN9-VIA7h\u0026q=85\u0026s=ccd0c18ac98544dea1c3e42018f2db76","navbar":{"links":[{"href":"mailto:support@clarityq.ai","label":"Support"}]},"footer":{"socials":{"linkedin":"https://linkedin.com/company/clarityq","x":"https://x.com/ClarityQAI"},"links":[{"header":"Product","items":[{"label":"Ask Me Anything","href":"https://www.clarityq.ai/solutions/ask-me-anything"},{"label":"Context Layer","href":"https://www.clarityq.ai/solutions/semantic-context-layer"},{"label":"Dashboards","href":"https://www.clarityq.ai/solutions/dashboards"},{"label":"Integrations","href":"https://www.clarityq.ai/integrations"},{"label":"Pricing","href":"https://get.clarityq.ai/pricing"}]},{"header":"By Industry","items":[{"label":"Gaming","href":"https://www.clarityq.ai/industries/game-analytics"},{"label":"SaaS","href":"https://www.clarityq.ai/industries/saas-analytics"},{"label":"E-commerce","href":"https://www.clarityq.ai/industries/ecommerce-analytics"},{"label":"Consumer Apps","href":"https://www.clarityq.ai/industries/consumer-app-analytics"}]},{"header":"By Team","items":[{"label":"Data Teams","href":"https://www.clarityq.ai/by-teams/data"},{"label":"Business Teams","href":"https://www.clarityq.ai/by-teams/business"},{"label":"Product Teams","href":"https://www.clarityq.ai/by-teams/product"},{"label":"Management Teams","href":"https://www.clarityq.ai/by-teams/management"}]},{"header":"Company","items":[{"label":"About","href":"https://www.clarityq.ai/about"},{"label":"Blog","href":"https://www.clarityq.ai/blog"},{"label":"Customer Stories","href":"https://get.clarityq.ai/customer-stories"},{"label":"Careers","href":"https://get.clarityq.ai/careers"},{"label":"Contact Us","href":"https://www.clarityq.ai/contact-us"},{"label":"FAQ","href":"https://www.clarityq.ai/faq"},{"label":"Terms of Use","href":"https://www.clarityq.ai/website-terms-of-use"},{"label":"Privacy Policy","href":"https://www.clarityq.ai/privacy-policy"}]}]},"seo":{"metatags":{"msvalidate.01":"2653DA8E28F50109EA5130713FEE874C"},"indexing":"all"},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"clarityq","hasAudioNarration":false,"actualSubdomain":"clarityq","customDomains":["docs.clarityq.ai"],"gitSource":{"type":"github","owner":"clarityq","repo":"clarityq-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6b0fedbc8efa4decb8adcbbb","clientVersion":"0.0.4410","searchFilterCounts":[{"language":"default","tag":"Context Layer","count":19},{"language":"default","tag":"Integrations","count":15},{"language":"default","tag":"Data Warehouse Connections","count":11},{"language":"default","tag":"Building the Context Layer","count":10},{"language":"default","tag":"Administration","count":8},{"language":"default","tag":"API Reference","count":8},{"language":"default","tag":"Ask Anything","count":8},{"language":"default","tag":"Semantic Catalog","count":6},{"language":"default","tag":"Apps","count":6},{"language":"default","tag":"Automations","count":5}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"integrations/mattermost/using-clarityq-in-mattermost","slug":"/integrations/mattermost/using-clarityq-in-mattermost","pageMetadata":{"title":"Using ClarityQ in Mattermost","description":"Get task results, ask questions, and link your account without leaving Mattermost.","href":"/integrations/mattermost/using-clarityq-in-mattermost"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Get task results, ask questions, and link your account without leaving Mattermost.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Table,Warning}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Once your Mattermost server is `,_jsx(_components.a,{href:`/integrations/mattermost/connecting-mattermost`,children:`connected`}),`, the ClarityQ bot can post task results in channels and answer questions in channels and direct messages. This page covers the day-to-day use.`]}),`\n`,_jsx(Heading,{level:`2`,id:`receiving-task-results`,children:`Receiving Task Results`}),`\n`,_jsxs(_components.p,{children:[`When a `,_jsx(_components.a,{href:`/automations/what-are-tasks`,children:`task`}),` runs, its result is posted in the Mattermost channel you picked for it. Each post includes:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`The task name and a summary of the result.`}),`\n`,_jsx(_components.li,{children:`An image of the dashboard, when the result includes one.`}),`\n`,_jsxs(_components.li,{children:[`A `,_jsx(_components.strong,{children:`View Chat`}),` button that opens the full conversation in ClarityQ.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`Reply in the post’s thread to ask a follow-up question. ClarityQ starts a new chat for you from that result and answers in the thread.`}),`\n`,_jsx(Heading,{level:`2`,id:`agent-approvals-and-results`,children:`Agent Approvals and Results`}),`\n`,_jsxs(_components.p,{children:[`A `,_jsx(_components.a,{href:`/automations/workflows-and-agents`,children:`workflow agent`}),` that delivers to a Mattermost channel posts its approval requests and the result of every run there. An approval request has `,_jsx(_components.strong,{children:`Approve`}),`, `,_jsx(_components.strong,{children:`Discard`}),`, and `,_jsx(_components.strong,{children:`View Chat`}),` buttons. Anyone in the channel who has a ClarityQ account with access to the agent’s workspace can answer. See `,_jsx(_components.a,{href:`/automations/agent-runs-and-approvals#approvals`,children:`Agent Runs \u0026 Approvals`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`asking-clarityq-in-mattermost`,children:`Asking ClarityQ in Mattermost`}),`\n`,_jsx(_components.p,{children:`You can ask in three ways:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Mention the bot in a channel`}),` it is a member of, for example `,_jsx(_components.code,{children:`@clarityq what's revenue by region this quarter?`})]}),`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Send the bot a direct message.`})}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Reply in a ClarityQ thread`}),` to ask a follow-up.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`The bot first replies that it is working on it, then replaces that message with the answer. Each answer has a `,_jsx(_components.strong,{children:`View Chat`}),` button.`]}),`\n`,_jsx(Heading,{level:`3`,id:`workspace-resolution`,children:`Workspace resolution`}),`\n`,_jsx(_components.p,{children:`ClarityQ needs to know which workspace to query. It works this out in order:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Explicit selection.`}),` Start your question with the workspace name in brackets, for example `,_jsx(_components.code,{children:`@clarityq [Web App] how many signups last week?`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Single workspace.`}),` If you have access to one workspace only, ClarityQ uses it.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Default workspace.`}),` Otherwise ClarityQ uses your default, which starts as the workspace you use most. Change it with `,_jsx(_components.code,{children:`/clarityq set-default-product`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Buttons.`}),` If ClarityQ still can’t tell, it shows a button for each workspace. Only the person who asked can pick one.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`The bot’s own messages call a workspace a “product”.`}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`ClarityQ does not check whether everyone in a Mattermost channel has access to the workspace being queried. Anyone in the channel can read the bot’s answers. Be mindful of which channels you ask in if your data is sensitive.`})}),`\n`,_jsx(Heading,{level:`3`,id:`how-mattermost-chats-work`,children:`How Mattermost chats work`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`One owner per thread.`}),` Only the person who asked can continue the conversation. Anyone else who replies is told to mention the bot in a new message.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Chat history.`}),` The conversation is saved in your chat history in ClarityQ, marked with a Mattermost icon.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Opening in ClarityQ ends the thread.`}),` Once the chat is continued in ClarityQ, the Mattermost thread stops taking new questions. Mention the bot in a new message to ask something new.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Other people in the channel.`}),` They can click `,_jsx(_components.strong,{children:`View Chat`}),` to see a read-only copy of the conversation.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Very long answers are cut.`}),` The post says so, and `,_jsx(_components.strong,{children:`View Chat`}),` opens the full answer.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`commands`,children:`Commands`}),`\n`,_jsx(_components.p,{children:`Run these in any channel or direct message. Only you see the reply.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Command`}),_jsx(_components.th,{children:`What it does`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`/clarityq help`})}),_jsx(_components.td,{children:`Shows how to use ClarityQ in Mattermost.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`/clarityq connect`})}),_jsx(_components.td,{children:`Links your Mattermost account to your ClarityQ account.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`/clarityq products`})}),_jsx(_components.td,{children:`Lists the workspaces you can ask about, and marks your default.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`/clarityq set-default-product \u003cname>`})}),_jsx(_components.td,{children:`Sets the workspace ClarityQ uses when you don’t name one. Without a name, it shows buttons to pick from.`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`linking-your-account`,children:`Linking Your Account`}),`\n`,_jsx(_components.p,{children:`ClarityQ matches you by email. If your Mattermost email is the one you sign in to ClarityQ with, there is nothing to do.`}),`\n`,_jsxs(_components.p,{children:[`If the emails differ, run `,_jsx(_components.code,{children:`/clarityq connect`}),` once. ClarityQ replies with a link that expires in 10 minutes. Open it while signed in to ClarityQ, and your accounts are linked. Until then the bot can’t answer your questions.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Using ClarityQ in Mattermost","description":"Get task results, ask questions, and link your account without leaving Mattermost.","href":"/integrations/mattermost/using-clarityq-in-mattermost"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Receiving Task Results","slug":"receiving-task-results","depth":2,"children":[]},{"title":"Agent Approvals and Results","slug":"agent-approvals-and-results","depth":2,"children":[]},{"title":"Asking ClarityQ in Mattermost","slug":"asking-clarityq-in-mattermost","depth":2,"children":[{"title":"Workspace resolution","slug":"workspace-resolution","depth":3,"children":[]},{"title":"How Mattermost chats work","slug":"how-mattermost-chats-work","depth":3,"children":[]}]},{"title":"Commands","slug":"commands","depth":2,"children":[]},{"title":"Linking Your Account","slug":"linking-your-account","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"clarityq","siteName":"ClarityQ Documentation","title":"Using ClarityQ in Mattermost - ClarityQ Documentation","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-12-02T10:06:58.345Z","originalFileLocation":"integrations/mattermost/using-clarityq-in-mattermost.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Get task results, ask questions, and link your account without leaving Mattermost.\">\u003cmeta data-mint-head name=\"application-name\" content=\"ClarityQ Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/clarityq/YW4hrpKdd3h3lviU/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/clarityq/YW4hrpKdd3h3lviU/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/clarityq/YW4hrpKdd3h3lviU/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/clarityq/YW4hrpKdd3h3lviU/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/clarityq/YW4hrpKdd3h3lviU/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/clarityq/YW4hrpKdd3h3lviU/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/clarityq/YW4hrpKdd3h3lviU/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/clarityq/YW4hrpKdd3h3lviU/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/clarityq/YW4hrpKdd3h3lviU/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Using ClarityQ in Mattermost - ClarityQ Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Get task results, ask questions, and link your account without leaving Mattermost.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"ClarityQ Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.clarityq.ai/integrations/mattermost/using-clarityq-in-mattermost\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://clarityq.mintlify.site/_mintlify/api/og/v2?division=Mattermost\u0026amp;title=Using+ClarityQ+in+Mattermost\u0026amp;description=Get+task+results%2C+ask+questions%2C+and+link+your+account+without+leaving+Mattermost.\u0026amp;theme=8a1189787dd42c7f361220a1\u0026amp;signature=bbd51b2401c930bf5995daf99388fcbbc2adb86d90c4d531e7985e6d53245936\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Using ClarityQ in Mattermost - ClarityQ Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Get task results, ask questions, and link your account without leaving Mattermost.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://clarityq.mintlify.site/_mintlify/api/og/v2?division=Mattermost\u0026amp;title=Using+ClarityQ+in+Mattermost\u0026amp;description=Get+task+results%2C+ask+questions%2C+and+link+your+account+without+leaving+Mattermost.\u0026amp;theme=8a1189787dd42c7f361220a1\u0026amp;signature=bbd51b2401c930bf5995daf99388fcbbc2adb86d90c4d531e7985e6d53245936\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/clarityq/YW4hrpKdd3h3lviU/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"ClarityQ Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#5A57FC\">\u003cmeta data-mint-head name=\"msvalidate.01\" content=\"2653DA8E28F50109EA5130713FEE874C\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.clarityq.ai/integrations/mattermost/using-clarityq-in-mattermost\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/integrations/mattermost/using-clarityq-in-mattermost.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.clarityq.ai/#organization\",\"name\":\"ClarityQ Documentation\",\"url\":\"https://docs.clarityq.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/clarityq/RMDLvxRyN9-VIA7h/logo/light.svg?fit=max\u0026auto=format\u0026n=RMDLvxRyN9-VIA7h\u0026q=85\u0026s=f8d4e57d3c0e50c3f720e5b6a7afef0b\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.clarityq.ai#website\",\"name\":\"ClarityQ Documentation\",\"url\":\"https://docs.clarityq.ai\",\"publisher\":{\"@id\":\"https://docs.clarityq.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.clarityq.ai/integrations/mattermost/using-clarityq-in-mattermost#webpage\",\"url\":\"https://docs.clarityq.ai/integrations/mattermost/using-clarityq-in-mattermost\",\"name\":\"Using ClarityQ in Mattermost\",\"description\":\"Get task results, ask questions, and link your account without leaving Mattermost.\",\"dateModified\":\"2026-12-02T10:06:58.345Z\",\"isPartOf\":{\"@id\":\"https://docs.clarityq.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.clarityq.ai/integrations/mattermost/using-clarityq-in-mattermost#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.clarityq.ai/integrations/mattermost/using-clarityq-in-mattermost#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Integrations\",\"item\":\"https://docs.clarityq.ai/integrations/embed/embedding-clarityq\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Mattermost\",\"item\":\"https://docs.clarityq.ai/integrations/mattermost/connecting-mattermost\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Using ClarityQ in Mattermost\",\"item\":\"https://docs.clarityq.ai/integrations/mattermost/using-clarityq-in-mattermost\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.clarityq.ai/integrations/mattermost/using-clarityq-in-mattermost#article\",\"headline\":\"Using ClarityQ in Mattermost\",\"name\":\"Using ClarityQ in Mattermost\",\"description\":\"Get task results, ask questions, and link your account without leaving Mattermost.\",\"url\":\"https://docs.clarityq.ai/integrations/mattermost/using-clarityq-in-mattermost\",\"mainEntityOfPage\":{\"@id\":\"https://docs.clarityq.ai/integrations/mattermost/using-clarityq-in-mattermost#webpage\"},\"dateModified\":\"2026-12-02T10:06:58.345Z\",\"publisher\":{\"@id\":\"https://docs.clarityq.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.clarityq.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"ClarityQ Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"ClarityQ Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/integrations/mattermost/using-clarityq-in-mattermost.md","siteName":"ClarityQ Documentation","nav":{"global":null,"groups":[{"group":"Get Started","pages":[{"title":"What is ClarityQ?","href":"/get-started/what-is-clarityq"},{"title":"Connect Your Data Warehouse","href":"/get-started/connect-your-data-warehouse"},{"title":"Build Your Context Layer","href":"/get-started/build-your-context-layer"},{"title":"Your First Chat","href":"/get-started/your-first-chat"},{"title":"Best Practices","href":"/get-started/best-practices"}]},{"group":"Data Warehouse Connections","pages":[{"title":"BigQuery","href":"/data-warehouse/bigquery"},{"title":"Snowflake","href":"/data-warehouse/snowflake"},{"title":"Amazon Athena","href":"/data-warehouse/athena"},{"title":"Amazon Redshift","href":"/data-warehouse/redshift"},{"title":"PostgreSQL","href":"/data-warehouse/postgres"},{"title":"Databricks","href":"/data-warehouse/databricks"},{"title":"MaxCompute","href":"/data-warehouse/maxcompute"},{"title":"Trino","href":"/data-warehouse/trino"},{"title":"ClickHouse","href":"/data-warehouse/clickhouse"},{"title":"Azure SQL","href":"/data-warehouse/sqlserver"},{"title":"Signing In With Your Own Warehouse Account","sidebarTitle":"Signing In With Your Own Account","href":"/data-warehouse/signing-in-with-your-own-account"}]},{"group":"Context Layer","pages":[{"title":"What is the Context Layer?","href":"/context-layer/what-is-the-context-layer"},{"group":"Table Catalog","pages":[{"title":"What is the Table Catalog?","href":"/context-layer/table-catalog/what-is-the-table-catalog"},{"title":"Setting Up Your Table Catalog","href":"/context-layer/table-catalog/setting-up-your-table-catalog"},{"title":"Daily Discovery Jobs","href":"/context-layer/table-catalog/daily-discovery-jobs"}]},{"group":"Event Catalog","pages":[{"title":"What is the Event Catalog?","href":"/context-layer/event-catalog/what-is-the-event-catalog"},{"title":"Setting Up Your Event Catalog","href":"/context-layer/event-catalog/setting-up-your-event-catalog"},{"title":"Daily Discovery Jobs","href":"/context-layer/event-catalog/daily-discovery-jobs"},{"title":"Missing Description Wizard","href":"/context-layer/event-catalog/missing-description-wizard"},{"title":"Syncing Events to the Semantic Catalog","href":"/context-layer/event-catalog/syncing-events-to-the-semantic-catalog"}]},{"group":"Semantic Catalog","pages":[{"title":"What is the Semantic Catalog?","href":"/context-layer/semantic-catalog/what-is-the-semantic-catalog"},{"title":"Entities","href":"/context-layer/semantic-catalog/entities"},{"title":"Dimensions","href":"/context-layer/semantic-catalog/dimensions"},{"title":"Metrics","href":"/context-layer/semantic-catalog/metrics"},{"title":"Segments","href":"/context-layer/semantic-catalog/segments"},{"title":"Events","href":"/context-layer/semantic-catalog/events"}]},{"title":"Skills","href":"/context-layer/skills"},{"title":"Rules","href":"/context-layer/rules"},{"title":"Memory","href":"/context-layer/memory"},{"title":"Files","href":"/context-layer/files"}]},{"group":"Building the Context Layer","pages":[{"title":"Recommended Build Order","href":"/context-layer/building/recommended-build-order"},{"title":"How the Context Layer Builder works","href":"/context-layer/building/how-the-context-layer-builder-works"},{"title":"Building Entities from Tables","href":"/context-layer/building/building-entities-from-tables"},{"title":"Building Metrics","href":"/context-layer/building/building-metrics"},{"title":"Building Segments","href":"/context-layer/building/building-segments"},{"title":"Building Skills","href":"/context-layer/building/building-skills"},{"title":"Building Product Memory","href":"/context-layer/building/building-memory"},{"title":"Context Layer Versioning","href":"/context-layer/building/context-layer-versioning"},{"title":"Inbox","href":"/context-layer/building/inbox"},{"title":"Building Events from the Event Catalog","href":"/context-layer/building/building-events-from-the-event-catalog"}]},{"group":"Ask Anything","pages":[{"title":"How Ask Anything Works","href":"/ask-anything/how-ask-anything-works"},{"title":"Asking Questions","href":"/ask-anything/asking-questions"},{"title":"Understanding Responses","href":"/ask-anything/understanding-responses"},{"title":"Diagnosing Answers","href":"/ask-anything/diagnosing-answers"},{"title":"Context Coverage","href":"/ask-anything/context-coverage"},{"title":"Sharing \u0026 Collaboration","href":"/ask-anything/sharing-and-collaboration"},{"title":"Unified Workspaces","href":"/ask-anything/unified-workspaces"},{"title":"Errors \u0026 Troubleshooting","href":"/ask-anything/errors-and-troubleshooting"}]},{"group":"Dashboards","pages":[{"title":"What are Dashboards?","href":"/dashboards/what-are-dashboards"},{"title":"Creating and Editing Dashboards","href":"/dashboards/creating-and-editing-dashboards"},{"title":"Asking About a Dashboard's Data","href":"/dashboards/asking-about-dashboard-data"},{"title":"Scheduling Dashboards","href":"/dashboards/scheduling-dashboards"},{"title":"Sharing and Managing Dashboards","href":"/dashboards/sharing-and-managing-dashboards"}]},{"group":"Automations","pages":[{"title":"What are Tasks?","href":"/automations/what-are-tasks"},{"title":"Creating \u0026 Scheduling Tasks","href":"/automations/creating-and-scheduling-tasks"},{"title":"Task Delivery \u0026 Notifications","href":"/automations/task-delivery-and-notifications"},{"title":"Workflows \u0026 Agents","href":"/automations/workflows-and-agents"},{"title":"Agent Runs \u0026 Approvals","href":"/automations/agent-runs-and-approvals"}]},{"group":"Integrations","pages":[{"group":"Embed","pages":[{"title":"Embedding ClarityQ","href":"/integrations/embed/embedding-clarityq"},{"openapi":"post /api/v1/products/{product_id}/embed/token","title":"Mint an embed token","href":"/integrations/embed/mint-embed-token"},{"openapi":"post /api/v1/products/{product_id}/conversations","title":"List conversations","href":"/integrations/embed/list-conversations"}]},{"group":"Slack","pages":[{"title":"Connecting Slack","href":"/integrations/slack/connecting-slack"},{"title":"Using ClarityQ in Slack","href":"/integrations/slack/using-clarityq-in-slack"}]},{"group":"Mattermost","pages":[{"title":"Connecting Mattermost","description":"Install the ClarityQ plugin on your Mattermost server so your team can ask questions and get task results in Mattermost.","href":"/integrations/mattermost/connecting-mattermost"},{"title":"Using ClarityQ in Mattermost","href":"/integrations/mattermost/using-clarityq-in-mattermost"}]},{"group":"Apps","pages":[{"title":"Using Apps","description":"Connect to the apps your organization provides and turn them on in a chat so ClarityQ can use them.","href":"/integrations/mcp/using-mcp-servers"},{"title":"Connecting MCP Servers","href":"/integrations/mcp/connecting-mcp-servers"},{"title":"Connecting an API","href":"/integrations/apps/connecting-an-api"},{"title":"What ClarityQ May Do","href":"/integrations/apps/what-clarityq-may-do"},{"title":"Connecting Atlassian (Jira)","href":"/integrations/mcp/connecting-atlassian"},{"title":"Connecting GitHub","href":"/integrations/mcp/connecting-github"}]},{"group":"ClarityQ MCP Server","pages":[{"title":"Connecting AI Assistants","href":"/integrations/clarityq-mcp-server/connecting-ai-assistants"},{"title":"Using ClarityQ from AI Assistants","href":"/integrations/clarityq-mcp-server/using-clarityq-from-ai-assistants"}]}]},{"group":"Administration","pages":[{"title":"Context Hub","href":"/admin/context-hub"},{"title":"User Management and Roles","href":"/admin/user-management-and-roles"},{"title":"API Keys and Service Accounts","sidebarTitle":"API Keys","href":"/admin/api-keys"},{"title":"Organization Settings","href":"/admin/organization-settings"},{"title":"Filters","href":"/admin/filters"},{"title":"Usage Dashboard","href":"/admin/usage-dashboard"},{"title":"Usage Limits and Top-Ups","href":"/admin/usage-limits-and-top-ups"},{"title":"Security and Compliance","href":"/admin/security-and-compliance"}]},{"group":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/index"},{"openapi":"post /api/v1/products/{product_id}/ask","title":"Ask a question","href":"/api-reference/api/ask-a-question"},{"openapi":"get /api/v1/products/{product_id}/conversations/{conversation_id}/status","title":"Get conversation status","href":"/api-reference/api/get-conversation-status"},{"openapi":"get /api/v1/products/{product_id}/conversations/{conversation_id}/summary","title":"Get conversation summary","href":"/api-reference/api/get-conversation-summary"},{"title":"Submit Feedback","openapi":"put /api/v1/products/{product_id}/conversations/{conversation_id}/feedback","href":"/api-reference/api/submit-feedback"},{"openapi":"get /api/v1/products/{product_id}/tasks/{task_id}/last-run-summary","title":"Get last completed task run summary","href":"/api-reference/api/get-last-completed-task-run-summary"},{"title":"Get Prompt Usage","openapi":"get /api/v1/products/{product_id}/usage/prompts","href":"/api-reference/api/get-prompt-usage"},{"title":"Submit External Feedback","openapi":"post /api/v1/products/{product_id}/external-feedback","href":"/api-reference/api/submit-external-feedback"}]},{"group":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]}]},"basePath":"","title":"Using ClarityQ in Mattermost - ClarityQ Documentation","deploymentId":"dpl_3VZr4zL4q2wbintGwWjSCGUgnuP7","buildId":"dpl_3VZr4zL4q2wbintGwWjSCGUgnuP7","dynamics":[],"chunks":[]}