Dograh

Voice Agents for Employee HR Help Lines: Leave, Pay and Privacy

Voice Agents for Employee HR Help Lines: Leave, Pay and Privacy
Use CaseDecember 4, 2026·8 min read

Voice Agents for Employee HR Help Lines: Leave, Pay and Privacy

Pritesh Kumar
Pritesh Kumar·Co-founder, Dograh AI

Building Dograh, the open-source alternative to Vapi. OSS and Voice AI. Exit founder and YC alum.

Voice agents for employee HR help lines answer leave, pay date and policy questions, verify the employee before any personal answer and open tickets in your HR system. Medical details, complaints and disputes go to people. HR teams can run this line on Dograh, the open-source AI voice agent platform, and self-host it or run it on Dograh Cloud.

Key Takeaways

  • Medical details stay off the line, and an HR specialist calls back.
  • Verify the employee before reading any balance, pay date or ticket.
  • Self-hosted Dograh keeps HR call transcripts on servers your company controls.

A night-shift worker who wants to know when holiday pay lands cannot email HR in the middle of the night. We cover what employees call about, handbook answers, verifying the caller, balances and tickets, and which matters go to people. The last section covers the Dograh setup.

What employees call HR about

Most HR calls repeat the same few questions. How many vacation days do I have left? When is the next pay day? What is the policy on shift swaps or bereavement leave? When does benefits enrollment close? Others want something done, such as a changed address, a copy of a pay stub or a ticket for a missing overtime payment.

A phone line matters most for people without a desk. Warehouse, retail, field and care staff often have no laptop at work and a short break to ask. They also work the hours when the HR office is closed.

Employees are asking for that coverage. In TriNet's survey of the US small business community, 59% of employees agreed HR should be available around the clock, and preference for AI-only support on general HR questions rose to 38%, up from 30% the year before. General questions are the ones a voice agent should take. The rest of this post is about where it should stop.

Policy answers from the handbook

Policy questions are answered from your own documents, never from the model's general idea of HR. Upload the handbook, leave policy and benefits summary to Dograh's Knowledge Base, which takes PDF, DOCX, DOC, TXT, JSON and Markdown files of up to 5 MB each. Chunked Search finds the right passage in a long handbook and uses the embedding model in your model configuration. Full Document suits a short file such as this year's pay calendar.

Policies change, and the answers must change with them. Text and Markdown files can be edited in place, so updating the holiday schedule does not mean a new upload. Our post on knowledge-base grounding covers how to write documents a voice agent reads well.

Leave law needs a careful line. The agent can repeat the basics on the Labor Department's FMLA page, such as 12 months with the employer, 1,250 hours in the last 12 months and up to 12 workweeks of leave. It never decides whether a caller qualifies. That decision sits with HR, and the call ends with a ticket or a callback, never a yes or no.

Verify the employee before personal answers

A leave balance or a pay date is personal data, so the agent confirms who is calling first. The calling number can find a likely record, but it proves nothing, since phones are shared and numbers change hands. Pre-Call Data Fetch, set to Inbound calls only, can look the number up in the employee directory and pass the first name for the greeting.

Then the agent asks for the employee ID and one more value the HR system holds. An HTTP API tool sends both to an endpoint that answers match or no match, so the stored values are never read aloud and never reach the agent. After two failed tries, the agent offers a callback from HR and shares nothing.

People who call HR pretending to be someone else usually want a payroll change, such as new bank details. Keep bank and address changes off the phone line, or require a stronger check your security team owns. Our post on password reset calls and safe verification covers social engineering on the phone in depth.

Dograh

Open Source Alternative to Vapi / Retell

Self-hosted voice agent platform — no per-minute fees

dograh-hq/dograh

Star on GitHub

Leave balances, pay dates and tickets

Live answers come from the HR system during the call. An HTTP API tool asks your HRIS for the verified employee's leave balance or next pay date, and a line set in the tool's Messages plays while the lookup runs, such as "Let me look that up". The agent receives the whole reply, so have your endpoint return only the fields it needs, such as the balance and the date.

The tool makes one attempt and waits 5 seconds by default. If the HRIS is slow or down, the agent says it could not reach the record and offers to open a ticket, so the caller is never left with a guess.

Requests become tickets in your HR service desk. A second HTTP API tool creates the ticket with the employee ID, the topic and a short summary, and the agent reads the ticket number back. Add a Preset Parameter named workflow_run_id set to {{initial_context.workflow_run_id}}, so your system ignores a ticket that arrives twice. Our post on how to connect a voice agent to Zendesk, Jira or ServiceNow has the API steps for those desks.

Sensitive matters go to a person

Some calls should never be handled by an agent. Health-related leave, accommodation requests, harassment, discrimination or retaliation complaints, pay disputes, discipline and termination all go to a person. The agent takes a callback number and a one-word topic, such as "accommodation", and nothing more.

Medical details need the firmest line. The FMLA rule on medical records keeps medical certifications as confidential medical records apart from personnel files, and the ADA rule on employee medical information keeps that information in separate confidential files too. A call transcript is saved with the call, so the agent stops a caller early with "Please don't share medical details on this line. An HR specialist will call you back."

A warehouse worker on a break calls the HR line and starts on a medical matter. The agent answers, Please don't share medical details on this line. An HR specialist will call you back. The call's transcript is saved with the call, and a callback ticket holding only a callback number and the topic accommodation goes to an HR specialist.
Rules on employee medical records keep them in separate confidential files, and a saved call transcript is not one of those files, so the ticket holds only enough for the specialist to call back.

Privacy law reaches HR calls as well. California's privacy law has covered employee and job applicant data since 1 January 2023, as California's privacy agency explains, and transcripts of HR calls are employee data. Our reading of these rules for a phone line is general, so confirm your medical-details line and record handling with counsel.

Distress comes first. Anyone who sounds in crisis hears "If you're thinking about harming yourself, call or text 988 to reach the Suicide and Crisis Lifeline. If you're in immediate danger, get to safety and call 911." For the handover itself, Transfer Call works on Twilio, Telnyx, Plivo, Cloudonix and Asterisk ARI. Dograh calls the destination first and connects the caller only when someone answers, and if nobody picks up, an HTTP API tool opens an urgent callback ticket. Our post on escalation rules for helpdesk voice agents covers writing those rules.

Join the Dograh Community

Dograh is an OSS alternative to Vapi. Join our Slack community for queries, releases, best practices & community interactions.

Building the HR help line in Dograh

Describe the help line to the Agent Builder in plain language and fine-tune it on the canvas. The builder runs on Dograh's models, so a self-hosted install connects to a free Dograh account to use it, and on a server with no internet access you build on the canvas by hand. Payroll questions can move to a second agent with Transfer To Agent, without dropping the call.

Benefit plan names and HR terms often trip up speech-to-text. Add them to the Dictionary in the agent's Settings, so speech-to-text providers that take key terms hear them correctly. If your workforce speaks more than one language, set Multilingual (Auto-detect) in the Model tab, and write the Greeting Text in both languages, since it plays before the agent can hear which one the caller speaks.

Employee records are the strongest reason to self-host Dograh for this line. Installed with Docker Compose on your own servers, the database, recordings and transcripts stay where HR controls access. Dograh is the orchestration layer that runs the call flow, tools and telephony, and the voice goes to the speech and language models you choose, a separate layer.

Recording can be switched off for the whole server with ENABLE_CALL_RECORDING_UPLOAD, and transcripts are still saved, so the medical-details line matters on every setup. Your retention policy decides when both are deleted from your storage. After each call, a Webhook node sends the topic, ticket number and outcome to your HR system, and a QA Analysis node can score a sample of calls so your team checks every sensitive topic was handed over.

Self-hosting has no per-minute platform fee, but servers, model keys and phone minutes still cost money, and your team runs the database and upgrades. The open-source community provides support, and Enterprise adds custom SLAs. Dograh Cloud runs it instead for a 1¢-a-minute platform fee.

Glossary

Confidential medical record
Medical certifications and histories an employer keeps apart from personnel files under FMLA and ADA rules. They stay off the HR voice line.
Full Document
A Knowledge Base mode that gives the agent a short file whole, such as this year's pay calendar, instead of searching it for one passage.
HRIS
The human resources information system that holds employee records, leave balances and pay dates. The agent reads it through HTTP API tools.
Dictionary
A list of names and terms in the agent's Settings, such as benefit plan names, that helps speech-to-text providers which take key terms hear them correctly.

Frequently Asked Questions

Get started with Dograh

Build, deploy, and scale AI agents with Dograh. Join the community of developers building the future.