Assign Skill to Service Agent
sf_assign_skill_to_agentAssign a skill to a Salesforce service agent with a proficiency level, creating the ServiceResource automatically if needed and linking the skill record.
Instructions
Assigns a Skill to a Salesforce user (service agent) with a skill level rating. Creates a ServiceResource for the user if one does not already exist, then creates a ServiceResourceSkill record.
skillName: the API name (DeveloperName) of the skill to assign username: the Salesforce username (e.g. agent@example.com) or user ID skillLevel: proficiency level from 0 to 10 (default 5)
ServiceResource is the Field Service / OmniChannel representation of a user as a workable resource.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| username | Yes | Salesforce username of the service agent | |
| skillName | Yes | Skill DeveloperName | |
| skillLevel | No | Proficiency level 0 (novice) to 10 (expert) |