Skip to content

Render View Node ​

Your integration returns a list of test packages. You'd like Priya to tap one rather than type its name. The Render View node turns data into something the customer can pick from: a list of choices, a set of cards, or a checklist.

You'll find it under Output in the node picker, and it's one of the steps you can add to an agent's Steps. The view appears in the Web Chat widget.

The Render View panel: View Choices, Data from packages, Title, and the field mapping code and name.

Options ​

View ​

FieldWhat it doesOptionsDefaultShown when
ViewHow to render the data.Choices (pick one) · Cards · Checklist (pick many)choices
Data fromA {{ variable }} holding an MCP result (a *_spec payload) or a plain array of items. Leave blank to use the last MCP result.
TitleOptional heading shown above the view.

Field mapping ​

FieldWhat it doesOptionsDefaultShown when
ID fieldFor a PLAIN array (not an MCP *_spec): which item field is the option id.
Label fieldFor a PLAIN array: which item field is the shown label.
Value fieldOptional: which item field is the option value (defaults to the id).

Field mapping is only needed when the data is a plain list of items. If your integration's tool already returns data in a ready-to-display choice, card, checklist or time-slot format, Render View uses it as is and you can leave the field mapping empty.

How it behaves ​

  • Render View decides how the data looks. Your integration only has to return the data.
  • Each item becomes one option, using the label you mapped. Cards show the label as the card title.
  • If the data has no items, nothing is shown and the run carries on.
  • Only one pickable view is shown per reply.

Worked example: pick a test package ​

Setup. In her booking agent's Steps, Asha adds a Tool step that calls list_packages and saves the result as packages. Each item looks like { "code": "PKG-042", "name": "Full Body Wellness Check" }. She adds a Render View step after it with View Choices, Data from {{ packages }}, Title Pick a test package, ID field code and Label field name.

Action. Priya asks what tests are available.

Result. The widget shows Pick a test package with one button per package. Priya taps Full Body Wellness Check.

What just happened. The tool returned plain data and Render View turned it into buttons. No one had to write display code, and the model didn't have to decide how to present the list.

Next steps ​