---
schema_version: "1"
id: 8606d728221218301de7a24f964f7cc8bd20b84ee7062f7c9817b03771a1a8ee
title: Add a Distributed Marketing Multivariate Block to an Email Template
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/mktg/264-0-0/add_a_multivariate_component_to_an_email_template.md
canonical_url: https://help.salesforce.com/s/articleView?id=mktg.add_a_multivariate_component_to_an_email_template.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: e6afd00b2c3fb2a3566a400fe29fb69c0a75d346fe42987afb2feda54e5168c8
description: Add a multivariate block with up to 12 options to your email templates so that business users can choose between content variations.
products:
  - Marketing
  - Cross Cloud
release: "264"
---
# Add a Distributed Marketing Multivariate Block to an Email Template

Add a multivariate block with up to 12 options to your email templates so that business users can choose between content variations.

1. In Content Builder, drag a Distributed Multivariate block onto the canvas.
2. Enter a selection name.
3. Enter a guidance message, if applicable.
4. Enter the variable name. Variable names can be 50 alphanumeric characters with no spaces or special characters.
5. Provide at least two options for the business user. Options can contain a maximum of 80 characters.
6. Click Done Editing. The variable is now available for use in AMPscript throughout the content.
    
    ![Tip](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-mktg-mc_cross-cloud_products-264-0-0-production-enus/bd617332-480f-48e8-b283-3477883c1320/images/icon_tip.png)
    
    Tip Define Multivariate blocks before the variable is used in the content. As a best practice, place all multivariate blocks at the top of the email.

![Example](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-mktg-mc_cross-cloud_products-264-0-0-production-enus/bd617332-480f-48e8-b283-3477883c1320/images/icon_example.png)

Example Your organization wants to provide its business users with a blank Happy Birthday email using Quick Send. Instead of using a single subject line, you can provide the users with subject line options.

You can also add free-form text to your subject line by clicking the **Free-Form Text** option.

First, create the email in Content Builder and drag a Distributed Marketing Multivariate block on the canvas. Configure it with something like the following:

- Selection Name: Subject Line
- Guidance Message: Select the subject line for this email
- Variable Name: customSubjectLine
- Option 1: Happy Birthday!
- Option 2: It’s Your Special Day!
- Option 3: Enjoy this birthday treat on us!

Then, in the subject line, enter AMPscript using your new variable instead of a static subject line. For example, %%=v(@customSubjectLine)=%%.