Combine templates to print

Hi all,

I’m developing a bot and I need to print complex templates.

Basically I’m creating a list of templates, for example, a text, an image, a text and a list of buttons. And I need to show these 4 templates in the same answer to the user. I’m using a Message node to show the final answer to the user.

I have already tried to loop all the elements and print one by one, combine all in a list and print the list…but I can’t find a solution for that.

Thanks for the help.

Regards

@ruben.costa, In this scenario, you could either present multiple message node show different templates or create a custom template. Please refer to the section ‘Custom templates’ at the below link for more details.

https://developer.kore.ai/docs/bots/sdks/message-templates/

@Subrahmanyam thanks for the help.

About the loop messages, I have created a script to loop several times the message node until does not have more messages to print and works well.

About the custom template. How can I importe/use the custom template after I develop a new one? I’m just using your website for development…

Custom templates can be configured at the webSDK which the developer uses to integrate with website.
Please access the webSDK on our GitHub repository which will guide you on configuring the custom templates as needed.