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:
- Main Message (Body)
- A button (To open the list)
- Footer Field (To add short supporting text)
- Rows (To add Items)
- 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
- Message can’t be empty
- The button title can’t be empty (1 button mandatory)
- Row title can not be empty (1 row mandatory)
- Elements and their respective character limits:
Element Name | Character Limit |
---|---|
Message | 1024 characters |
Footer | 60 characters |
Button Title | 20 character |
Row Description | 72 characters |
Row title | 24 characters |
Section Title | 20 characters |
- 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
Updated 19 days ago