Home / Insights / AI Agents and Automation

AI Agents and Automation

Internal HR and IT Helpdesk Chatbots in Microsoft Teams or Slack: A Pre-Build Checklist

An internal helpdesk chatbot lives or dies on content ownership, permissions and a clean route to the service desk. This checklist covers what to settle before building an HR and IT bot inside Microsoft Teams or Slack.

TopicsAI Agents and AutomationBusiness Operations and IntegrationGenerative AI and LLMs

Key takeaways

  • Scope the bot to a defined set of HR and IT questions with named content owners, not to everything on the intranet.
  • Permissions must follow the employee: the bot should only retrieve content and data the person asking is allowed to see.
  • Use the workplace identity the chat platform already provides, and never let the model hold broader credentials than the user.
  • Ticket creation in your service desk, with a summary and category, is as important as the answers themselves.
  • Pilot with one department and one region first; policy differences between countries are the most common source of wrong answers.

Staff ask the same questions every week. How many leave days do I have left? How do I reset my VPN token? Where is the expenses policy? Which form do I need for parental leave? HR and IT teams answer these by email, chat and ticket, and the answers usually already exist somewhere in a policy document, knowledge base article or HR system.

An internal helpdesk chatbot that sits inside Microsoft Teams or Slack can answer from that approved content, look up personal information where appropriate, and raise a ticket when it cannot help. It is one of the chatbot types PoliteTech builds. It also carries risks a public bot does not: confidential HR data, per-country policies, and a direct line into internal systems. This checklist covers the decisions we ask teams to make before any build starts. For a broader internal knowledge assistant that spans many departments, see our guide to building an internal AI knowledge assistant; this article focuses specifically on the HR and IT helpdesk case.

1. Scope and content ownership

The bot is only as reliable as the content it answers from. Before any technical work, settle:

  • Top questions. Pull a sample of recent HR and IT tickets and chat requests, group them, and choose the categories the first version will handle.
  • Approved sources. List the specific documents, knowledge base spaces and FAQs the bot may use. Exclude drafts, archived policies and personal folders.
  • Content owners. Every source needs a named owner who will update it when policy changes and review flagged answers.
  • Country and entity variants. If you operate in several countries, decide how the bot knows which policy applies to the person asking. Leave entitlements, public holidays and benefits often differ.
  • Out-of-scope topics. Grievances, performance issues, medical matters and anything involving a specific colleague should route straight to a person.
CategoryTypical first-version scopeUsually route to a person
HR policyLeave rules, expenses, travel, onboarding steps, where to find formsDisputes, exceptions, sensitive personal circumstances
HR personal dataOwn leave balance, own payslip location (if the HR system allows lookups)Salary changes, anything about another employee
IT how-toPassword reset steps, VPN setup, printer and software guidesSecurity incidents, suspected phishing, hardware failures
IT requestsRaising a ticket for software access or equipment with the right categoryApprovals that need a manager or security review

2. Permissions and identity

This is where internal bots most often go wrong. A bot that can retrieve any document in the knowledge base can leak confidential HR guidance, restructuring plans or security procedures to people who should not see them.

Checklist

  • Use the platform identity. Teams and Slack already know who the user is. Map that identity to your directory so the bot knows department, country and role.
  • Retrieve with the user’s permissions. Document retrieval should filter by the access rights of the person asking, not by a service account that can see everything. Our article on choosing a vector database for permission-aware RAG covers the storage side of this.
  • Personal lookups are scoped to self. A leave balance query returns only the requester’s own balance. Requests about other people are refused or routed.
  • Least privilege for actions. If the bot can create tickets or trigger workflows, the integration should hold only the permissions those actions require, handled in application code rather than given to the model directly.
  • Private channels only for personal data. Answer personal questions in direct messages, never in a shared channel where the bot was mentioned.

3. Security and prompt injection

Internal does not mean safe. Employees paste emails, documents and screenshots into chat, and some of that content will contain text that looks like instructions. The OWASP guidance on prompt injection distinguishes direct injection, where a user’s own prompt changes model behaviour, from indirect injection, where external content such as a document or web page carries embedded instructions. An internal bot that reads knowledge base pages and pasted emails is exposed to both.

Practical mitigations that apply here:

  • Constrain the bot’s role and refuse attempts to override it.
  • Keep actions in application code with their own authorisation checks, so a manipulated model response cannot grant access on its own.
  • Require human approval for anything with real impact, such as access grants or account changes.
  • Label retrieved and pasted content as untrusted data in the prompt.
  • Include adversarial cases in the test set and rerun them on every content or prompt change.

Also decide what is logged. Conversation logs are useful for improving answers but can contain personal and sensitive information. Agree retention periods, who can access logs, and whether HR conversations are stored separately with tighter access. For a structured approach to these decisions, our threat modelling guide is a good companion.

4. Service desk handoff

An internal bot that cannot raise a ticket just moves the frustration. The handoff into your HR case system or IT service desk should be designed as carefully as the answers.

  • Create a ticket with the right category, priority and requester, using your service desk’s existing structure.
  • Attach a short summary of what the employee asked and what the bot already suggested.
  • Return the ticket reference to the employee in the chat, and post updates back if your service desk supports it.
  • For urgent IT issues, such as a suspected security incident, give the out-of-hours phone route rather than only a ticket.
  • Let agents mark bot answers as wrong from inside the ticket, so content owners receive the feedback.

5. Platform and architecture choices

Teams and Slack both support bots, but the build differs in identity setup, message formatting, app distribution and admin approval. Decide early:

DecisionOptionsWhat drives the choice
Chat platformTeams, Slack, or bothWhere staff already work; supporting both adds integration and testing effort
Model hostingHosted API, open model in your cloud, private deploymentData sensitivity, residency requirements, internal policy on external AI services
Knowledge storeExisting search, a vector index, or bothVolume of content, permission model, how often policies change
HR and IT system accessRead-only lookups, ticket creation, workflow triggersAvailable APIs, approval rules, audit requirements

Our general position is to keep the architecture in four layers with clear ownership: knowledge retrieval, conversation logic with safety rules, integrations, and analytics. This keeps it possible to change the model or chat platform later without rebuilding everything.

6. Pilot, rollout and measurement

  1. Pilot with one department and one country. This keeps policy variants manageable and gives you a group willing to report problems.
  2. Set clear expectations. Tell staff what the bot can and cannot help with, and that it may be wrong.
  3. Review weekly. Look at unanswered questions, flagged answers and tickets raised, and route content gaps to owners.
  4. Expand by category, then by region. Add new policy areas only when their owners are ready to maintain them.

Useful measures include the share of questions answered without a ticket, tickets raised with correct category first time, flagged-wrong answers per week, and time saved for HR and IT staff as they estimate it. If you are planning an internal helpdesk bot, our AI chatbot development team can help scope a first version around your real ticket data.

Frequently asked questions

Should we build for Teams or Slack?

Build for the platform most of your staff already use daily. Supporting both is possible but adds identity, formatting and testing work, so it is usually better as a second phase.

Can the bot show employees their own leave balance or payslip details?

It can if your HR system exposes suitable APIs and your policies allow it. The lookup must be strictly limited to the requesting employee and answered in a private message.

How do we stop the bot answering with an out-of-date policy?

Limit sources to approved, current documents with named owners, exclude archived versions, and give owners a simple process for updating content and reviewing flagged answers.

Does an internal chatbot need the same security testing as a public one?

Yes. Internal bots often have access to more sensitive data. Test permissions, prompt injection from pasted content, and logging behaviour before rollout.

Sources and methodology

Guidance reflects PoliteTech delivery experience. The external references below informed specific points in this article.

  1. OWASP Gen AI Security Project: LLM01 Prompt Injection — Supported the distinction between direct and indirect prompt injection and the mitigation list (least privilege, human approval, labelling untrusted content, adversarial testing).

Which HR and IT questions could your staff answer in Teams or Slack?

Send us a sample of recent helpdesk tickets and we will suggest a first scope, permission model and service desk integration.