30 Nov, 2026
•
7 MIN READ
How to Ask an AI a Question Across Slack and CRM Data
Introduction
Key Takeaways
- Start with the question: Write down exactly what you want to know before you connect any tool.
- Match the names across both systems: "Acme" in Slack and "Acme Corp" in the CRM must point to the same customer, or your answer will miss half the story.
- Use each person's own access: The AI should only see the channels and records the person asking can already see.
- Keep it read-only at first: Give the AI read access only, and add actions once you trust the answers.
- Test with a combined question: Name the customer, the time window, and both sources in one plain-language request, then try the awkward cases.
- Review the answer and show both sides when they conflict: If Slack and the CRM disagree, display each fact with its date and source, and let a person decide.
Step 1: Define the Business Question and Map Required Data Sources

Step 2: Match the Names Across Both Systems
- The account name in the CRM, exactly as it appears.
- The nicknames people use in Slack, including abbreviations and old names.
- The Slack channels where the deal is discussed.
- The dates that matter. A contract signed in March may have been changed in a Slack thread in May, so decide which source wins for which date.

Step 3: Connect Slack and Your CRM With Each Person's Own Access

- Connect each source through its own sign-in (OAuth). Each person connects their own Slack account and CRM account, instead of sharing one broad login.
- Check access on every question. A private channel stays private, and a restricted CRM record stays restricted. If the check fails, the source should return nothing, not a partial result.
- Don't share results across people. An answer built from one person's access should never be reused for someone with less access.
- Scope each connection. Give the AI only the scopes the question needs, such as Slack's channels:history and groups:history for reading messages, and nothing more.
- Start read-only. Let the AI answer questions before you let it change anything. When conflicting facts and automatic writes meet, bad data spreads quickly. Add actions only after you trust the answers.
Step 4: Ask a Test Question That Spans Both

- Write a sample question in plain language: "What is Acme's current negotiated discount, and what did the team discuss in the #acme-deal channel this week about their renewal concerns?"
- Add the entity and the time window: Use the customer name you mapped in Step 2, and a date range such as "this week" or "since March."
- Run it and check the answer: Does it include the discount from the CRM and the messages from Slack? Are the dates correct?
- Narrow it if needed: If the answer is noisy, shorten the time window or name the channel.
- A customer in the CRM with no Slack history. The answer should say so, not invent context.
- A Slack thread about a prospect not yet in the CRM. The answer should say what is missing.
- A private channel the person cannot see. It should not appear in the answer at all.
- The same question, worded differently. "What's the latest on Acme's renewal?" and "Show me Acme's contract terms and recent Slack posts" should return consistent facts. If they don't, your name mapping or permissions need work.
Step 5: Review the Answer and Resolve Conflicts

- Does each claim trace to a source you can open?
- Does any fact contradict another?
- Is the newest fact the one being treated as current?
Is There an Easier Way?
- Connect Slack. In PromptQL, click Data in the left pane, search for Slack in integrations, click Connect, and complete the OAuth flow. Each person connects their own Slack account, so PromptQL only sees what they can see.
- Connect your CRM. Connect your CRM as a data source, scoped to the account records your question needs. The integrations directory also lists CRMs such as HubSpot, Pipedrive, Attio, and Zoho CRM, and it also connects to any database, API, or SaaS tool.
- Ask the combined question. For example: "Which deals celebrated in #sales-wins this month aren't Closed Won in Salesforce yet?" Ask it in PromptQL, or tag the PromptQL bot in a Slack channel. Either way, it answers from both sources using your permissions, and you can follow up in the same thread. Everyone in that channel can read the bot's reply, even if they can't open the CRM record, so tag it only in channels where the whole group may see the answer.
- Keep your definitions in the wiki. Write down what "active customer" or "closed won" means, so the next answer starts from your team's agreed meaning.
| Build it yourself | PromptQL | |
|---|---|---|
| Connecting Slack | You build and maintain the sign-in and token handling | Connect from the Data page with an OAuth flow, in about a minute |
| Permissions | You check each person's access on every query | Each person connects their own Slack account, and PromptQL acts with their permissions |
| Asking the question | You build a layer that queries both sources | Ask in plain language, alone or combined with other data |
| Naming rules | You maintain a mapping document | You can keep definitions and corrections in the wiki |
| Changes to other systems | You design an approval step | Writes and external calls require approval |
Conclusion
Frequently Asked Questions
How can I combine my Slack conversation history with my CRM data when asking an AI question?
What should I know about privacy and security when combining Slack and CRM data?
What can I ask once Slack and CRM data are connected?
What if Slack and the CRM disagree?
Sources
- PromptQL | Bot, meet humans. - promptql.io

