Create Experience Cloud Site
sf_create_experience_siteCreate a new Experience Cloud site (Community) with a chosen template, URL path prefix, and initial status.
Instructions
Creates an Experience Cloud site (formerly Community) using a specified template. Supported templates: CustomerService (B2C self-service), Partner (B2B partner portal), LWR (Lightning Web Runtime — high performance), Aloha (App Launcher), Microsites (standalone pages). The urlPathPrefix appears in the site URL (e.g., 'customers' → org.force.com/customers). Site starts in UnderConstruction status by default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | Site display label | |
| status | No | Initial site status | UnderConstruction |
| siteName | Yes | Site API name, e.g. 'CustomerPortal' | |
| template | No | Experience Cloud template to use | CustomerService |
| description | No | Site description | |
| urlPathPrefix | Yes | URL path prefix, e.g. 'customers' → https://org.force.com/customers | |
| guestUserProfile | No | Guest user profile API name (default: '<SiteName> Profile') |