Always format an agent action's output the same way on a specific connection with the render nested inline action. If you don't specify an adaptive response format, Agentforce decides which one to use during the conversation. You can also format an action's output as JSON so that a connection can receive the action's structured data directly. And, with show_and_return nested inline action, you can now tell the agent to send a response and end reasoning at the end of an action.
Where: This change applies to Lightning Experience in Enterprise, Performance, Unlimited, and Developer editions with Foundations or Agentforce 1 editions.
When: This change is available starting the week of September 7, 2026.
How: In Agentforce Builder, open an agent with at least one connection. From the Explorer panel, click a subagent's name and then switch to Script view. In the actions section, enter Agent Script that tells the agent which adaptive response format to use for an action's output.
For example, this Agent Script tells the agent how to format the Get Menu For Restaurant action's output. On Messaging channels, the agent uses the Rich Link Response adaptive response format. On Enhanced Chat v2, the agent sends the action's output as JSON.
Get_Menu_For_Restaurant: @actions.Get_Menu_For_Restaurant
when @connection.messaging
render: @response_formats.messaging_rich_link
when @connection.customer_web_client
render: @response_formats.json
show_and_return: True
When you switch to Canvas view, you see the render inline actions in the Actions Available For Reasoning section.