Using collections to better display the responses

(Rajaram Bhaskaran) #1

Hi

I have got a webhook api call and are using the tricks as given in the collections topic to show the results. but they are plain text. If I try to use the {{ collection &}} in a card set, it still showws all the results in a single card. How can I show the data either as seperate cards, or as seperate responses to the user so that they can click? It is a text response, so a card is not needed (but for future we might need to use a card)

The reason I am not adding cards 1… 10 is because I am not sure the responses that the webhook would return back. I am fine with showing just the top 10 responses but in some cases, the number of responses could be lesser as well

Thanks in advance for your help
Rajaram

(Karen Barker) #2

Hi Rajaram,

You will need to set the card set up using the values for 1 … 10. If for example you only get 5 results back, the system will only display 5 cards and because the rest have no results to add then they will not display.

Hope this helps. :slight_smile:

(Rajaram Bhaskaran) #3

Thanks Karen…I think that should work. Will let you know if this comes back to haunt me :slight_smile:

Regards
Rajaram