# Flex Message Template Gallery

Treasure AI Engage Studio supports LINE **Flex Messages** for rich, highly customizable layouts beyond plain text and imagemap. This gallery provides ready-to-use JSON templates that you can copy into your campaign and adapt.

Each template uses [LINE's Flex Message schema](https://developers.line.biz/en/reference/messaging-api/#flex-message) and supports Liquid personalization tokens (e.g. `{{ profile.first_name }}`).

Using these templates
1. Find a template that matches your use case.
2. Copy the JSON or open the detail page for a larger view.
3. Paste it into the Engage Studio LINE message editor (Flex Message type).
4. Replace placeholder URLs, text, and Liquid variables with values from your profile schema.


Most templates below are adapted from the official [LINE Flex Message Simulator](https://developers.line.biz/flex-simulator/) and are provided as a starting point. Review and customize the payload before sending.

## Browse templates

## Design guidelines

When authoring or modifying a Flex Message template:

- **altText** is required and is shown in chat previews and accessibility readers. Keep it under 400 characters.
- Use `bubble` for single-card messages and `carousel` for up to 10 bubbles side-by-side.
- Image URLs must be served over HTTPS.
- A single campaign can include up to **5 message objects**, including Flex Messages. See [LINE Message Types](/products/marketing-cloud/engage-studio/channels/line/line-oa-message-types) for the full bundle limits.


## Related pages

LINE Message Types
Supported LINE message types and their configuration fields.

LINE OA Setup
Connect your LINE Official Account to Engage Studio.

LINE Messaging API reference
Official LINE Flex Message specification.