> ## Documentation Index
> Fetch the complete documentation index at: https://help.hoopai.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Custom values

> Use merge tags to automatically personalize messages, emails, and automations with contact, appointment, account, and other dynamic data.

Custom values (also called merge tags or variables) let you insert dynamic data into messages, email templates, automation workflows, and more. Instead of writing each message manually, you reference a variable like `{{contact.first_name}}` and the platform fills it in automatically with the correct value for each recipient.

<Frame caption="Custom values picker — browse categories and insert merge tags into any message or template">
  <img src="https://mintcdn.com/hoopai-84ec0cdc/fpcCfUClUku7SftL/images/settings-custom-values.png?fit=max&auto=format&n=fpcCfUClUku7SftL&q=85&s=9481a40052b83708304913759037b123" alt="Custom values" width="1116" height="328" data-path="images/settings-custom-values.png" />
</Frame>

There are eleven categories of custom values available across the platform.

<AccordionGroup>
  <Accordion title="Contact">
    Pulls information stored on the contact record.

    | Variable                    | Description                |
    | --------------------------- | -------------------------- |
    | `{{contact.name}}`          | Full name                  |
    | `{{contact.first_name}}`    | First name                 |
    | `{{contact.last_name}}`     | Last name                  |
    | `{{contact.email}}`         | Email address              |
    | `{{contact.phone}}`         | Phone number (formatted)   |
    | `{{contact.phone_raw}}`     | Phone number (digits only) |
    | `{{contact.company_name}}`  | Company name               |
    | `{{contact.full_address}}`  | Full mailing address       |
    | `{{contact.city}}`          | City                       |
    | `{{contact.state}}`         | State or region            |
    | `{{contact.country}}`       | Country                    |
    | `{{contact.postal_code}}`   | Postal / ZIP code          |
    | `{{contact.date_of_birth}}` | Date of birth              |
    | `{{contact.source}}`        | Lead source                |
    | `{{contact.website}}`       | Website URL                |
    | `{{contact.id}}`            | Internal contact ID        |
  </Accordion>

  <Accordion title="User">
    Pulls information about the team member assigned to the contact, useful for personalizing outreach with a rep's details.

    | Variable                   | Description                     |
    | -------------------------- | ------------------------------- |
    | `{{user.name}}`            | Full name                       |
    | `{{user.first_name}}`      | First name                      |
    | `{{user.last_name}}`       | Last name                       |
    | `{{user.email}}`           | Email address                   |
    | `{{user.phone}}`           | Phone number                    |
    | `{{user.email_signature}}` | Email signature                 |
    | `{{user.calendar_link}}`   | Booking link for their calendar |
  </Accordion>

  <Accordion title="Appointment">
    Pulls details about a scheduled appointment — useful in confirmation and reminder messages.

    * Start and end date/time
    * Timezone
    * Cancellation link
    * Reschedule link
    * Meeting location
    * Notes
    * Google Calendar and iCal/Outlook add-to-calendar links
  </Accordion>

  <Accordion title="Calendar">
    | Variable            | Description          |
    | ------------------- | -------------------- |
    | `{{calendar.name}}` | Name of the calendar |
  </Accordion>

  <Accordion title="Campaign">
    Provides event date and time variables associated with a campaign.
  </Accordion>

  <Accordion title="Message">
    | Variable           | Description                          |
    | ------------------ | ------------------------------------ |
    | `{{message.body}}` | The body text of the current message |
  </Accordion>

  <Accordion title="Account">
    Pulls your business's location and contact details — useful for footers, signatures, and general communications.

    * Business name
    * Full address (street, city, state, country, postal code)
    * Phone number
    * Email
    * Website URL
    * Logo URL
  </Accordion>

  <Accordion title="Right now">
    Inserts the current date and time at the moment the message is sent. Available in multiple formats — seconds, minutes, hours, full dates — useful for time-sensitive automation messages.
  </Accordion>

  <Accordion title="Attribution">
    Pulls data about how the contact originally found you.

    * First and last session source
    * Landing page URL
    * Campaign name
    * UTM parameters (source, medium, campaign, term, content)
    * Referrer URL
    * Ad click IDs (Google, Facebook)
  </Accordion>

  <Accordion title="Invoice">
    Pulls billing details for invoice-related messages — customer name, invoice number, amounts due, line items, due date, and payment links.
  </Accordion>

  <Accordion title="Payment link">
    Pulls information about a specific payment link including product details, amounts, and customer information.
  </Accordion>
</AccordionGroup>

<Frame caption="Custom values in a conversation — click the merge tag icon to insert contact and appointment data">
  <img src="https://mintcdn.com/hoopai-84ec0cdc/evc3PeLCJMLz3iUG/images/conversations-custom-values-menu.png?fit=max&auto=format&n=evc3PeLCJMLz3iUG&q=85&s=7c82980ad6033119eccbef54fa989c95" alt="Custom values in conversation" width="502" height="295" data-path="images/conversations-custom-values-menu.png" />
</Frame>

<Frame caption="Insert custom values in workflows — use merge tags in SMS and email action steps for personalized automation">
  <img src="https://mintcdn.com/hoopai-84ec0cdc/evc3PeLCJMLz3iUG/images/conversations-custom-values-insert.png?fit=max&auto=format&n=evc3PeLCJMLz3iUG&q=85&s=bb89f15957e9543b91b241d6ab7dc6b6" alt="Custom values in workflow" width="470" height="148" data-path="images/conversations-custom-values-insert.png" />
</Frame>

## How to use custom values

Custom values can be inserted anywhere you compose a message or template — in conversations, email campaigns, SMS, automation workflows, and more.

<Steps>
  <Step title="Open a message or template">
    Navigate to a conversation, email campaign, SMS template, or automation workflow where you want to insert dynamic content.
  </Step>

  <Step title="Click the custom values icon">
    Look for the merge tag or variable icon in the message toolbar (often represented by `{}`  or a person icon). Click it to open the custom values picker.
  </Step>

  <Step title="Choose a category and variable">
    Browse the eleven categories and select the variable you want to insert. The tag is added to your message at the cursor position.
  </Step>

  <Step title="Preview before sending">
    Use the preview feature to verify that variables resolve correctly before sending or activating an automation.
  </Step>
</Steps>

<Tip>
  You can also type the variable directly — for example `{{contact.first_name}}` — if you already know the tag syntax. The platform will resolve it automatically at send time.
</Tip>

<Warning>
  If a contact record is missing the data for a variable (for example, no company name is stored), the variable will render as blank in the message. Always check that your contact records are complete for the fields you intend to use.
</Warning>
