There are four steps you need to perform to move data from your systems to Playvox:
Create the integration
Define the metadata for your integration
Send your data to Playvox
Add comments to the interactions data you’ve sent to Playvox
The following sections will cover each of these steps in greater detail.
Step 1: Create the Integration
The first thing you need to do is to create the integration, which is essentially a container within Playvox that will hold all of your metadata, interactions, conversations, and so on. It is used by Playvox to “tag” the information you bring in so that it can be handled and displayed appropriately in the user interfaces.
If you are logged in to Playvox, you can go to Settings > Integrations to see a full list of the integrations available for your account.
This list will include the default integrations that ship with Playvox, as well as any custom integrations you create.
Use the Create endpoint of the Custom Integrations API to create a new integration. You will need to provide the following information to the API endpoint:
A name for the integration
A brief description for the integration
Some basic settings -- at this time, Playvox asks only for a data_storage_minutes value, which is the maximum number of minutes you want Playvox to store your information (you can set at max 129600 minutes, representing 90 days of data storage)
Playvox will create your integration, and in the response indicating success, there is a field called _id. This is the unique ID for your integration.
When using the Custom Integrations API, you can identify a specific integration using its unique ID. If you aren’t sure what the ID is for a specific integration, you can get a full list of all integrations associated with your account via the API. Once you have the unique ID in hand, you can use the ID to identify integrations you want to update or delete.
Step 2: Create the Metadata
Once you have created your integration, you will need to define the metadata for your integration. The metadata helps Playvox categorize your data and understand the acceptable values for specific fields. More specifically, your metadata is used by Playvox as the set of criteria to filter and refine the interactions to audit in the user interface.
You can create individual metadata fields by providing the following information to the Add Metadata endpoint:
The following is a sample JSON object that contains the information required by Playvox when creating a new metadata property:
As an example, you can see in the screenshot below how the Quick Filter uses metadata to look for specific interactions:
Filtering based on Reply Time
Filtering based on Description (note the difference in operators available)
Reply time is an example of a metadata property, and based on the property’s type, Playvox knows what operations are allowed on the property values (e.g., datetime values can be compared).
We recommend doing a full schema of the metadata for your custom system ahead of working with the Playvox API to create your integration so that you know ahead of time the properties and the values you need to input. The following is a simple example of how you could do this:
You must create at least one datetime field (e.g., solved-date or similar). Note, however, that the following values are reserved by Playvox and cannot be used as names for the datetime value(s) you create: created_at, updated_at.
Step 3: Send Interactions Data to Playvox
Once you’ve created an integration and defined your metadata, you can send the data from your system to Playvox. When sending in your data, Playvox distinguishes between the interactions themselves and the comments on those interactions. In this step, we will focus on the former.
In the Playvox user interface, you can find your interactions listed under Quality > Interactions:
Each row represents one interaction. Notice the high-level information that is displayed for each interaction, including the date, its status (e.g., Taken). All of these pieces of information are entered into Playvox as metadata.
Step 4: Send Interactions’ Comments Data to Playvox
Once you’ve sent the interactions data to Playvox, you will need to create the conversations that occur regarding that interaction. Playvox, with the necessary information, will associate the conversation with the appropriate interaction. In the following screenshot, you can see all of the Comments associated with the highlighted interaction on the left:
In addition to sending the comments, you will provide as much information about the comment itself as you’d life. For example, our sample comments above include information about the name of the commenter, their email address, and the date/time of the comment.
To send a new comment to Playvox, you can use the Interactions Comment - Create endpoint and provide the following information:
You can use the bulk API to import interactions in batch from your systems into Playvox. This is designed for high demand operations.
The endpoint accepts an array of up to 100 interactions objects then it will
returns a job JSON object and queuest a background job to do the work. Use the load one Job API endpoint to check for the job status.
Last Edited: 17.06.20