Assign Presence Status to Profiles/Permission Sets
sf_assign_presence_statusAssign a presence status to specified Salesforce profiles or permission sets, enabling agents to select it. Provide status name and at least one profile or permission set.
Instructions
Grants access to a Presence Status for the specified Profiles and/or Permission Sets. Agents can only select presence statuses that are assigned to their profile or permission set.
profiles: list of Profile names (e.g. ["Standard User", "Service Agent"]) permissionSets: list of Permission Set API names
Either profiles or permissionSets must be provided (or both).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profiles | No | Profile API names to grant access | |
| statusName | Yes | API name of the ServicePresenceStatus | |
| permissionSets | No | Permission Set API names to grant access |