Salesforce Experience Cloud · Arazzo Workflow

Salesforce Experience Cloud Feed Element Moderation Delete

Version 1.0.0

Fetch a feed element, inspect its comments, then delete it if it exists.

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

Provider

salesforce-experience-cloud

Workflows

feed-element-moderation-delete
Inspect and delete a feed element as part of moderation.
Reads a feed element, fetches its comments, and deletes the feed element when it exists.
3 steps inputs: accessToken, communityId, feedElementId outputs: commentTotal, deletedFeedElementId
1
getFeedElement
Read the feed element to confirm it exists before moderating.
2
getComments
Read the feed element's comments for moderation context.
3
deleteFeedElement
Delete the feed element. Returns no body on success.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Salesforce Experience Cloud Feed Element Moderation Delete
  summary: Fetch a feed element, inspect its comments, then delete it if it exists.
  description: >-
    A moderation cleanup flow on the Connect REST API. The workflow retrieves a
    feed element to confirm it exists, reads its comments for context, then
    deletes the feed element. The flow branches after the initial fetch so that
    deletion only proceeds when the feed element was found. 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: feedsApi
  url: ../openapi/salesforce-experience-cloud-feeds-api-openapi.yml
  type: openapi
workflows:
- workflowId: feed-element-moderation-delete
  summary: Inspect and delete a feed element as part of moderation.
  description: >-
    Reads a feed element, fetches its comments, and deletes the feed element
    when it exists.
  inputs:
    type: object
    required:
    - accessToken
    - communityId
    - feedElementId
    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).
      feedElementId:
        type: string
        description: ID of the feed element to inspect and delete.
  steps:
  - stepId: getFeedElement
    description: Read the feed element to confirm it exists before moderating.
    operationId: getFeedElement
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.accessToken
    - name: communityId
      in: path
      value: $inputs.communityId
    - name: feedElementId
      in: path
      value: $inputs.feedElementId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      foundId: $response.body#/id
    onSuccess:
    - name: elementFound
      type: goto
      stepId: getComments
      criteria:
      - context: $response.body
        condition: $.id != null
        type: jsonpath
  - stepId: getComments
    description: Read the feed element's comments for moderation context.
    operationId: getFeedElementComments
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.accessToken
    - name: communityId
      in: path
      value: $inputs.communityId
    - name: feedElementId
      in: path
      value: $inputs.feedElementId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      commentTotal: $response.body#/total
  - stepId: deleteFeedElement
    description: Delete the feed element. Returns no body on success.
    operationId: deleteFeedElement
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.accessToken
    - name: communityId
      in: path
      value: $inputs.communityId
    - name: feedElementId
      in: path
      value: $inputs.feedElementId
    successCriteria:
    - condition: $statusCode == 204
    outputs:
      deletedFeedElementId: $inputs.feedElementId
  outputs:
    deletedFeedElementId: $steps.deleteFeedElement.outputs.deletedFeedElementId
    commentTotal: $steps.getComments.outputs.commentTotal

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-feed-element-moderation-delete-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.