FeaturedHR & Recruiting#HR#PTO#Leave Approval#HITL#Human Review#Slack

PTO Request Approval (Human-in-the-Loop)

An agent checks a time-off request against policy, then pauses for a manager to approve, edit, or refuse before the decision is finalized.

Workflow at a glance

The full canvas, before you import it

Click any node to see its config.

#HR#PTO#Leave Approval#HITL#Human Review#Slack

Click a node to select it — same as the Heym editor; the panel shows its settings.

5 nodes · Free & source-available

PTO Request Approval (Human-in-the-Loop)

Automate the busywork of time-off requests without removing the manager's decision. The agent checks the request against your leave policy, drafts a recommendation, and calls Human-in-the-Loop (HITL) so a manager approves, edits, or refuses before anything is finalized.

What this workflow does

  1. timeOffRequest captures employee, dates, leave type, and balance
  2. reviewTimeOffRequest checks the request against policy, drafts a recommendation, and requests human review before approving
  3. notifyApprover posts the review link and summary to the People Ops channel on the HITL branch
  4. reviewNotification returns the review URL while the run waits
  5. finalDecision returns the approved, edited, or refused outcome after the run resumes

Use cases

  • PTO, sick leave, and remote-work request approvals
  • Any HR decision that needs a manager sign-off before it lands in the HRIS
  • Policy-sensitive requests where an audit trail matters

Setup

Connect an LLM credential in the agent and a Slack credential in notifyApprover. Run with the sample request, open the review URL from Slack, then accept, edit, or refuse to resume. HITL works with text-mode agent output, so keep JSON output disabled.

How to import this template

  1. 1Click Import → Copy JSON on this page.
  2. 2Open your Heym and navigate to a workflow canvas.
  3. 3PressCmd+V/Ctrl+V— nodes appear instantly.
  4. 4Add your API keys in the node config panels and click Run.
More workflow templates
View all templates