capabilities.work

Topic Upsert

A 3-step recipe with Salesforce Experience Cloud. We can help you get access.

Recipe · 3 steps

Topic Upsert

Create a community topic by name or update the existing match.

  1. Search the site's topics for an exact name match.
  2. Update the matched topic's description.
  3. Create a new topic when no existing topic matched the name.
What you'll need to have ready
  • accessToken: OAuth 2.0 bearer token for the Salesforce instance.
  • communityId: ID of the Experience Cloud site (community).
  • topicName: Name of the topic to create or update.
  • topicDescription: Description to set on the topic.
For your developer

Arazzo workflow salesforce-experience-cloud:topic-upsert, 3 operations: getTopics → updateTopic → createTopic. Specs on APIs.io.