Back to Documentation
Integration20 min read
Connecting Deputy HR to Craveva
Integrate Deputy workforce management system with Craveva AI for scheduling, attendance, and HR analytics.
Connecting Deputy HR to Craveva
Overview
Deputy is a workforce management platform for scheduling, time tracking, and HR management. Connect Deputy to Craveva AI to optimize scheduling, analyze workforce data, and automate HR processes.
Prerequisites
- Active Deputy account
- Deputy API access (requires subscription)
- API credentials (OAuth)
- Craveva AI account
Step 1: Create Deputy OAuth App
- Log in to Deputy Developer Portal (developers.deputy.com)
- Click Create App
- Fill in application details:
- Select OAuth scopes:
- Click Create
- Copy your credentials:
- - App Name: "Craveva AI Integration"
- - Description: "AI-powered workforce management"
- - Redirect URI:
https://api.craveva.ai/oauth/deputy/callback - - employee: Read employee data
- - timesheet: Read timesheet data
- - schedule: Read schedule data
- - location: Read location data
- - Client ID: Your OAuth client ID
- - Client Secret: Your OAuth client secret
Step 2: Connect Deputy in Craveva
- Log in to Craveva AI dashboard
- Navigate to Data Sources → Connect New Data Source
- Select REST API connector
- Choose HR & Payroll Systems category
- Enter connection details:
- Click Authorize to start OAuth flow
- Log in to Deputy and grant permissions
- Once authorized, click Save
- - Name: "Deputy HR"
- - Base URL:
https://{your-subdomain}.api.deputy.com - - Auth Type: OAuth 2.0
- - Client ID: Your Deputy Client ID
- - Client Secret: Your Client Secret
- - Authorization URL:
https://once.deputy.com/my/oauth/login - - Token URL:
https://{your-subdomain}.api.deputy.com/v1/oauth/access_token - - Redirect URI:
https://api.craveva.ai/oauth/deputy/callback
Step 3: Configure Endpoints
Map these Deputy API endpoints:
- Employees:
/v1/resource/Employee- Employee data - Timesheets:
/v1/resource/Timesheet- Time tracking - Schedules:
/v1/resource/Schedule- Shift schedules - Locations:
/v1/resource/Location- Business locations - Rosters:
/v1/resource/Roster- Staff rosters
Step 4: Create Deputy Agents
Scheduling Agent
- Optimize staff schedules
- Predict staffing needs
- Balance workloads
- Reduce overtime costs
Attendance Agent
- Track attendance patterns
- Monitor punctuality
- Identify trends
- Generate reports
Workforce Analytics Agent
- Analyze labor costs
- Track productivity
- Identify top performers
- Optimize staffing
Available Data
- Employee information
- Timesheets and attendance
- Schedules and shifts
- Locations and departments
- Rosters and assignments
- Leave requests
- Performance data
Use Cases
Smart Scheduling
- Optimize shift assignments
- Predict staffing needs
- Balance workloads
- Reduce labor costs
Attendance Management
- Track attendance automatically
- Monitor punctuality
- Identify patterns
- Generate reports
Workforce Analytics
- Analyze labor costs
- Track productivity
- Identify trends
- Optimize operations
Troubleshooting
OAuth Issues?
- Verify redirect URI matches
- Check OAuth scopes
- Ensure Deputy account is active
- Try re-authorizing
Connection Problems?
- Check subdomain in URLs
- Verify API credentials
- Ensure OAuth app is active
- Contact Deputy support
Next Steps
- Set up scheduling optimization
- Create attendance dashboards
- Build workforce analytics
- Integrate with payroll systems
Related Guides
Connecting Qashier POS to Craveva
Step-by-step guide to integrate your Qashier POS system with Craveva AI for real-time sales data and...
Shopify E-commerce Integration
Connect your Shopify store to automate order processing, inventory sync, and customer support....
Security Best Practices
Implement tenant isolation, secure API keys, and follow privacy-first architecture guidelines....