Motion Variable List

UNDER REVISION (AB)

In this page, you find the list of Standard Variables available in XCALLY Motion application.


Take a look here for information on how to use these variables.

On this page:

Voice Channel

Queue Call

TitleVariable

Unique ID

uniqueid
Caller Numbercalleridnum
Caller Namecalleridname
Queuequeue
Called Numberdestcalleridnum
Called Namedestcalleridname
Hold Timeholdtime
Talk Timetalktime
Connected TimeagentconnectAt
Called TimeagentcalledAt
DNIDdestexten
Complete TimeagentcompleteAt
No Answer TimeagentringnoanswerAt
Recording URLrecordingURL

Recording URL variable is available for Zendesk, Salesforce, Sugar CRM, Freshdesk, Desk.com and Zoho integrations.

Outbound Call

TitleVariable
Unique IDuniqueid
Caller Numbercalleridnum
Caller Namecalleridname
Called Numberdestcalleridnum
Called Namedestcalleridname
Start Timestarttime
Answer Timeanswertime
Complete Timeendtime
Recording URLrecordingURL
Member Namemembername


Motion Bull

Note

The Motion Bull variables must be used with all lowercase characters in the triggers, while in the Square projects they must be used with all uppercase characters

TitleVariableNote
Queue Campaign IDxmd-voicequeueidAvailable for Queue Campaign
IVR Campaign IDxmd-campaignidAvailable for IVR Campaign
Caller IDxmd-calleridIn "Caller Name"<Caller Number> format
Contact IDxmd-contactid
Contact's Fieldsxmd-{name_field}

name_field is name of a contact's field in Contact Manager.

Example: xmd-firstname, xmd-phone, xmd-email and so on.

Contact's Custom Fieldsxmd-cf_{ID}

ID is the custom field's ID.

Example, if the contact has a custom field with ID=5, the variable name will be xmd-cf_5.





Chat Channel

Trigger Variable


Interaction

TitleVariableNote
Interaction IDid
Interaction statusclosedTrue if the interaction is closed
Interaction close timestampclosedAt

Timestamp of close action

DispositiondispositionInteraction disposition
NotenoteInteraction note
Agent IDUserId
Contact IDContactId
Website IDChatWebsiteId
Customer Browser

browserName

browserVersion

Informations on browser used by the customer
Customer OS

osName

osVersion

Informations on OS used by the customer
Customer Device

deviceModel

deviceVendor

deviceType

Informations on device used by the customer
Customer RefererrefererReferer page of the customer
Customer IPscustomerIpList of IPs used by the customer to reach the webchat
Interaction create timestampcreatedAtCreation timestamp
Channelchannel
Event typeevent
Agent interfaceinterface
Recipient of trigger action


Message 

TitleVariableNote
Message IDid
Text messagebody
Message directiondirection
Chat Website IDChatWebsiteId
Chat Interaction IDChatInteractionId
Agent IDUserId
Contact IDContactId
Message create timestampcreatedAtCreation timestamp
Channelchannel
Event typeevent
Agent interfaceinterface
Recipient of trigger action



Email Channel

Trigger Variable


Interaction

TitleVariableNote
Interaction IDid
Interaction statusclosedTrue if the interaction is closed
Interaction close timestampclosedAt

Timestamp of close action

DispositiondispositionInteraction disposition
NotenoteInteraction note
Reply Message IDinReplyTo
TotoTo property of the latest message
CcccCc property of the latest message
SubjectsubjectSubject property of the latest message
AttachmentattachNumber of attachments in the latest message
Agent IDUserId
Contact IDContactId
Email Account IDMailAccountId
Interaction create timestampcreatedAtCreation timestamp
Channelchannel
Event typeevent
Agent interfaceinterface
Recipient of trigger action


Message 

TitleVariableNote
Message IDid
Text messagebody
Message directiondirection
Provider Message IDmessageIdID assigned by Email provider
Fromfrom
Toto
Cccc
Bccbcc
Subjectsubject
Message sent timestampsentAt
AttachmentattachNumber of attachments in the latest message
Email Account IDMailAccountId
Email Interaction IDMailInteractionId
Agent IDUserId
Contact IDContactId
Message create timestampcreatedAtCreation timestamp
Channelchannel
Event typeevent
Agent interfaceinterface
Recipient of trigger action




SMS Channel

Trigger Variable


Interaction

TitleVariableNote
Interaction IDid
Interaction statusclosedTrue if the interaction is closed
Interaction close timestampclosedAt

Timestamp of close action

DispositiondispositionInteraction disposition
NotenoteInteraction note
Customer mobile phone numberphoneMobile phone number of the contact
Agent IDUserId
Contact IDContactId
Sms Account IDSmsAccountId
Interaction create timestampcreatedAtCreation timestamp
Channelchannel
Event typeevent
Agent interfaceinterface
Recipient of trigger action


Message 

TitleVariableNote
Message IDid
Text messagebody
Message directiondirection
Provider Message IDmessageIdID assigned by Sms provider
Customer mobile phone numberphoneMobile phone number of the contact
Sms Account IDSmsAccountId
Sms Interaction IDSmsInteractionId
Agent IDUserId
Contact IDContactId
Message create timestampcreatedAtCreation timestamp
Channelchannel
Event typeevent
Agent interfaceinterface
Recipient of trigger action




Openchannel Channel 

Trigger Variable


Interaction

TitleVariableNote
Interaction IDid
Interaction statusclosedTrue if the interaction is closed
Interaction close timestampclosedAt

Timestamp of close action

DispositiondispositionInteraction disposition
NotenoteInteraction note
Agent IDUserId
Contact IDContactId
Openchannel Account IDOpenchannelAccountId
Interaction create timestampcreatedAtCreation timestamp
Channelchannel
Event typeevent
Agent interfaceinterface
Recipient of trigger action


Message 

TitleVariableNote
Message IDid
Text messagebody
Message directiondirection
Openchannel Account IDOpenchannelAccountId
Openchannel Interaction IDOpenchannelInteractionId
Agent IDUserId
Contact IDContactId
Message create timestampcreatedAtCreation timestamp
Channelchannel
Event typeevent
Agent interfaceinterface
Recipient of trigger action



Fax Channel 

UNDER REVISION

Trigger Variable

Interaction

TitleVariableNote
Interaction IDid


Message 

TitleVariableNote







Jscripty


TitleVariableNote
Event field{{name_field}}

name_field depends on the type of event.

For the full complete list, refer to the below section:

User field{{user.name_field}}

name_field is one of the following:

  • id
  • username
  • fullname
  • email
  • userpic
  • alias
Contact field{{contact.name_field}}

name_field is name of a contact's field in Contact Manager.

Example: contact.firstname, contact.phone, contact.email and so on

It is available only when you reply to email or click to email.


Variables for Omni Channels: Notification, Templates, Canned Answers, Routing and App Zone


In this section you find the variables that can be used in OmniChannels Notifications,Templates, Routing, Canned Answers and App Zone.

The syntax that must be used to embed the variable within the template is as follows:

Example 1: 

Account: {{account.name}} 

Example 2 (for Notifications):

{{#queue}}Queue: {{queue.name}}{{/queue}}

In this case only if (#) the queue variable exists, the template renders the queue variable



TitleVariableNoteUsed by
User field{{user.name_field}}

name_field is one of the following:

  • id
  • name
  • fullname
  • email
  • userpic
  • alias
  • internal (only for app zone)
  • interface (only for app zone)
  • Template
  • Routing
  • Canned Answer
  • App Zone
Account field{{account.name_field}}

name_field is one of the following:

  • id
  • name
  • key
  • email (only for email)
  • Notification
  • Template
  • Routing
  • Canned Answer
Queue field{{queue.name_field}}

name_field is one of the following:

  • id
  • name
  • Notification
  • Template
Contact field{{contact.name_field}}

name_field is name of a contact's field in Contact Manager.

Example: contact.firstname, contact.phone, contact.email and so on

It is available only when you reply to email or click to email.

  • Notification
  • Template
  • Routing
  • Canned Answer
Interaction{{interaction.name_field}}

name_field is one of the following:

  • id
  • to (only for email)
  • cc (only for email)
  • subject (only for email)
  • substatus (only for email)


It is available only when you reply to email.
  • Notification
  • Template
  • Routing
  • Canned Answer
Message{{message.name_field}}

name_field is one of the following:

  • id
  • subject (only for email)
  • from (only for email)
  • to (only for email)
  • body (only for email)

  • Notification
  • Template
  • Routing
List{{list.name_field}}

name_field is one of the following:

  • id
  • name
  • description
  • Notification
  • Template
  • Routing
General Body Fields{{name_field}}

name_field is one of the following:

  • from
  • first name
  • last name
  • Notification
  • Template
  • Routing