Working with Analytics Interaction Metadata
Important
- The following metadata interaction configuration details are not relevant for Genesys Interaction Recording configuration (GIR).
- Every interaction in the Input folder should contain xml data that provides general information about the interaction (for example, interaction time, speakers, call length, and so on).
- The name of the xml file must be unique and the same as the interaction file name.
- The name of any attachment must be unique.
The xml file must include the following fields:
- Call / Text Time: The time the interaction started.
- Program ID: The external program name that processes the interaction.
- Speakers: The name of the agent and customer that participated in the interaction. This field is not mandatory for social interactions.
- Audio / Text Format: The interaction format (for example, eml, chtx, and so on).
- Workgroup: The agent's hierarchy. This field is not mandatory for social interactions.
- Media Type: The type of text interaction (for example, email, chat, text and/or social). This field is only mandatory and relevant for text interactions.
- Other: Metadata field and value characters. The valid metadata field and value characters are alphanumeric, spaces, parenthesis (), and backslash \. This field is only mandatory for social interactions and must include the title, text and url fields.
The following are examples of the structure of the xml files for each interaction type:
Audio Interactions [+]
<?xml version="1.0" encoding="us-ascii" ?>
<callInformation>
<callTime>2007-05-15T10:54:04</callTime>
<programID>TESTPROG</programID>
<audioFormat>WAV_GSM610</audioFormat>
<encryptionKey>1</encryptionKey>
<speakers>
<speaker id="a2" [startTime=xx] [endTime=yy] speakerType="zzz">
<workgroup>/W1/W2</workgroup>
</speaker>
<speaker ... >
</speaker>
.
.
</speakers>
<channels left="Customer" right="Agent" /> <!-- Only for calls with different speaker in each channel –>
<callLength>941.5</callLength>
<customerGroupID>custGrp1</customerGroupID>
<customerID>12345</customerID>
<originalAudioPath>//machine/folder</originalAudioPath>
<partitions>
<partition>/A/B/C</partition>
<partition>/X</partition>
.
.
</partitions>
<originalInteractionURL>http://www.genesys.com/audiofile.wav</originalInteractionURL><!-- Only from SM 8.5.504 and up –>
<other>
<fieldname>value</fieldname>
<fieldname>value</fieldname>
.
.
</other>
</callInformation>
Email Interactions [+]
<?xml version="1.0" encoding="us-ascii" ?>
<callInformation>
<mediaType>EMail</mediaType>
<textFormat>EML</textFormat>
<textTime>2007-05-15T10:54:04</textTime>
<programID>TESTPROG</programID>
<speakers>
<speaker id="a2" speakerType="zzz">
<workgroup>/W1/W2</workgroup>
</speaker>
<speaker ... >
</speaker>
.
.
</speakers>
<customerGroupID>custGrp1</customerGroupID>
<customerID>12345</customerID>
<originalPath>//machine/folder</originalPath>
<partitions>
<partition>/A/B/C</partition>
<partition>/X</partition>
.
.
</partitions>
<attachments>
<attachment>attachment1</attachment>
<attachment>attachment2</attachment>
</attachments>
<originalInteractionURL>http://www.genesys.com/email.eml</originalInteractionURL><!-- Only from SM 8.5.504 and up –>
<other>
<fieldname>value</fieldname>
<fieldname>value</fieldname>
.
.
</other>
</callInformation>
Chat Interactions [+]
<?xml version="1.0" encoding="us-ascii" ?>
<callInformation>
<mediaType>Chat</mediaType>
<textFormat>Text</textFormat><!-- from SM 8.5 and up, text format can be : XML-->
<textTime>2007-05-15T10:54:04</textTime>
<programID>TESTPROG</programID>
<speakers>
<speaker id="a2" speakerType="zzz">
<workgroup>/W1/W2</workgroup>
</speaker>
<speaker ... >
</speaker>
.
.
</speakers>
<customerGroupID>custGrp1</customerGroupID>
<customerID>12345</customerID>
<originalPath>//machine/folder</originalPath>
<partitions>
<partition>/A/B/C</partition>
<partition>/X</partition>
.
.
</partitions>
<attachments>
<attachment>attachment1</attachment>
<attachment>attachment2</attachment>
</attachments>
<originalInteractionURL>http://www.genesys.com/socail.doc</originalInteractionURL><!-- Only from SM 8.5.504 and up –>
<other>
<fieldname>value</fieldname>
<fieldname>value</fieldname>
.
.
</other>
</callInformation>
Social Interactions [+]
<?xml version="1.0" encoding="us-ascii" ?>
<callInformation>
<mediaType>Social</mediaType>
<textTime>2007-05-15T10:54:04</textTime>
<programID>TESTPROG</programID>
<speakers>
<speaker id="a2" speakerType="zzz">
<workgroup>/W1/W2</workgroup>
</speaker>
<speaker ... >
</speaker>
.
.
</speakers>
<customerGroupID>custGrp1</customerGroupID>
<customerID>12345</customerID>
<originalPath>//machine/folder</originalPath>
<partitions>
<partition>/A/B/C</partition>
<partition>/X</partition>
.
.
</partitions>
<attachments>
<attachment>attachment1</attachment>
<attachment>attachment2</attachment>
</attachments>
<originalInteractionURL>http://www.genesys.com/socail.doc</originalInteractionURL> <!-- Only from SM 8.5.504 and up –>
<other>
<title>Subject</title>
<text>bla bla bla</text>
<url>http://xxx.com/path</url>
<fieldname>value</fieldname>
<fieldname>value</fieldname>
.
.
</other>
</callInformation>
Text Interactions [+]
<?xml version="1.0" encoding="us-ascii" ?>
<callInformation>
<mediaType>Text</mediaType>
<textFormat>TEXT</textFormat>
<textTime>2007-05-15T10:54:04</textTime>
<programID>TESTPROG</programID>
<speakers>
<speaker id="a2" speakerType="zzz">
<workgroup>/W1/W2</workgroup>
</speaker>
<speaker ... >
</speaker>
.
.
</speakers>
<customerGroupID>custGrp1</customerGroupID>
<customerID>12345</customerID>
<originalPath>//machine/folder</originalPath>
<partitions>
<partition>/A/B/C</partition>
<partition>/X</partition>
.
.
</partitions>
<attachments>
<attachment>attachment1</attachment>
<attachment>attachment2</attachment>
</attachments>
<originalInteractionURL>http://www.genesys.com/socail.doc</originalInteractionURL><!-- Only from SM 8.5.504 and up –>
<other>
<fieldname>value</fieldname>
<fieldname>value</fieldname>
.
.
</other>
</callInformation>