SnapCall enables you to find any extra information concerning calls customers launch from your website directly in Zendesk tickets. To receive information like the customer's first and last name, their email address, phone number, or any other additional information, a simple code configuration has to be made. 👩💻
Here's what to do:
To receive customers' information directly in Zendesk tickets, extraContext function has to be added to your website code. Here’s a link to our documentation, explaining how to receive customer’s data in Zendesk.
An example of extraContext function, which you need to add to your website's source code.
This is how customer's data is displayed when receiving a call on Zendesk
Our latest release creates a new feature when the extraContext function is used, and new parameters are passed. The new parameters are called: `custom_fields` and `tags`, which provide an opportunity to add custom fields to store customers' data in Zendesk ticket's custom fields and use this data later. The latest release has also enabled adding new tags to the tickets to be able to filter tickets by their tags. The main goal is allowing you to use SnapCall as a tool to store extra information, not related to SnapCall in Zendesk tickets. For example, you can use a third-party application for data analytics and use SnapCall to transfer this information when an event on your website occurs.
To configure these new features, you need to use the extraContext function with the following parameters custom fields and tags.
Here's an example of an implementation of the extraContext function with custom fields and tags included. Regarding custom_fields function, `phoneNumber` is a key and `+3312345678` is a value.
The second step is creating a new custom fields on Zendesk, so once the call is launched, SnapCall app displays information set-up on the extraContext function. Keep in mind that if you want to use custom fields created from other applications you're using on Zendesk, you can skip this step.
Follow these steps to create your custom fields on Zendesk:
- Go to Admin.
- Press Ticket fields.
- Click on Add field to create a new custom field.
- Once you create a new ticket field, choose field type.
- Add details of a new custom field and click Save.
Once you have completed the steps above, customers' data you transfer using custom fields feature won't appear on the right ticket sidebar anymore.
This is where customers' data will be displayed once this feature is enabled:
The `phoneNumber` key that has been indicated in the `custom_fields` function above, can be visible in the last picture corresponds to `phoneNumber` as key and `+3312345678` as value.
Ticket tags would appear as usual:
Now you’re good to go! 🚀If you have any additional questions, make sure to let us know via email@example.com.