I have one chat bot that I want to display the actual value of the variable, but its displaying it as a text. According to trailhead this is the right approach to do so.

This variable: Looked_Up_Case__c is being retrieved at a flow. There I query for the Subject and the Status of the case. The flow is working properly.


Variable declaration



2 Answers 2


Salesforce displays the variable API name when they are null (not very good in my opinion but that how it currently works). I ended up creating one variable per text instead of using the object.field.


If the bot doesn't have access to the object fields you would also receive a response message with the variables name instead of the value. In this case, edit the permission set called "sfdc.chatbot.service.permset" and set the object and its fields to read access.

  • Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.
    – Community Bot
    Dec 19, 2022 at 4:26

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .