Salesforce Experience Cloud · Arazzo Workflow

Salesforce Experience Cloud Favorite Lifecycle

Version 1.0.0

Add a favorite, list the user's favorites, then remove the favorite.

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

Provider

salesforce-experience-cloud

Workflows

favorite-lifecycle
Add, verify, and remove a user favorite.
Adds a favorite for a record, list view, or object, lists favorites to confirm, and removes the favorite that was created.
3 steps inputs: accessToken, favoriteName, sortOrder, target, targetType outputs: favoriteId, removedFavoriteId
1
addFavorite
Add the target item to the context user's favorites.
2
listFavorites
List the user's favorites to confirm the new favorite is present.
3
removeFavorite
Remove the favorite that was created. Returns no body on success.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Salesforce Experience Cloud Favorite Lifecycle
  summary: Add a favorite, list the user's favorites, then remove the favorite.
  description: >-
    A user-personalization flow on the UI API. The workflow adds an item to the
    context user's favorites, lists the favorites to confirm it was added, then
    removes the favorite it created. 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: favoritesApi
  url: ../openapi/salesforce-experience-cloud-favorites-api-openapi.yml
  type: openapi
workflows:
- workflowId: favorite-lifecycle
  summary: Add, verify, and remove a user favorite.
  description: >-
    Adds a favorite for a record, list view, or object, lists favorites to
    confirm, and removes the favorite that was created.
  inputs:
    type: object
    required:
    - accessToken
    - favoriteName
    - target
    - targetType
    properties:
      accessToken:
        type: string
        description: OAuth 2.0 bearer token for the Salesforce instance.
      favoriteName:
        type: string
        description: Name of the favorite to add.
      target:
        type: string
        description: ID or reference of the item to favorite.
      targetType:
        type: string
        description: Type of item being favorited (Record, ListView, or Object).
      sortOrder:
        type: integer
        description: Sort position for the favorite.
  steps:
  - stepId: addFavorite
    description: Add the target item to the context user's favorites.
    operationId: addFavorite
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.accessToken
    requestBody:
      contentType: application/json
      payload:
        name: $inputs.favoriteName
        target: $inputs.target
        targetType: $inputs.targetType
        sortOrder: $inputs.sortOrder
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      favoriteId: $response.body#/id
  - stepId: listFavorites
    description: List the user's favorites to confirm the new favorite is present.
    operationId: getFavorites
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.accessToken
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      firstFavoriteName: $response.body#/favorites/0/name
  - stepId: removeFavorite
    description: Remove the favorite that was created. Returns no body on success.
    operationId: removeFavorite
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.accessToken
    - name: favoriteId
      in: path
      value: $steps.addFavorite.outputs.favoriteId
    successCriteria:
    - condition: $statusCode == 204
    outputs:
      removedFavoriteId: $steps.addFavorite.outputs.favoriteId
  outputs:
    favoriteId: $steps.addFavorite.outputs.favoriteId
    removedFavoriteId: $steps.removeFavorite.outputs.removedFavoriteId

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-favorite-lifecycle-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.