Create Path Assistant (Sales Path)
sf_create_path_assistantCreate a Salesforce Path Assistant for an object's picklist field. Define path stages with guidance text and key fields, then activate for users.
Instructions
Creates a Path Assistant (Sales Path or Kanban path) for a Salesforce object picklist field via the Metadata API. Define path items for each picklist value with optional guidance text, info titles, and key fields to highlight at each stage. Activate the path to make it visible to users.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | Display label | |
| isActive | No | Whether the path is active | |
| pathName | Yes | Path assistant API name | |
| fieldName | Yes | Picklist field API name, e.g. 'StageName' | |
| pathItems | Yes | Path items for each picklist value | |
| objectName | Yes | Object API name, e.g. 'Opportunity' |