UCal
  • Welcome
  • 🚀Getting Started
    • Quick Start
      • What is IS-Messenger?
      • Setting Up an Account
      • Connecting Channels
      • Inviting Your Teammates
      • Getting Contacts to Message You
      • Automated Welcome and Away Messages
      • Responding to Messages
      • Glossary of Terms
    • Connecting a Channel
    • Invite your teammates
    • Getting Contacts to Message You
    • Automated Welcome and Away Messages
    • Responding to messages
    • Glossary of Terms
    • Creating a Chatbot
  • ⚙️Workspace Modules
    • Dashboard
    • Inbox
      • Inbox Overview
      • Assignment and closing a conversations
      • Custom Inboxes
      • Interacting with Respond AI Prompts
      • Using AI Assist
    • Contacts
      • Contact Details
      • Contacts Overview
      • Merge Suggestions
      • Contact Activity
      • Contact Channels
      • Contact Import
      • Segments
    • Broadcast
      • Broadcast Overview
      • Managing Broadcasts
    • Workflow
      • Triggers
      • Workflow Step
        • Step: Send a Message
        • Step: Ask a Question
        • Step: Assign To
        • Step: Branch
        • Step: Update Contact Tag
        • Step: Update Contact Field
        • Step: Open Conversation
        • Step: Close Conversation
        • Step: Add Comment
        • Step: Jump To
        • Step: Wait
        • Step: Date & Time
        • Step: HTTP Request
        • Step: Trigger Another Workflow
        • Step: Add Google Sheets Row
        • Step: AI Agent
      • Workflow Templates
    • Reports
      • Reports: Conversations
      • Reports: Responses
      • Reports: Resolutions
      • Reports: Messages
      • Reports: Contacts
      • Reports: Assignments
      • Reports: Leaderboard
      • Reports: Users
      • Reports: Broadcasts
  • ⚙️Workspace Setting
    • Managing a Workspace
    • General
    • Users
      • Access Levels
    • Teams
    • Channels
      • Chat Menus
    • Contact Fields
    • Growth Widgets
      • Website Chat Widget Quick Start
      • Website Chat Widget Overview
      • Workspace Settings: Growth Widgets
      • Install Website Chat Widget on Squarespace
      • Install Website Chat Widget on Joomla
      • Install Website Chat Widget on Wix
      • Install Website Chat Widget on Shopify
      • Install Website Chat Widget on WordPress
      • How to Track Conversation Source from Multiple Websites
    • Respond AI
    • Integrations
      • Dialogflow
        • Dialogflow: Connecting to Dialogflow
        • Dialogflow: Creating a Chatbot
        • Dialogflow : Managing Intents
        • Dialogflow: Parameters
        • Dialogflow: Events
        • Dialogflow: Response Templates
        • Dialogflow: Custom Payloads
        • Dialogflow: Fulfillment Webhook Request
      • E-Commerce & CRM Integrations
        • E-Commerce Integration: Shopify
        • E-Commerce Integration: BigCommerce
        • E-Commerce Integration: WooCommerce
        • E-Commerce Integration: Magento
        • CRM Integration: HubSpot
        • CRM Integration: Salesforce
        • CRM Integration: Pipedrive
        • CRM Integration: ActiveCampaign
      • Zapier
      • Developer API
      • Webhooks
      • Make (formerly Integromat)
    • Closing Notes
    • Snippets
    • Files
    • Data Export
    • Data Import
  • ⚙️User Account
  • Profile
  • User Activity Status
  • Notifications
  • Resetting your Passwords
  • 👨‍👧‍👦CONTACT AND MESSAGES
    • Dynamic Variables
      • Dynamic Variables Overview
      • How to Use Dynamic Variables
    • Contact Search and Custom Inbox
    • Conversations
  • ⚙️MESSAGING CHANNELS
    • Channel Overview
    • Facebook Messenger
      • Facebook Messenger Quick Start
      • Facebook Chat Plugin
      • Private Replies
      • Message Tag
    • Instagram
      • Instagram Overview
      • Instagram Quick Start
    • WhatsApp
      • WhatsApp Business API Quick Start
      • Getting Ready for Inbound Conversations
      • Getting Ready for Promotional Messaging
      • WhatsApp Official Business Account (Green Tick)
      • Grow your WhatsApp Audience by Maximizing Entry Points
      • Get WhatsApp API Account for Government Agencies
      • Meta Business Verification
      • WhatsApp Message Templates
      • WhatsApp Pricing
      • WhatsApp Business Platform (API) Channel Configuration
      • WhatsApp Messaging Limits
      • Meta Product Catalog
      • Change Your WhatsApp Business Display Name
      • Phone Number Migration to IS-Messenger WhatsApp Business API
      • Turn-off WhatsApp Number Two-Step Verification
      • WhatsApp Cloud API
        • Migrating from On-Premises API to Cloud API
        • Migrating from Cloud API to On-Premises API
        • Set up the WhatsApp Echo Bot
        • Load Testing on Cloud API
        • Experiments
        • Webhooks Setup
      • 360Dialog WhatsApp
      • Twillio WhatsApp
      • MessageBird WhatsApp
      • Vonage WhatsApp
      • Phone Number Migration to WhatsApp Cloud API
    • Website Chat Widget
      • Install on WordPress
      • Install on Shopify
      • Install on Wix
      • Install on Squarespace
      • Install Website Chat Widget on Joomla
    • LINE
      • LINE Overview
      • LINE Quick Start
    • Telegram
      • Telegram Overview
      • Telegram Quick Start
    • Viber
      • Viber Overview
      • Viber Quick Start
    • SMS Overview
      • Twilio SMS Quick Start
        • Importing Contacts to Twilio SMS
      • MessageBird SMS Quick Start
      • Vonage SMS Quick Start
    • Twitter Overview
      • Twitter Quick Start
    • WeChat
      • WeChat Overview
      • WeChat Quick Start
    • Google Business Message
    • Email
      • Google Workspace Quick Start
      • Other Email
    • Custom Channel
      • Custom Channel Overview
      • Custom Channel Quick Start
  • New Release Update
  • Support Use Cases
    • How to Identify Contacts by Email and Phone NumberI
    • How to Enrich Customer Data from a CRM or other Business Software
    • How to Route Customers to the Right Team Automatically
    • How to Auto-Assign Customers to a Team or Dedicated Agent
    • How to Send Outbound Support Messages
    • Support: Closing Conversations
    • How to Supervise Your Support Agents
    • How to Analyze Reports for Support
    • How to Send CSAT to Customer and Save Data in Google Sheets or CRMs
  • Handling Inbound Conversations
    • Managing Spam
    • Create Automated Welcome and Away Messages
    • Get Contacts’ Consent for Personal Data Collection
    • Create Automated Chat Menus
    • Collect Contacts’ Emails and Phone Numbers
    • Route Contacts by Shifts
    • Route Contacts by Team Functions
    • Route New & Returning Contacts
    • Route VIP Contacts
    • Assignment Strategy: Automatic Contact Distribution & Load Balancing
    • Assignment Strategy: Unassign Agents after Conversations Closed
  • Capture Conversations
    • How to Streamline Meeting Scheduling via CTC Ads
    • How to Automate Product Info Sharing in Conversations Initiated via CTC Ads
    • How to Track Conversation Source from Multiple Websites
    • How to Route Contacts from CTC Ads to Agents
  • Automate Conversations
    • How to Maximize Customer Service Potential with AI Agent
    • How to Automate Contact Information Collection with AI
    • How to Route Contacts to Preferred AI Agent
    • How to Automatically Qualify Contacts Based on Budget Using AI Agent
    • How to Route Contacts by their Preferred Language
    • How to Create Automated Chat Menus
    • Assignment Strategy: How to Automate Contact Distribution & Load Balancing
    • Assignment Strategy: Unassign Agents after Conversations Closed
    • How to Create Automated Welcome and Away Messages
    • How to Block Contacts and Manage Spam
    • How to Route New and Returning Contacts
    • How to Collect Contacts’ Emails and Phone Numbers
    • How to Route New and Returning Contacts
    • How to Route Contacts by Team Functions
    • How to Route Contacts by Shifts
    • How to Get Contacts’ Consent for Personal Data Collection
    • How to Route VIP Contacts
  • How to Promptly Transfer Conversation Between Agents
  • How to Guide Customers from Exploration to Purchase with Engaging Menus
  • How to Optimize Customer Onboarding with Automated & Customized Welcome Messages
  • Converse with Customers
    • How to Get a Complete View of the Customers
    • How to Simplify Customer Escalation with Automation
    • How to Transfer Contacts to the Next Shift Automatically
    • How to Optimize Agents’ Productivity in the Messages Module
    • How to Align AI Conversations with Your Brand Voice
    • How to Draft Customer Replies with AI
    • How to Convert Image to Text Using AI
    • How Automate Calculations Using AI
  • Broadcasts Use Cases
    • How to Sending a Simple Broadcast
    • How to Start a Workflow Based on Broadcast Response
    • How to Import to Broadcast via WhatsApp
    • How to Troubleshoot a Failed Broadcast
  • Sales Use Cases
    • How to Collect Leads' Email and Phone Number
    • How to Enrich Contact Data and Qualify Leads
    • How to Route Leads
    • How to Auto-Assign Leads to Sales Agents
    • How to Send Outbound Sales Messages
    • How to Track Productivity by Closing Conversations
    • How to Supervise Sales Agents
    • How to Analyze Reports for Sales
  • Accessing Help Menu
Powered by GitBook
On this page
  • Dynamic Variables: Examples
  • Standard Contact Variables
  • Custom Contact Field Variables
  • Assignee Variables
  • Workflow - Trigger Variables
  • Trigger Variables for the Conversation Opened Trigger
  1. CONTACT AND MESSAGES
  2. Dynamic Variables

Dynamic Variables Overview

Dynamic variables can be used to personalize outgoing messages. Addressing Contacts personally in Conversations can be a key component of relationship building by making them feel seen and included.

There are three types of dynamic variables on the platform:

  1. Standard Contact Variables represent standard contact fields such as first name, last name and email.

  2. Custom Contact Field Variables represent customized fields added to the space.

  3. Workflow Variables are temporary variables that exist only during a Workflow session. Once the Contact exits the Workflow, the value of the variable will be erased.

There are three types of Workflow Variables: Trigger Variables, Output Variables, and variables created through Ask a Question step.

Dynamic Variables: Examples

Dynamic variables can be included by adding the "$" prefix to the contact field. The following are its syntax:

$contact, $assignee or $system

The platform supports the interpolation of static text + dynamic variables.

Standard Contact Variables

Variable

Description

$contact.name

Is replaced by the full name of the contact (First Name + Last Name).

$contact.firstname

Is replaced by the first name of the contact.

$contact.lastname

Is replaced by the last name of the contact.

$contact.email

Is replaced by the email of the Contact.

$contact.country

Is replaced by the Contact's country. If the Contact has no country stored, it will not be replaced and the actual string will be sent.

$contact.id

Is replaced by the contact ID of the Contact.

Custom Contact Field Variables

Variable

Description

$contact.field_name

Is replaced by the value in the custom field. For example, if the Custom Field "City" exists and one contact has the value "New York", sending $contact.city will be replaced by New York.

System Variables

Variable

Description

$system.current_datetime

Is replaced by the current date and time in the Workspace’s timezone.

Format: YYYY-MM-DD hh:mm:ss (e.g. 2023-01-10 09:15:27)

$system.current_date

Is replaced by the current date in the workspace’s timezone.

Format: YYYY-MM-DD (e.g. 2023-01-10)

$system.current_time

Is replaced by the current time in the workspace’s timezone.

Format: hh:mm:ss (e.g. 09:15:27)

Assignee Variables

Variable

Description

$assignee.id

Is replaced by the user ID of the assignee for a Contact.

$assignee.name

Is replaced by the full name of the assignee for a Contact (First Name + Last Name).

$assignee.email

Is replaced by the email of the assignee for a Contact.

$assignee.firstname

Is replaced by the first name of the assignee for a contact.

$assignee.lastname

Is replaced by the last name of the assignee for a contact.

$assignee.team

Is replaced by the name of the assignee’s team.

Workflow - Trigger Variables

Trigger variables are variables that are tied to a Workflow trigger. They are only available when the specific trigger is used for the Workflow.

Trigger Variables for the Conversation Opened Trigger

Variable

Description

$conversation.opened_timestamp

The date and time when the conversation opened.

Format: YYYY-MM-DD hh:mm:ss (e.g. 2023-11-10 09:15:27)

$conversation.opened_by_source

The source (e.g. Contact, User, Workflow, Zapier, API, Make) that triggers the conversation.

$conversation.opened_by_channel

The channel ID that triggers the conversation opened.

$conversation.contact_type

The contact type (New Contact or Returning Contact) of the conversation.

$conversation.first_incoming_message

The first incoming message of the conversation after the conversation is opened.

$conversation.first_incoming_message_channel_id

The channel ID of the first incoming message of the conversation after the conversation is opened

Trigger Variables for Conversation Closed Trigger

Variable

Description

$conversation.opened_timestamp

The date and time when the conversation was opened.

Format: YYYY-MM-DD hh:mm:ss (e.g. 2023-11-10 09:15:27)

$conversation.opened_by_source

The source (e.g. Contact, User, Workflow, Zapier, API, Make) that triggers the conversation opened.

$conversation.opened_by_channel

The channel ID that triggers the conversation opened.

$conversation.closed_timestamp

The date and time when the conversation was closed.

Format: YYYY-MM-DD hh:mm:ss (e.g. 2023-11-10 09:15:27)

$conversation.closed_by_source

The source (e.g. Contact, User, Workflow, Zapier, API, Make) that triggers the conversation closed.

$conversation.closed_by

The user ID of the user who closed the conversation. If the conversation is closed by bot, workflow or API, this field will be empty.

$conversation.closed_by_team

The team ID of the user who closed the conversation.

$conversation.contact_type

The contact type (New Contact or Returning Contact) of the conversation.

$conversation.assignee_team

The team name of the user who assigned the conversation.

$conversation.first_assignment_timestamp

The date and time of when the conversation was first assigned.

Format: YYYY-MM-DD hh:mm:ss (e.g. 2023-11-10 09:15:27)

$conversation.first_assignee

The user ID of the first assignee.

$conversation.first_response_timestamp

The date and time when the first response was given.

Format: YYYY-MM-DD hh:mm:ss (e.g. 2023-11-10 09:15:27)

$conversation.first_response_by

The user ID of the user who gave the first response.

$conversation.last_assignment_timestamp

The date and time of when the conversation was last assigned.

Format: YYYY-MM-DD hh:mm:ss (e.g. 2023-11-10 09:15:27)

$conversation.last_assignee

The user ID of the last assignee.

$conversation.time_to_first_assignment

The time taken to first assign the conversation to the first user.

Format: hh:mm:ss (e.g. 00:19:08)

$conversation.first_response_time

The time taken to give the first response from the time when the conversation was opened.

Format: hh:mm:ss (e.g. 00:19:08)

$conversation.first_assignment_to_first_response_time

The time taken to give the first response from the time when the conversation was first assigned.

Format: hh:mm:ss (e.g. 00:19:08)

$conversation.last_assignment_to_response_time

The time taken to give the first response by the last assignee from the time when the conversation was last assigned.

Format: hh:mm:ss (e.g. 00:19:08)

$conversation.resolution_time

The time taken to resolve the conversation from the time when the conversation was opened.

Format: hh:mm:ss (e.g. 00:19:08)

$conversation.first_assignment_to_close_time

The time taken to resolve the conversation from the time when the conversation was first assigned.

Format: hh:mm:ss (e.g. 00:19:08)

$conversation.last_assignment_to_close_time

The time taken to resolve the conversation from the time when the conversation was last assigned.

Format: hh:mm:ss (e.g. 00:19:08)

$conversation.average_response_time

The average time taken to give responses to contact.

Format: hh:mm:ss (e.g. 00:19:08)

$conversation.assignments_count

The number of assignments in the conversation.

$conversation.incoming_messages_count

The number of incoming messages received during the conversation.

$conversation.outgoing_messages_count

The number of outgoing messages sent during the conversation (excluding broadcast messages).

$conversation.responses_count

The number of responses sent in the conversation.

$conversation.category

The conversation category as specified in the closing note.

$conversation.summary

The closing note summary of the conversation.

Trigger Variables for Click-To-Chat Ads Trigger

Variable Name

Description

$clicktochat.ad_timestamp

The timestamp when the incoming message was received.

$clicktochat.ad_first_incoming_message

The first message in the conversation resulting from Click-to-Chat ad.

$clicktochat.ad_channel_id

The ID of the channel through which the incoming ad message was received.

$clicktochat.ad_channel_type

The channel through which the ad-related conversation is taking place.

$clicktochat.ad_contact_type

The type of contact associated with the ad: new or returning

$clicktochat.ad_id

The CTC ad ID number.

$clicktochat.ad_name

The CTC ad name.

$clicktochat.ad_campaign_id

The CTC ad campaign ID number.

$clicktochat.ad_campaign_name

The CTC campaign name.

$clicktochat.ad_adset_id

The CTC ad adset ID number.

$clicktochat.ad_adset_name

The CTC ad adset name.

$clicktochat.ad_ad_url

The URL of the CTC ad.

$clicktochat.ad_reference

The reference associated with the CTC ad.

$clicktochat.ad_status

The status of the CTC ad.

$clicktochat.ad_objective

The objective of the CTC ad.

$clicktochat.ad_optimization_goal

The optimization goal of the CTC ad.

$clicktochat.ad_destination_type

The type of destination associated with the CTC ad.

In the event that a standard contact field shares the same name as a custom contact field, priority for data retrieval will be given to the standard contact variable. For correct data retrieval, make sure all the variable names are unique.

PreviousDynamic VariablesNextHow to Use Dynamic Variables

Last updated 1 year ago

👨‍👧‍👦