# 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: 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:

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

The question should be specific, self-contained, and written in natural language.
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.
