> For the complete documentation index, see [llms.txt](https://docs.myalice.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.myalice.ai/chatbot-automation/advanced-blocks/gallery-block.md).

# Gallery Block

{% hint style="info" %}
If you are new to this topic, please refer to our basic introduction to the [**Gallery Block**](/chatbot-automation/chatbot-blocks/add-and-send-content-blocks.md#gallery-block) and follow along.
{% endhint %}

The Gallery block showcases products, services, deals, and promotional offers in a website-like format inside a conversation.

Here is a step-by-step instruction to creating effective sequences using gallery blocks.

## Anatomy of a Gallery Block

![](/files/-MiG5LoWT9KRoNQH8edl)

| Elements in a Gallery Block | Description                            |
| --------------------------- | -------------------------------------- |
| Image                       | The product image you want to showcase |
| Title                       | The name of the product                |
| Subtitle                    | A brief description of the product     |
| URL                         | do not understand                      |
| Image Aspect Ratio          | The ratio of the product image         |
| Create a Button             | Your CTA                               |

Like [**button blocks**](/chatbot-automation/advanced-blocks/button-block.md), Gallery blocks can also redirect a user to another —

1. Sequence
2. URL
3. Phone Number
4. Datalab Forms

## Create A Sequence with Gallery Block

Suppose you have a promotion going on. Naturally, you will have a lot of users coming into your inbox to ask for on-sale products. So, you can create gallery blocks to prompt users to buy straight from the inbox.

{% tabs %}
{% tab title="Input" %}
For example, here we are redirecting users to an order form if they click the **`Buy Now`** button or allow them to visit the website for **`See details`**.

![](/files/-MiG6ti6hiec0kQWTaRT)
{% endtab %}

{% tab title="Output" %}

{% endtab %}
{% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.myalice.ai/chatbot-automation/advanced-blocks/gallery-block.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
