Configuration
Prepare Your Sheet
Ensure your Google Sheet has columns for the visual elements you need:
- Title (e.g., “Caramel Frappuccino”)
- Subtitle (e.g., “Sweet and creamy”)
- Image URL (Must be a direct link to an image, e.g.,
https://example.com/image.jpg) - ID/Details (Data to pass when clicked)
Add Action to Flow
- In Flow Builder, add an Action block.
- Select Google Sheets > Generate Dynamic Gallery from any Google Sheet.
Map Visual Elements
A visual card editor will appear. Click the
{} (variable) icon next to each field to select the corresponding column from your sheet headers:- Image: Map to your
Image URLcolumn. - Title: Map to your
Product Namecolumn. - Subtitle: Map to your
Descriptioncolumn.
Handling User Selection
When a user clicks a button in the dynamic gallery, the flow continues. You can now use the data saved from that click to show specific details. Example Scenario:- User clicks “Caramel Frappuccino”.
- The button action saves “Caramel Frappuccino” to
last_viewed_product. - The next message block says: “Great choice! The last_viewed_product is one of our best sellers.”
