Skip to content

Contact Variables

Contact Variables are columns from your contact dataset that you can use to personalize narrations, slide titles, and other content. They come from the contacts (or stakeholders) who receive or view your presentations.

In the left navigation, expand Variables to access Contact Variables, Fields, Snippets, and Reserved Snippets. Click Contact Variables to open Project Settings and configure your contact data mapping.

Contact Variables are configured in Project Settings under Contact Data Aliases, Types, and Defaults:

  1. Go to Settings (or click Contact Variables from the Variables menu).
  2. Open the Contact Dataset section and select your contacts dataset.
  3. Open Contact Data Aliases, Types, and Defaults.
  4. Map your dataset columns to the standard contact aliases.
Alias Description Required
contact_id Customer Contact ID (unique identifier) Yes
contact_name Contact First Name Yes
contact_email Email address For email delivery
contact_phone Phone number For text delivery
contact_account Customer/Account ID Recommended
contact_account_name Customer/Account Name Recommended
contact_language Language preference Optional
from_name Sender name (for email) Optional
from_email Sender email (for email) Optional

Use the Auto Detect button to have Cast suggest column mappings based on your dataset columns. Verify the mappings before saving.

The Insert Liquid button (under narrations) opens a dropdown with four options: Contact Variables, Fields, Snippets, and Reserved Snippets. Select Contact Variables to choose and insert a contact variable.

Steps:

  1. Place your cursor in the narration where the variable should go.
  2. Click Insert Liquid.
  3. Choose Contact Variables from the dropdown.
  4. Select the contact variable you need (e.g. contact_name, contact_email).

Usage in Liquid:

{% raw %}

Hello {{ contact_name }},
Your company {{ contact_account_name }} has been assigned this presentation.

With filters:

{{ contact_name | default: "Valued Customer" }}

{% endraw %}

The contact_ and from_ prefixes are reserved for Contact Variables. You cannot create Fields or Snippets with names starting with these prefixes.

  • Default Type: Override the data type for a column (e.g. string, number, date). Hover over the default type and click to change.
  • Default Values: When a contact has no value (null or empty), specify a fallback. Hover over Default Value and click to assign.