Whenever a user is using Agentforce Employee Agent or Agentforce Default Agent on UI and asks a question which should return the response in human readable format after getting the response in JSON format, we may get an error in response and the output in the builder will be in JSON format only.
It is always advisable that the Output Rendering in the action should be Rich Text and the Show in Conversations should be disabled.
This happens because the user is calling the action via a flow or an apex and the response is in JSON format. The Agent follows the output instructions mentioned in the action and the LLM serialises the already returned JSON blob (Binary Large Object) once again.
To prevent these regressions, it is advisable to make the below changes whenever you expect an output in Human Readable format and you have already written the output instruction to convert the JSON format into a Human Readable format :
The above changes will convert the JSON format to the Human readable format and will not serialise the response once again.
005224754

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.