Create Holiday
sf_create_holidayCreate Salesforce holiday records to exclude specific dates from SLA calculations. Supports one-time and recurring events, with optional Business Hours association.
Instructions
Creates a Holiday record in Salesforce via the Metadata API. Holidays are used with Business Hours to exclude specific days from SLA calculations. Supports both one-time and recurring holidays (e.g. yearly). Optionally associate the holiday with specific Business Hours.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Holiday name | |
| description | No | Description | |
| isRecurring | No | Whether this holiday recurs annually | |
| activityDate | No | Date for non-recurring holiday (YYYY-MM-DD) | |
| recurrenceType | No | Recurrence type, e.g. 'RecursYearly' | |
| businessHoursName | No | Associated business hours name | |
| recurrenceStartDate | No | Recurrence start date (YYYY-MM-DD) | |
| recurrenceEndDateOnly | No | Recurrence end date (YYYY-MM-DD) |