Hrflow
by @ncreighton
Automate HR workflows including benefits enrollment, onboarding, and payroll integration. Use when the user needs to streamline employee processes, reduce ma...
clawhub install hrflowπ About This Skill
name: Automate HR Onboarding with Zapier Integrations & Google Drive Storage description: "Automate HR workflows including benefits enrollment, onboarding, and payroll integration. Use when the user needs to streamline employee processes, reduce manual HR tasks, or personalize employee experiences across HRIS systems." version: 1.0.0 homepage: https://github.com/ncreighton/empire-skills metadata: {"openclaw":{"requires":{"env":["HRIS_API_KEY","PAYROLL_API_KEY","SLACK_WEBHOOK_URL"],"bins":["curl","jq"]},"os":["macos","linux","win32"],"files":["SKILL.md"],"emoji":"π"}}
Overview
HRFlow is an AI-driven HR process automation skill that intelligently orchestrates complex employee workflows across your entire HR ecosystem. Whether you're managing benefits enrollment, automating onboarding sequences, or syncing payroll data, HRFlow eliminates manual work and creates frictionless experiences for your team.
Why HRFlow Matters:
Key Integrations:
Quick Start
Example 1: Automate Benefits Enrollment for New Hires
"Set up an automated benefits enrollment workflow for our new hire cohort.
Trigger personalized emails with plan comparisons based on employee lifecycle
stage, include DocuSign integration for enrollment forms, and sync completed
enrollments back to Workday within 24 hours. Send daily Slack summaries to HR."
Example 2: Create Intelligent Onboarding Sequences
"Build a 30-day AI-driven onboarding workflow that personalizes tasks based on
department and role. Include hardware provisioning (auto-order laptop and phone),
system access requests (GitHub, Slack, Google Workspace), manager 1-on-1
scheduling, and culture documentation. Notify managers of pending tasks via Teams."
Example 3: Sync Payroll Changes Across Systems
"Automate our payroll processing: pull updated employee data from BambooHR
salary changes, map to Gusto payroll system, validate against tax withholding
rules, and if any discrepancies occur, flag for HR review and escalate to
slack #payroll-alerts. Generate a compliance report for finance."
Example 4: Benefits Renewal Campaign with AI Personalization
"Launch our annual benefits renewal: segment employees by tenure and benefits
tier, generate personalized communication highlighting plan changes relevant to
each segment, track engagement metrics in real-time, and auto-escalate inactive
employees to HR for phone outreach."
Capabilities
1. Intelligent Workflow Orchestration
Usage Example:
Workflow: New Hire Activation
βββ Day 1: Send welcome email + equipment order
βββ Day 3: System access provisioning + manager sync
βββ Day 7: Benefits enrollment (personalized by role)
βββ Day 14: Culture onboarding & direct report mapping
βββ Day 30: 30-day check-in survey
2. Bi-directional HRIS & Payroll Integration
Supported Data Points:
3. AI-Powered Personalization Engine
4. Multi-Channel Notifications
5. Document Automation & E-Signature
6. Compliance & Audit Reporting
Configuration
Required Environment Variables
# HRIS System Authentication
export HRIS_API_KEY="your-workday-or-bamboohr-api-key"
export HRIS_SYSTEM="workday" # Options: workday, bamboohr, namely, custom
export HRIS_TENANT_ID="your-tenant-id"Payroll System Authentication
export PAYROLL_API_KEY="your-gusto-or-adp-api-key"
export PAYROLL_SYSTEM="gusto" # Options: gusto, adp, paychex, squareCommunication Channels
export SLACK_WEBHOOK_URL="https://hooks.slack.com/services/YOUR/WEBHOOK/URL"
export SLACK_DEFAULT_CHANNEL="#hr-alerts"
export SENDGRID_API_KEY="your-sendgrid-key" # For emailDocument Signing
export DOCUSIGN_API_KEY="your-docusign-integration-key"
export DOCUSIGN_ACCOUNT_ID="your-account-id"Security & Compliance
export ENCRYPTION_KEY="your-256-bit-encryption-key"
export AUDIT_LOG_RETENTION_DAYS="2555" # 7 years
export DATA_RESIDENCY="us-east-1" # GDPR/compliance region
Optional Configuration
# Workflow Settings
export WORKFLOW_TIMEOUT_MINUTES="1440" # Max runtime before auto-fail
export APPROVAL_REMINDER_HOURS="24" # Escalate pending approvals
export BATCH_PROCESS_SIZE="100" # For bulk operationsAI Personalization
export PERSONALIZATION_MODEL="openai-gpt4"
export SENTIMENT_ANALYSIS_ENABLED="true"
export ENGAGEMENT_SCORE_THRESHOLD="0.6"Custom HRIS Endpoint (if using custom system)
export CUSTOM_HRIS_BASE_URL="https://your-hris.company.com/api/v2"
export CUSTOM_HRIS_AUTH_TYPE="oauth2" # or basic, bearer
Initial Setup
1. Authenticate with HRIS:
- Generate API key in Workday/BambooHR admin console
- Test connection: hrf test-hris-connection
2. Configure Payroll Integration: - Link Gusto/ADP account via OAuth - Map employee fields between HRIS and payroll - Validate data sync with test batch
3. Set Up Communication Channels:
- Create Slack app and generate webhook
- Configure SendGrid for transactional email
- Test notifications: hrf test-notification slack
4. Document Signing (Optional): - Register with DocuSign or HelloSign - Upload HR document templates - Assign signer roles and routing
Example Outputs
Output 1: New Hire Workflow Status Report
HRFlow Workflow Report - New Hire Activation
Generated: 2024-01-15 10:30 AMHire: Sarah Chen | Start Date: 2024-01-15 | Department: Engineering
β
COMPLETED (Day 1):
β Welcome email sent (2024-01-15 09:00)
β Laptop order placed: MacBook Pro 16" (Order #WH-445829)
β Manager notification sent to James Rodriguez
β³ IN PROGRESS (Day 3):
β± System access provisioning (80% complete)
- GitHub: pending manager approval
- Slack workspace: activated
- Google Workspace: active
β± Security training assignment: due 2024-01-18
π PENDING (Day 7):
β° Benefits enrollment: due 2024-01-22
- Medical: 3 plan options + personalized comparison
- 401(k): auto-enrollment at 3% (adjustable)
- FSA election: recommended based on dependent status
β° I-9 verification: scheduled for 2024-01-20
RISK FLAGS: None
APPROVAL CHAIN: All completed on-time
Output 2: Payroll Sync Validation Report
HRFlow Payroll Integration Report
Sync Date: 2024-01-15 | Cycle: Bi-weeklySOURCE: BambooHR β DESTINATION: Gusto Payroll
βββββββββββββββββββββββββββββββββββββββββββββ
PROCESSED: 487 employee records
β
MATCHED: 483 (99.2%)
β οΈ WARNINGS: 3
β ERRORS: 1
WARNINGS (Requires Review):
1. Marcus Johnson - Salary change +8% detected
Action: Waiting HR approval in #payroll-alerts
2. Priya Patel - Tax withholding mismatch (-$12/paycheck)
Recommendation: Verify W-4 on file
3. New hire - Michael Torres - Missing direct deposit info
Action: Auto-sent banking form request
ERRORS (Blocked):
1. Jennifer Lee - Duplicate employee ID in Gusto
Status: HR contacted, awaiting resolution
DATA CONSISTENCY CHECKS:
β Tax IDs match across systems
β Deduction codes valid
β Department mappings correct
β Benefit plan elections aligned
Output 3: Benefits Enrollment Campaign Summary
HRFlow Benefits Renewal Campaign - 2024
Campaign Dates: Jan 8-22 | Target: 250 employeesOVERALL ENGAGEMENT: 92% (230/250)
βββ Opened email: 98% (245/250)
βββ Clicked enrollment link: 94% (235/250)
βββ Completed enrollment: 92% (230/250)
BY SEGMENT:
Tenure < 1 year: 88% completion (12 pending β escalate to phone)
Tenure 1-5 years: 95% completion (5 pending)
Tenure 5+ years: 93% completion (9 pending)
BY DEPARTMENT:
Engineering: 96% β (highest engagement)
Sales: 89% (send reminder to Sales Ops)
Finance: 94% β
HR: 100% β (all staff completed)
PLAN ELECTIONS TRENDS:
Medical plans: No change (69% HMO, 31% PPO)
401(k): +3% avg contribution increase (from 5.2% to 5.5%)
FSA: 42% enrollment (stable year-over-year)
Wellness: +12% uptake in gym benefits
NEXT STEPS:
β Phone outreach for 26 pending employees (Jan 23-24)
β Generate finalized census for plan administrators
β Sync all elections to payroll system (Jan 25)
β Send confirmation statements (Jan 26)
Tips & Best Practices
1. Start with High-ROI Processes
2. Segment Your Audience Strategically
Create workflows by employee lifecycle stage:
βββ New hires (0-30 days): intensive onboarding
βββ Established (30-365 days): integration + development
βββ Tenured (1+ years): career pathing, benefits optimization
βββ Offboarding: exit workflows, knowledge transfer
3. Leverage Personalization for Engagement
4. Set Up Approval Chains Correctly
5. Monitor Compliance Continuously
6. Optimize Communication Timing
7. Test Before Rolling Out to All Employees
Safety & Guardrails
What HRFlow Will NOT Do
Employee Termination Automation:
Sensitive Compensation Decisions:
Data Deletion:
Surveillance or Monitoring:
Security Boundaries
Compliance Certifications
Troubleshooting
Common Issues & Solutions
Issue 1: Payroll Sync Fails with "Field Mismatch" Error ``` Error: "Field 'cost_center' not found in Gusto schema"
Solution: 1
π‘ Examples
Example 1: Automate Benefits Enrollment for New Hires
"Set up an automated benefits enrollment workflow for our new hire cohort.
Trigger personalized emails with plan comparisons based on employee lifecycle
stage, include DocuSign integration for enrollment forms, and sync completed
enrollments back to Workday within 24 hours. Send daily Slack summaries to HR."
Example 2: Create Intelligent Onboarding Sequences
"Build a 30-day AI-driven onboarding workflow that personalizes tasks based on
department and role. Include hardware provisioning (auto-order laptop and phone),
system access requests (GitHub, Slack, Google Workspace), manager 1-on-1
scheduling, and culture documentation. Notify managers of pending tasks via Teams."
Example 3: Sync Payroll Changes Across Systems
"Automate our payroll processing: pull updated employee data from BambooHR
salary changes, map to Gusto payroll system, validate against tax withholding
rules, and if any discrepancies occur, flag for HR review and escalate to
slack #payroll-alerts. Generate a compliance report for finance."
Example 4: Benefits Renewal Campaign with AI Personalization
"Launch our annual benefits renewal: segment employees by tenure and benefits
tier, generate personalized communication highlighting plan changes relevant to
each segment, track engagement metrics in real-time, and auto-escalate inactive
employees to HR for phone outreach."
βοΈ Configuration
Required Environment Variables
# HRIS System Authentication
export HRIS_API_KEY="your-workday-or-bamboohr-api-key"
export HRIS_SYSTEM="workday" # Options: workday, bamboohr, namely, custom
export HRIS_TENANT_ID="your-tenant-id"Payroll System Authentication
export PAYROLL_API_KEY="your-gusto-or-adp-api-key"
export PAYROLL_SYSTEM="gusto" # Options: gusto, adp, paychex, squareCommunication Channels
export SLACK_WEBHOOK_URL="https://hooks.slack.com/services/YOUR/WEBHOOK/URL"
export SLACK_DEFAULT_CHANNEL="#hr-alerts"
export SENDGRID_API_KEY="your-sendgrid-key" # For emailDocument Signing
export DOCUSIGN_API_KEY="your-docusign-integration-key"
export DOCUSIGN_ACCOUNT_ID="your-account-id"Security & Compliance
export ENCRYPTION_KEY="your-256-bit-encryption-key"
export AUDIT_LOG_RETENTION_DAYS="2555" # 7 years
export DATA_RESIDENCY="us-east-1" # GDPR/compliance region
Optional Configuration
# Workflow Settings
export WORKFLOW_TIMEOUT_MINUTES="1440" # Max runtime before auto-fail
export APPROVAL_REMINDER_HOURS="24" # Escalate pending approvals
export BATCH_PROCESS_SIZE="100" # For bulk operationsAI Personalization
export PERSONALIZATION_MODEL="openai-gpt4"
export SENTIMENT_ANALYSIS_ENABLED="true"
export ENGAGEMENT_SCORE_THRESHOLD="0.6"Custom HRIS Endpoint (if using custom system)
export CUSTOM_HRIS_BASE_URL="https://your-hris.company.com/api/v2"
export CUSTOM_HRIS_AUTH_TYPE="oauth2" # or basic, bearer
Initial Setup
1. Authenticate with HRIS:
- Generate API key in Workday/BambooHR admin console
- Test connection: hrf test-hris-connection
2. Configure Payroll Integration: - Link Gusto/ADP account via OAuth - Map employee fields between HRIS and payroll - Validate data sync with test batch
3. Set Up Communication Channels:
- Create Slack app and generate webhook
- Configure SendGrid for transactional email
- Test notifications: hrf test-notification slack
4. Document Signing (Optional): - Register with DocuSign or HelloSign - Upload HR document templates - Assign signer roles and routing
π Tips & Best Practices
Common Issues & Solutions
Issue 1: Payroll Sync Fails with "Field Mismatch" Error ``` Error: "Field 'cost_center' not found in Gusto schema"
Solution: 1