Content Variables
Updated
In some cases, certain words or phrases within an article may need to be regularly updated manually. For instance, in the case of a global company like ACME with a complex pricing structure across multiple countries and regions, maintaining such information can be challenging. To address this issue, content variables or placeholders can be added to the article, allowing for the simultaneous updating of these words or phrases across all relevant articles.
Create a Content Variable
1. Click on the New Tab icon on the launchpad. Under the Sprinklr Service tab, select Knowledge Base within Resolve.
2. On the Knowledge Base window, select Content Variables from the left pane.
3. On the Content Variables window, click Create Content Variable in the top right corner.
4. On the Create Content Variable window, add the variable Name and optional Description.
5. Next, define the variable based on other variables such as the language and region, allowing for simultaneous replacement across multiple languages.
6. Click Create at the bottom. Once saved, you can view, edit, or delete a content variable.
Note: If you make changes to a content variable after it is used in the articles, those changes will be applied to all articles that use that particular variable.
7. Next, edit the desired article or create a new article. On the builder, click the Addition icon, hover over the Embed option and select Content Variable.
8. Search and select the variable that you have created.
9. Save the article. As per the selected country and language for the article, the defined variable value will be inserted. Once added, view the value in the third pane.