List Node

This node helps to create a list of a maximum of 10 Items that can be put into sections/categories.

There is a main message along with sections, rows, and descriptions to create a list message.

List Node Elements

List Message has the following fields:

  1. Main Message (Body)
  2. A button (To open the list)
  3. Footer Field (To add short supporting text)
  4. Rows (To add Items)
  5. Section Title (To add categories)

The elements rows and section titles can be filled dynamically from a JSON variable at run-time and an example is given below.

When to use

Send a small catalog of 10 items to your customers over WhatsApp.
You can define categories and subcategories in the list. A description can be added to the products, however, it is optional to add.

Limitations

  1. Message can’t be empty
  2. The button title can’t be empty (1 button mandatory)
  3. Row title can not be empty (1 row mandatory)
  4. Elements and their respective character limits:
Element NameCharacter Limit
Message1024 characters
Footer60 characters
Button Title20 character
Row Description72 characters
Row title24 characters
Section Title20 characters
  1. When dynamically populating the section and row titles, the JSON should contain values adhering to channel limitations of character limit. If the character limit is exceeded, the node will not execute properly on the channel.

How to use List Node

Adding the Message title, Button title and Footer

List Node elements - section titles and row titles - can be filled statically at design time or dynamically at run-time based on values contained a JSON.

Define the List Node section and row titles statically

On Canvas -

On Whatsapp Channel -

Video of static population in list node


Define the List Node section and row titles dynamically

Dynamic population of the section and row titles can be done if JSON structure is known at design time. The JSON can be defined by a user or be obtained from an API response. At run-time, the section and row titles will be fetched from JSON used.

Sample JSON

For the given JSON, the values in key "name" will be populated in Section titles and the values in key "items" will be populated in row titles at run-time.

On Canvas -

The "response" variable stores the JSON.

Configuration on List Node - Section Title

Configuration on List Node - Row Title

On Whatsapp Channel -

VIDEO COMING SOON