Vlocity Facts #46 || Omniscript to Display Knowledge Article.
We'll be configuring a simple omniscript step that incorporates Salesforce Knowledge.
Before starting the steps, in your org you need to have knowledge articles created and published.
Configuring OmniScript
1. Create a New OmniScript:
- Navigate to OmniStudio in Salesforce.
- Under OmniScripts, click New to create a new OmniScript.
- Name your OmniScript and configure its basic details, such as the type and sub-type (choose "OmniScript" for most use cases).
2. Add a Step for Salesforce Knowledge:
- Once the OmniScript is created, open it in the OmniScript Designer.
- Add a New Step by clicking the + button in the Steps panel.
- Navigate to "Step" Properties.
- Select the Salesforce Knowledge step to display Knowledge articles or data.
In above screenshot you can see Language, Publish Status, Keyword, Data Category Criteria, Record Type Filter.
Language: You can select the language based on the user experience while configuring.
Publish Status: You should mention "Online" to display the published articles only.
Language: You can select the language based on the user experience while configuring.
Publish Status: You should mention "Online" to display the published articles only.
Keyword, Data Category Criteria, Record Type Filter, these fields are used to filter the records.
[How to use keyword will let you know in other posts]
3. Setup Configuration of the omniscript:
[How to use keyword will let you know in other posts]
3. Setup Configuration of the omniscript:
- Navigate to the setup of Omniscript and scroll down till you find Knowledge Options.
- Configure the fields by seeing the below screen shot.
Field API Name: What are the fields of knowledge Article Record you are willing to display in omniscript step.
Article/Record Type API Name: It is used to filter based on the record types of the knowledge Object.
Lightning Knowledge Object API Name: Here we need to give the Knowledge Object API Name - Knowledge_Kav
Label: To display on the screen
Once Every thing was configured you can preview the omniscript.
To get few results you can enter the keyword in double quotes and you can see the label which we have mention while we are configuring in step 3.
You can click on those icons to view the knowledge article in omniscript.
I have used Title, Question, Answer, URL to display in 3rd step while we are configuring we can add more fields for displaying.
To get few results you can enter the keyword in double quotes and you can see the label which we have mention while we are configuring in step 3.
You can click on those icons to view the knowledge article in omniscript.
I have used Title, Question, Answer, URL to display in 3rd step while we are configuring we can add more fields for displaying.
Comments
Post a Comment