How can I use auto bubbles?

I would like to create a quick replies auto bubble, a carrousel auto bubble and a list auto bubble.

I see that I can create and use data as well as API calls. Can you tell me how exactly I can connect all these ?

Auto bubbles are an advanced feature. Do not hesitate to contact support to make it work.

The answers to quick replies auto are generated automatically from a data source, an API for example.

So, the idea is to store the array result of the API. Let’s train on the NASA API and call the search endpoint with a query for Apollo 2011 :
https://images-api.nasa.gov/search?q=apollo%2011&year_start=2010&year_end=2010

We can see that the items key is an array. We’ll store the items in a variable by using an API bubble.

The variable needs to be an array. Go to Data Manager > Add a data :

Then, you can set it up as as list of object :

And add the properties “title” and “url” :

Then in an API bubble, you can set up the call and data storage :

In array path, you can set up the path to the list of items you are interested in, so “collection.items” in our case.

Then in next bubble, you can link to a “quick replies auto” bubble (you can create it if it does not exist already).

Then, select items_nasa in the “Data name of the list” :

Then, you can use the variable from the variable (the “title” for example) :

And store the title linked to the image :

Then select a text bubble as next bubble for example and use selected_title in the text :

Then, you can go to testing and trigger the API bubble and see that everything is working fine !