Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »


On this page:


In this page, you find the list of Standard Variables available in XCALLY Motion application.
You can see here how to set the variable syntax, based on section you need to configure.

Voice Channel

Queue Call

Title

Variable

Unique ID

uniqueid

Caller Number

calleridnum

Caller Name

calleridname

Queue

queue

Called Number

destcalleridnum

Called Name

destcalleridname

Hold Time

holdtime

Talk Time

talktime

Connected Time

agentconnectAt

Called Time

agentcalledAt

DNID

destexten

Complete Time

agentcompleteAt

No Answer Time

agentringnoanswerAt

Recording URL

recordingURL


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

Outbound Call

Title

Variable

Unique ID

uniqueid

Caller Number

calleridnum

Caller Name

calleridname

Called Number

destcalleridnum

Called Name

destcalleridname

Start Time

starttime

Answer Time

answertime

Complete Time

endtime

Recording URL

recordingURL

Member Name

membername


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


Title

Variable

Note

Queue Campaign ID

xmd-voicequeueid

Available for Queue Campaign

IVR Campaign ID

xmd-campaignid

Available for IVR Campaign

Caller ID

xmd-callerid

In "Caller Name"<Caller Number> format

Contact ID

xmd-contactid


Contact's Fields

xmd-{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 Fields

xmd-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

Interaction

Title

Variable

Note

Interaction ID

id


Interaction status

closed

True if the interaction is closed

Interaction close timestamp

closedAt

Timestamp of close action

Disposition

disposition

Interaction disposition

Note

note

Interaction note

Agent ID

UserId


Contact ID

ContactId


Website ID

ChatWebsiteId


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 Referer

referer

Referer page of the customer

Customer IPs

customerIp

List of IPs used by the customer to reach the webchat

Interaction create timestamp

createdAt

Creation timestamp

Channel

channel


Event type

event


Agent interface

interface

Recipient of trigger action


Message 

Title

Variable

Note

Message ID

message.id


Text message

message.body


Message direction

message.direction

in or out

Chat Website ID

message.ChatWebsiteId


Chat Interaction ID

message.ChatInteractionId


Agent ID

UserId


Contact ID

message.ContactId


Message create timestamp

message.createdAt

Creation timestamp

Channel

message.channel


Event type

message.event


Agent interface

interface

Recipient of trigger action

Email Channel

Interaction

Title

Variable

Note

Interaction ID

id


Interaction status

closed

True if the interaction is closed

Interaction close timestamp

closedAt

Timestamp of close action

Disposition

disposition

Interaction disposition

Note

note

Interaction note

Reply Message ID

inReplyTo


To

to

To property of the latest message

Cc

cc

Cc property of the latest message

Subject

subject

Subject property of the latest message

Attachment

attach

Number of attachments in the latest message

Agent ID

UserId


Contact ID

ContactId


Email Account ID

MailAccountId


Interaction create timestamp

createdAt

Creation timestamp

Channel

channel


Event type

event


Agent interface

interface

Recipient of trigger action


Message 

Title

Variable

Note

Message ID

id


Text message

body


Message direction

direction


Provider Message ID

messageId

ID assigned by Email provider

From

from


To

to


Cc

cc


Bcc

bcc


Subject

subject


Message sent timestamp

sentAt


Attachment

attach

Number of attachments in the latest message

Email Account ID

MailAccountId


Email Interaction ID

MailInteractionId


Agent ID

UserId


Contact ID

ContactId


Message create timestamp

createdAt

Creation timestamp

Channel

channel


Event type

event


Agent interface

interface

Recipient of trigger action



SMS Channel

Interaction

Title

Variable

Note

Interaction ID

id


Interaction status

closed

True if the interaction is closed

Interaction close timestamp

closedAt

Timestamp of close action

Disposition

disposition

Interaction disposition

Note

note

Interaction note

Customer mobile phone number

phone

Mobile phone number of the contact

Agent ID

UserId


Contact ID

ContactId


Sms Account ID

SmsAccountId


Interaction create timestamp

createdAt

Creation timestamp

Channel

channel


Event type

event


Agent interface

interface

Recipient of trigger action


Message 

Title

Variable

Note

Message ID

id


Text message

body


Message direction

direction


Provider Message ID

messageId

ID assigned by Sms provider

Customer mobile phone number

phone

Mobile phone number of the contact

Sms Account ID

SmsAccountId


Sms Interaction ID

SmsInteractionId


Agent ID

UserId


Contact ID

ContactId


Message create timestamp

createdAt

Creation timestamp

Channel

channel


Event type

event


Agent interface

interface

Recipient of trigger action


Openchannel Channel 

Interaction

Title

Variable

Note

Interaction ID

id


Interaction status

closed

True if the interaction is closed

Interaction close timestamp

closedAt

Timestamp of close action

Disposition

disposition

Interaction disposition

Note

note

Interaction note

Agent ID

UserId


Contact ID

ContactId


Openchannel Account ID

OpenchannelAccountId


Interaction create timestamp

createdAt

Creation timestamp

Channel

channel


Event type

event


Agent interface

interface

Recipient of trigger action


Message 

Title

Variable

Note

Message ID

id


Text message

body


Message direction

direction


Openchannel Account ID

OpenchannelAccountId


Openchannel Interaction ID

OpenchannelInteractionId


Agent ID

UserId


Contact ID

ContactId


Message create timestamp

createdAt

Creation timestamp

Channel

channel


Event type

event


Agent interface

interface

Recipient of trigger action

Fax Channel 

UNDER REVISION

Interaction

Title

Variable

Note

Interaction ID

id


Jscripty

Title

Variable

Note

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


Title

Variable

Note

Used 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


  • No labels