How to Integrate Slate with Comm100
Introduction to Slate and Comm100 Integration

Slate by Technolutions is a comprehensive CRM platform designed for higher education bodies to manage students’ relationships, send outreach communications, and so on. If you are using Slate, you can integrate your Slate system with Comm100 to further streamline your operations by handling chats and messages in a unified manner.

Integration on the Comm100 Side

With the Comm100 and Slate integration, a Slate tab appears under the Live Chat or Ticketing & Messaging tab on the Agent Console. The Slate tab shows the Slate Person’s information, and agents can edit the Slate Person, or click the link to view the Person in Slate system. Agents’ changes can be updated to the Slate system automatically.

introduction1.png

Note:
  • There is a 15-minute time delay for the Slate system to synchronize Comm100 data, so it may take 15 minutes for agents’ changes to show in Slate.
  • If a visitor from Live Chat or a contact from Ticketing & Messaging has a match in the Slate system, the Slate tab shows the Slate Person’s information. If Comm100 finds no match for the visitor or contact in the Slate system, the Slate tab is empty, and agents can create a Person manually depending on your integration settings.

Integration on the Slate Side

With the Comm100 and Slate integration, a Slate Person’s profile can be updated from Comm100, and the interaction history including chats, offline messages, and tickets appear in the Person’s timeline. For each interaction record, you can click to view the details.

introduction.png

To integrate Slate with Comm100, you need to complete the setup from both the Comm100 system and the Slate system. Follow the procedure to set up your Slate integration: 

  1. Set up Comm100 Integration from Slate
  2. Set up Slate Integration from Comm100
  3. Remap Comm100 and Slate Fields
Set Up Comm100 Integration from Slate

Create Interaction Codes

Follow the instructions to create interaction codes for Chat, offline message, and ticket message.

  1. In your Slate system, go to Database, and click Activity / Interaction Codes under Records and Datasets.
  2. Click Insert to create an interaction code.
  3. In the Insert Record Activity & Interaction Codes window, set the parameters for Chat as follows, then click Save.
    • Status: Active
    • Type: Interaction
    • Code: comm100_chat
    • Label: Chat
    • Show In Reader: No
    preinte-intercode02.png
  4. Create an Interaction code for Offline Message, set the parameters as follows, and click Save.
    • Status: Active
    • Type: Interaction
    • Code: comm100_offline_message 
    • Label: Offline Message
    • Show In Reader: No
  5. Create an Interaction code for Ticket Message, set the parameters as follows, and click Save
    • Status: Active
    • Type: Interaction
    • Code: comm100_ticket_message
    • Label: Ticket Message
    • Show In Reader: No

Create a Person Identification Query

Follow the instructions to create a Person Identification Query.

  1. In your Slate system, go to Queries / Reports > Queries, and click New Query.
  2. In the New Query window, set the parameters as follows, then click Save.
    • Name: Person Identification Query
    • Type: Configurable Joins
    • Category: Records
    • Base: Person
    newquery.png
  3. Click the created query in the list, then click Edit Query > Edit Web Service.
  4. In the Edit Web Service window, set the parameters as follows, and click Save.
    • Custom Parameters:
       <param id="ReferenceId" type="varchar" />
              <param id="Email" type="varchar" />
              <param id="Phone" type="varchar" />
    • Service Type: JSON
  5. In the Filters area, click the Subquery button to add a Subquery filter.
  6. In the Edit Part window, set the parameters as follows, then click Save.
    • Status: Active
    • Name: Find Person by ReferenceId, Email, Phone
    • Type: Dependent subquery
    • Aggregate: Formula
    • Formula:
       @Person-Reference-ID = @ReferenceId OR 
              @Person-Email = @Email OR REPLACE(REPLACE(REPLACE(@Person-Mobile-Phone,' ',''), '-',''), '+', '') = @Phone
    • Exports: Choose Person Reference ID, Person Email, and Person Mobile Phone under Direct Exports.
    query6.png
  7. On the Edit Query page, click Export under the Exports area.
  8. In the Insert Query Part window, scroll down to Direct Exports, choose the following fields, then click Continue.
    • Reference ID
    • First
    • Last
    • Status
    • Birthdate
    • Current Age Based on Birthdate
    • Sex
    • Email
    • Mobile Phone
    • Record URL
  9. Create a user token for query web service:
    1. Under the Edit Query area, click Edit Permissions.
    2. Click Add Grantee.
    3. Set the parameters as follows, then click Save. A user token is generated automatically, and you can reset it.
      • Active: Active
      • Type: User Token
      • Name: Comm100
      • Permissions: Enable Web Service
    query09.png
  10. Find and copy the Query URL:
    1. Click the JSON link.
    2. In the Web Service window, choose User Token – Comm100 for Service Account, keep the Authorization Type as Query String.
    3. Copy the URL for later use. 
    query9.png

Create Source Formats

Follow the instructions to create source formats for Person, Chat, Offline message, and Ticket Message:

  1. In your Slate system, go to Database > Import and Data Processing > Source Formats.
  2. Click New Source Format.
  3. For Chat source format, set the parameters as follows, then click Save.
    • General
      • Name: Chat
      • Format: XML
      • Type: One-Time / Differential type
      • Remap As Of Date: Today's date, such as 2023-01-01
      • Remap Active: Inactive
      • Update Only: Allow record creation
      sourceformat1.png
    • Format Definition
       
                              <layout type="json" node="/interactions">
                                <f id="Slate Person Reference ID" s="personReferenceId" />
                                <f id="Person First Name" s="personFirst" />
                                <f id="Person Last Name" s="personLast" />
                                <f id="Person Birthdate" s="personBirthdate" />
                                <f id="Person Sex" s="personSex" />
                                <f id="Person Email" s="personEmail" />
                                <f id="Person Mobile Phone" s="personMobilePhone" />
                                <f id="Comm100 Chat Subject" s="message/subject" />
                                <f id="Comm100 Chat Content" s="message/content" />
                                <f id="Comm100 Chat Created Time" s="message/createdTime" />
                              </layout>
  4. For Offline Message source format, set the parameters as follows, then click Save.
    • General
      • Name: Offline Message
      • Format: XML
      • Type: One-Time / Differential type
      • Remap As Of Date: Today's date, such as 2023-01-01
      • Remap Active: Inactive
      • Update Only: Allow record creation/li>
    • Format Definition
       
              <layout type="json" node="/interactions">
                <f id="Slate Person Reference ID" s="personReferenceId" />
                <f id="Person First Name" s="personFirst" />
                <f id="Person Last Name" s="personLast" />
                <f id="Person Birthdate" s="personBirthdate" />
                <f id="Person Sex" s="personSex" />
                <f id="Person Email" s="personEmail" />
                <f id="Person Mobile Phone" s="personMobilePhone" />
                <f id="Comm100 Offline Message Subject" s="message/subject" />
                <f id="Comm100 Offline Message Content" s="message/content" />
                <f id="Comm100 Offline Message Created Time" s="message/createdTime" />
              </layout>
  5. For Ticket Message source format, set the parameters as follows, then click Save.
    • General
      • Name: Ticket Message
      • Format: XML
      • Type: One-Time / Differential type
      • Remap As Of Date: Today's date, such as 2023-01-01
      • Remap Active: Inactive
      • Update Only: Allow record creation
    • Format Definition
       
              <layout type="json" node="/interactions">
                <f id="Slate Person Reference ID" s="personReferenceId" />
                <f id="Person First Name" s="personFirst" />
                <f id="Person Last Name" s="personLast" />
                <f id="Person Birthdate" s="personBirthdate" />
                <f id="Person Sex" s="personSex" />
                <f id="Person Email" s="personEmail" />
                <f id="Person Mobile Phone" s="personMobilePhone" />
                <f id="Comm100 Message Ticket Subject" s="message/subject" />
                <f id="Comm100 Message Content" s="message/content" />
                <f id="Comm100 Message Created Time" s="message/createdTime" />
              </layout>
  6. For Person source format, set the parameters as follows, then click Save.
    • General:
      • Name: Person
      • Format: XML
      • Type: One-Time / Differential type
      • Remap As Of Date: Today's date, such as 2023-01-01
      • Remap Active: Inactive
      • Update Only: Allow record creation
    • Format Definition
      
              <layout type="json" node="/persons">
                <f id="Slate Person Reference ID" s="personReferenceId" />
                <f id="Person First Name" s="personFirst" />
                <f id="Person Last Name" s="personLast" />
                <f id="Person Birthdate" s="personBirthdate" />
                <f id="Person Sex" s="personSex" />
                <f id="Person Email" s="personEmail" />
                <f id="Person Mobile Phone" s="personMobilePhone" />
              </layout>
  7. Open each source format that you have created, click the View link.
  8. Under the Standardtab, copy the URL for later use. 
    sourceformat4.pngThe source format URLs will be used when setting up Slate integration from Comm100.

Create a Service Account

  1. In your Slate system, go to Database > Users & Access > User Permissions.
  2. Click New User.
  3. Complete the settings:
    1. Input First Name, Last Name, and Email. 
    2. For User Type, choose Service Account.
    3. Input the User ID and Password.
    4. Active: Select the Enable account for access checkbox.
  4. Click Save. Copy the User ID and Password for later use.

Set Up Slate Integration from Comm100

After you have set up Comm100 integration from Slate, you can set up the integration on Comm100 with the information collected from Slate system.

Prerequisite

Before you start, make sure you have collected the following information from Slate:

  • Slate domain: such as example.technolutions.net
  • Your Service Account Username and Password
  • The Person Identification Query URL
  • The Source Format URLs of Person, Chat, Offline Message, and Ticket Message

Step by Step Instructions

To set up Slate integration from Comm100, follow these steps:

  1. Log in to the Comm100 Control Panel.
  2. From the left navigation menu, go to Apps & Integrations.
  3. Go to the Slate card, and click Settings. The Slate page shows the steps to set up the integration.
    settings.png
  4. Click I’m Ready. Next to proceed to Step 2.
  5. Input the information you collected from Slate, choose the time zone of your Slate system and click Next.
  6. Choose to integrate Slate with Live Chat, Ticketing & Messaging, or both based on your requirements.
    step3-enable.png
  7. Complete the settings for Live Chat and Ticketing & Messaging integration. See Reference: Configurations for Slate Integration for details.
  8. Click Save. The integration settings are saved successfully. You need to send sample data to Slate for subsequent remapping.
  9. For first time use, click Send Sample Data Now. After sample data is sent, you can remap fields in the Slate system.
    • If you enable Live Chat integration, the system sends sample data of a chat and an offline message to Slate.
    • If you enable Ticketing & Messaging integration, the system sends sample data of a ticket message to Slate. 

Reference: Configurations for Slate integration

Configurations for Slate Integration with Live Chat

If you enable Slate integration in Live Chat, you need to complete the following configurations:

  • Chat Source Format URL and Offline Message Source Format URL: Input the URLs collected from your Slate system.
  • Person Field Mapping: Map Slate fields with Comm100 Live Chat fields.
    The fields are used to identify a person. The Slate fields to be mapped include Reference ID, First name, Last name, Email, and Mobile phone.
    When identifying a person, Reference ID, Email, and Mobile phone are used by sequence as the identifier. That is, if a person’s Reference ID is not empty, it is used to identify a person, then Email and Mobile phone.
    live chat config.png
    1. If Reference ID, Email, and Mobile phone are all empty, the person cannot be identified. 
    2. If multiple persons can be matched in the Slate system, the first person in the query result list is used.
    3. Comm100 system fields include Name, while Slate fields include First name and Last name. When mapping the Slate fields First name and Last name, you need to create custom fields in the Comm100 system.
  • Person Information Update Strategy in Slate when Chat Ends: Whether to update a person’s information when a chat ends.
    live chat config2.png
    1. Do not update: Do not update a person’s information in Slate.
    2. Only update empty fields in Slate from mapped fields: Keep a person’s existing information in Slate, and update new fields from Live Chat. 
  • Operation if No Person Matched for Chat: When the system finds no match for a visitor from Live Chat in Slate, whether to create the visitor as a Person in Slate.
    1. Auto-create a Person in Slate: Automatically create the visitor as a Person in Slate.
    2. Do not auto-create a Person but allow agents to create a Person manually in Slate: The system does not create a Person, but agents can create the visitor as a Person from Comm100.
    3. Do not auto-create a Person and do not allow agents to create a Person manually in Slate: The system does not create a Person, and agents cannot create a Person from the Agent Console.
  • Person Information Update Strategy in Slate for Offline Message: Whether to update a person’s information when receiving an offline message. 
    1. Do not update: Do not update a person’s information in Slate.
    2. Only update empty fields in Slate from mapped fields: Keep a person’s existing information in Slate, and update new fields from Live Chat. 
  • Operation if No Person Matched for Offline Message: When the system finds no match for a visitor from Offline Message in Slate, whether to create the visitor as a Person in Slate.
    1. Auto-create a Person in Slate: Automatically create the visitor as a Person in Slate.
    2. Do not auto-create a Person but allow agents to create a Person manually in Slate: The system does not create a Person, but agents can create the visitor as a Person from Comm100.
    3. Do not auto-create a Person and do not allow agents to create a Person manually in Slate: The system does not create a Person, and agents cannot create a Person from Comm100.
Note: Email address or First and Last name must be provided to create a Person in Slate. If you choose to create a Person automatically, the Person can be created only if the visitor has provided the Email or First and Last name in the the pre-chat form or the Offline Message window.

Configurations for Slate Integration with Ticketing & Messaging

  • Ticket Message Source Format URL: Input the URL collected from your Slate system.
  • Person Field Mapping
    Map Slate fields with Comm100 Contact fields or Channel Identities. The fields are used to identify a person. The Slate fields to be mapped include Reference ID, First name, Last name, Email, and Mobile phone. TM config.pngTM mapping.png
    When identifying a person, Reference ID, Email, and Mobile phone are used by sequence as the unique identifier. That is, if a person’s Reference ID is not empty, it is used to identify a person, then Email and Mobile phone. 
    1. If Reference ID, Email, and Mobile phone are all empty, the person cannot be identified. 
    2. If multiple persons can be matched in the Slate system, the first person in the query result list is used.
    3. Comm100 system fields include Name, while Slate fields include First name and Last name. When mapping the Slate fields First name and Last name, you need to create custom fields in the Comm100 system.
  • Operation If No Person Matched for Ticket: When the system finds no match for a contact from Ticketing & Messaging in Slate, whether to create the visitor as a Person in Slate.
    TM config.png
    1. Auto-create a Person in Slate: Automatically create the contact as a Person in Slate.
    2. Do not auto-create a Person but allow agents to create a Person manually in Slate: The system does not create a Person, but agents can create the contact as a Person from Comm100.
    3. Do not auto-create a Person and do not allow agents to create a Person manually in Slate: The system does not create a Person, and agents cannot create a Person from Comm100.
Note: : Email address or First and Last name must be provided to create a Person in Slate. If you choose to create a Person automatically, the Person can be created only if the Ticketing & Messaging system has collected the Contact’s Email or First and Last name.
Remap Comm100 and Slate Fields

After you have set up Slate integration and sent sample data to Slate from Comm100, you need to remap Comm100 fields in your Slate system to complete the integration.

Remap Person Source Format

  1. In your Slate system, go Database > Import and Data Processing > Source Formats.
  2. In the source format list, open the Person source format, and click Remap.
  3. Set value mapping for Sex field:
    1. Click Prompt Value Mappings on the right side.
    2. Click Person Sex, then click Append Values in the popup window.
      sex3-.png
    3. Input F and M as follows, then click Append.
      sex4.png 
    4. Set the Destination Values of F and M as Female and Male respectively. Then click Save.sex5.png
       
  4. On the Person Field Mappings page, remap the Source Fields to Destinations as follows, and save your settings.
    1. Remap Slate Person Reference ID to: Record > Slate ID Matching Only
    2. Remap Person First Name to: Record > First Name
    3. Remap Person Last Name to: Record > Last Name
    4. Remap Person Birthdate to: Record > Birthdate
    5. Remap Person Sex to: Record > Sex
    6. Remap Person Email to: Record > Email
    7. Remap Person Mobile Phone to: Record > Mobile Phone Number
    After you have saved your changes, the Person Field Mappings page shows all the remapped fields and destinations.
    remap person.png 

Remap Chat Source Format

  1. In your Slate system, go Database > Import and Data Processing > Source Formats.
  2. In the source format list, open the Chat source format.
  3. Click Remap, then click Static Mappings on the right side.
  4. Click New Static Mapping, complete the settings as follows, then click Save.
    • Destination: Interaction > Interaction: Code
    • Group: 1
    • Value: Chat
    remap chat1.png
  5. Set value mapping for Sex field:
    1. Click Prompt Value Mappings on the right side.
    2. Click Person Sex, then click Append Values in the popup window.
    3. Input F and M, then click Append.
    4. Set the Destination Value of F and M as Female and Male respectively. Then click Save.
  6. On the Chat Field Mappings page, remap the Chat Source Fields to Destinations as follows, and save your settings.
    • Remap Slate Person Reference ID to: Record > Slate ID Matching Only
    • Remap Person First Name to: Record > First Name
    • Remap Person Last Name to: Record > Last Name
    • Remap Person Birthdate to: Record > Birthdate
    • Remap Person Sex to: Record > Sex
    • Remap Person Email to: Record > Email
    • Remap Person Mobile Phone to: Record > Mobile Phone Number
    • Remap Comm100 Chat Subject to: Interaction > Interaction: Subject
    • Remap Comm100 Chat Content to: Interaction > Interaction: Private Comments
    • Remap Comm100 Chat Created Time to: Interaction > Interaction: Date
    After you have saved your changes, the Chat Field Mappings page shows all the remapped fields and destinations.
    remap chat2.png

Remap Offline Message Source Format

  1. In your Slate system, go Database > Import and Data Processing > Source Formats.
  2. In the source format list, open the Offline Message source format.
  3. Click Remap, then click Static Mappings on the right side.
  4. Click New Static Mapping, complete the settings as follows, then click Save.
    • Destination: Interaction > Interaction: Code
    • Group: 1
    • Value: Chat
  5. Set value mapping for Sex field:
    1. Click Prompt Value Mappings on the right side.
    2. Click Person Sex, then click Append Values in the popup window.
    3. Input F and M, then click Append.
    4. Set the Destination Value of F and M as Female and Male respectively. Then click Save.
  6. On the Offline Message Field Mappings page, remap the Source Fields to Destinations as follows, and save your settings.
    1. Remap Slate Person Reference ID to: Record > Slate ID Matching Only
    2. Remap Person First Name to: Record > First Name
    3. Remap Person Last Name to: Record > Last Name
    4. Remap Person Birthdate to: Record > Birthdate
    5. Remap Person Sex to: Record > Sex
    6. Remap Person Email to: Record > Email
    7. Remap Person Mobile Phone to: Record > Mobile Phone Number
    8. Remap Comm100 Offline Message Subject to: Interaction > Interaction: Subject
    9. Remap Comm100 Offline Message Content to: Interaction > Interaction: Private Comments
    10. Remap Comm100 Offline Message Created Time to: Interaction > Interaction: Date
    After you have saved your changes, the Person Field Mappings page shows all the remapped fields and destinations.
    offline message.png

Remap Ticket Message Source Format

  1. In your Slate system, go Database > Import and Data Processing > Source Formats.
  2. In the source format list, open the Ticket Message source format.
  3. Click Remap, then click Static Mappings on the right side.
  4. Click New Static Mapping, complete the settings as follows, then click Save.
    • Destination: Interaction > Interaction: Code
    • Group: 1
    • Value: Offline Message
  5. Set value mapping for Sex field:
    1. Click Prompt Value Mappings on the right side.
    2. Click Person Sex, then click Append Values in the popup window.
    3. Input F and M, then click Append.
    4. Set the Destination Value of F and M as Female and Male respectively. Then click Save.
  6. On the Ticket Message Field Mappings page, remap the Chat Source Fields to Destinations as follows, and save your settings.
    • Remap Slate Person Reference ID to: Record > Slate ID Matching Only
    • Remap Person First Name to: Record > First Name
    • Remap Person Last Name to: Record > Last Name
    • Remap Person Birthdate to: Record > Birthdate
    • Remap Person Sex to: Record > Sex
    • Remap Person Email to: Record > Email
    • Remap Person Mobile Phone to: Record > Mobile Phone Number
    • Remap Comm100 Ticket Subject to: Interaction > Interaction: Subject
    • Remap Comm100 Ticket Content to: Interaction > Interaction: Private Comments
    • Remap Comm100 Ticket Created Time to: Interaction > Interaction: Date
    After you have saved your changes, the Ticket Message Field Mappings page shows all the remapped fields and destinations.  
    ticket message.png

Activate the Remapping for the Source Formats

After you have remapped the 4 source formats, you need to activate the remapping for the source formats. 

  1. In your Slate system, go Database > Import and Data Processing > Source Formats.
  2. In the source format list, open the Person source format, and click Edit.
  3. On the Person window, set the following parameters:
    • Remap As Of Date: Today’s date
    • Remap Active: Active
    activate.png
  4. Click Save
  5. Repeat the steps to activate the remapping for Chat, Offline Message, and Ticket Message source formats.
    After you have remapped the source formats, the sample data sent by Comm100 can be synchronized to your Slate system. Navigate to the sample person you just imported, you can see a chat, an offline message, and a ticket message in the person’s timeline.