Create Business Hours
sf_create_business_hoursCreate Salesforce Business Hours with per-day schedules, time zone, and active status. Set working hours for SLA calculation, entitlement processes, and escalation rules.
Instructions
Creates Business Hours in Salesforce via the Metadata API. Define working hours for each day of the week, specify the time zone, and mark days as active or inactive. Business Hours are used with Entitlement Processes, Escalation Rules, and Holidays to calculate SLA milestones.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | Yes | Business hours for each day | |
| name | Yes | Business hours name | |
| isActive | No | Whether business hours are active | |
| timeZone | Yes | Time zone, e.g. 'America/New_York' | |
| isDefault | No | Whether this is the default business hours |