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.
The full canvas, before you import it
Click any node to see its config.
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
- timeOffRequest captures employee, dates, leave type, and balance
- reviewTimeOffRequest checks the request against policy, drafts a recommendation, and requests human review before approving
- notifyApprover posts the review link and summary to the People Ops channel on the HITL branch
- reviewNotification returns the review URL while the run waits
- 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
- 1Click Import → Copy JSON on this page.
- 2Open your Heym and navigate to a workflow canvas.
- 3PressCmd+V/Ctrl+V— nodes appear instantly.
- 4Add your API keys in the node config panels and click Run.
Discover more automations
- HR & RecruitingLinkedIn AI Candidate Search & RankerSearch LinkedIn for candidates via the API, rank each profile with GPT-4o against your job description, and post a shortlist to Slack.
- HR & RecruitingCandidate Scorecard Sheet ScreenerReview new candidate rows from a hiring spreadsheet, draft scorecards with AI, and notify recruiters about strong matches.
- HR & RecruitingEmployee Onboarding OrchestratorTurn a new-hire intake into a personalized onboarding plan, provision accounts via API, send a welcome email, and brief People Ops in Slack.
- Customer SupportHITL Support Reply AgentDraft a customer-facing support response, pause for human approval, then continue with the reviewed reply.
- Marketing & SEOReddit Subreddit GET Tool CallLet an Agent call a no-key HTTP GET tool that fetches hot posts from a subreddit JSON feed.
- AI AgentsBatch LLM Status TrackerSend an array through the OpenAI Batch API, branch on live status updates, and collect the final per-item results.
- Customer SupportIMAP Support Inbox TriageWatch a shared mailbox, summarize incoming support email, and route urgent messages to Slack.
- Document OpsJina Web FetcherFetch clean, LLM-ready text from any URL using the Jina Reader API.
- Dev & IT OpsCursor Post NotifierMonitor the Cursor blog on a schedule and Slack-notify your team when a new post goes live.
- Marketing & SEOGemini Image CreatorGenerate images from a text prompt using Gemini's native image output.
- Document OpsPDF / DOCX Translation AgentTranslate the full text of any uploaded document using an AI agent.
- Dev & IT OpsClaude Blog MonitorMonitor the Anthropic blog on a schedule and Slack-notify your team on new Claude posts.