Salesforce Experience Cloud · Arazzo Workflow

Salesforce Experience Cloud Site Theme Activate and Publish

Version 1.0.0

List a site's themes, activate one, then publish the site to apply it.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub CMSCommunitiesCRMCustomer PortalDigital ExperienceExperience CloudPartner PortalArazzoWorkflows

Provider

salesforce-experience-cloud

Workflows

site-theme-activate-publish
Activate a theme on an Experience Cloud site and publish it.
Lists a site's available themes, sets the chosen theme as active, and publishes the site so the theme change takes effect.
3 steps inputs: accessToken, communityId, themeId outputs: activeThemeId, publishStatus
1
listThemes
List the themes available for the site to confirm the chosen theme is present.
2
setTheme
Set the chosen theme as the active theme for the site.
3
publishSite
Publish the site so the newly activated theme takes effect.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Salesforce Experience Cloud Site Theme Activate and Publish
  summary: List a site's themes, activate one, then publish the site to apply it.
  description: >-
    A site branding flow that spans the Templates and Sites APIs. The workflow
    lists the themes available for an Experience Cloud site, activates the
    chosen theme, then publishes the site so the new theme takes effect. Because
    the operations live in two different OpenAPI descriptions, each step
    references its operation through the source description form. Each step
    spells out its request inline so the flow can be read and executed without
    opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: publishApi
  url: ../openapi/salesforce-experience-cloud-publish-api-openapi.yml
  type: openapi
- name: themesApi
  url: ../openapi/salesforce-experience-cloud-themes-api-openapi.yml
  type: openapi
workflows:
- workflowId: site-theme-activate-publish
  summary: Activate a theme on an Experience Cloud site and publish it.
  description: >-
    Lists a site's available themes, sets the chosen theme as active, and
    publishes the site so the theme change takes effect.
  inputs:
    type: object
    required:
    - accessToken
    - communityId
    - themeId
    properties:
      accessToken:
        type: string
        description: OAuth 2.0 bearer token for the Salesforce instance.
      communityId:
        type: string
        description: ID of the Experience Cloud site (community).
      themeId:
        type: string
        description: ID of the theme to activate.
  steps:
  - stepId: listThemes
    description: List the themes available for the site to confirm the chosen theme is present.
    operationId: $sourceDescriptions.themesApi.getSiteThemes
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.accessToken
    - name: communityId
      in: path
      value: $inputs.communityId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      firstThemeId: $response.body#/themes/0/id
  - stepId: setTheme
    description: Set the chosen theme as the active theme for the site.
    operationId: $sourceDescriptions.themesApi.setActiveTheme
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.accessToken
    - name: communityId
      in: path
      value: $inputs.communityId
    requestBody:
      contentType: application/json
      payload:
        themeId: $inputs.themeId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      activeThemeId: $response.body#/id
  - stepId: publishSite
    description: Publish the site so the newly activated theme takes effect.
    operationId: $sourceDescriptions.publishApi.publishExperienceCloudSite
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.accessToken
    - name: communityId
      in: path
      value: $inputs.communityId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      publishStatus: $response.body#/status
  outputs:
    activeThemeId: $steps.setTheme.outputs.activeThemeId
    publishStatus: $steps.publishSite.outputs.publishStatus

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/salesforce-experience-cloud-site-theme-activate-publish-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.