Learn how to integrate Zendesk with Klaviyo in order to improve your support experience for customers. This integration allows you to:
- Track and target customers based on their interactions with your support team.
- Respond to SMS messages from within Zendesk.
Tickets and SMS messages can be synced on a per-brand basis. If you have more than one brand set up under a Zendesk Enterprise account, syncing one Zendesk brand per Klaviyo account makes it easy to use your ticket data and organize your SMS conversations.
Before you beginBefore you begin
You can use the Zendesk/Klaviyo integration to sync support ticket information, or to sync both ticket and SMS message information. You cannot use the SMS functionality without syncing support ticket information.
The following applies if you want to respond to SMS messages from within Zendesk:
- You must have already set up SMS in Klaviyo.
- This functionality only works in countries where you have a toll-free number, long code, or short code.
- Branded sender IDs (also called alphanumeric sender IDs) cannot receive text messages, so you cannot use this integration for subscribers in countries where you're using a branded sender ID. Learn more about SMS sending numbers.
- When someone texts any of the following, it does not create a conversation:
- Subscribe keyword (e.g., JOIN)
- Compliance keyword (e.g., STOP or JOIN)
- Trigger keywords for automations (conversational SMS)
- Make sure that you’ve reviewed our best practices for two-way messaging (known as Klaviyo Inbox), including your auto-responder setup.
- This integration is within the 'Support' agent workspace in Zendesk. It utilizes the Ticket API to create and comment on tickets and does not need the Zendesk ‘Talk’ call center workspace to function.
Integrate Zendesk with Klaviyo
Follow the steps outlined below to integrate Zendesk with Klaviyo:
- Log in to your Klaviyo account.
- Select the Integrations tab.
- Click Add integrations, search for Zendesk, and click the card. Then, click Install.
- On the next page, enter your Zendesk URL and click Connect to Zendesk.
- Log in to Zendesk if needed.
- Review the permissions and approve them. You’ll then be brought back to Klaviyo.
- Under Tickets, choose whether you want to sync Zendesk Opened and Resolved ticket metrics from all brands, or specific brands.
- If you select Specific brands, you’ll be prompted to choose the Zendesk brand(s) you’d like from a dropdown.
- If you want to reply to inbound SMS messages via Zendesk, check the box next to Sync SMS conversations. If prompted, select the brand to create Zendesk tickets under.
- When you’re done, click Complete setup.
Test SMS sending
You can test your integration by sending an SMS to your sending number (if you are already a consented subscriber, and the SMS does not contain a keyword other than HELP or INFO). Within your Zendesk admin, check that a ticket has been created, respond to it, then see if you receive an SMS.
If the profile that sends an SMS has the same email address as the agent replying from Zendesk, the response will not be sent. During the test, make sure the agent and customer (the profile texting in) do not share the same email address.
How the Zendesk SMS integration worksHow the Zendesk SMS integration works
After the SMS integration is set up, Klaviyo automatically creates a ticket in Zendesk whenever both of the following are true:
- A consented SMS subscriber texts a phone number associated with your account.
- The text message does not contain a keyword (i.e., one of the subscribe words listed in your SMS Settings page in Klaviyo). The 2 exceptions to this are HELP and INFO, which will both create a ticket.
SMS messages from branded sender IDs (also called alphanumeric sender IDs) are not shown, because these numbers cannot receive inbound messages.
The sync functions in the following way:
- Any replies in the ticket from a Zendesk agent will send an SMS message to the customer. Responses from within Zendesk will also appear in Klaviyo.
- If the ticket’s status is Open, a new customer message will be added to the ticket as a comment. If the ticket’s status is Resolved, a new customer message will reopen the ticket and add the message as a comment. If the ticket’s status is Closed, a new customer message will create a new ticket.
- Replies from Zendesk are sent via a phone number associated with your Klaviyo account; this sending number will be the one to which the inbound message was sent.
- Responses from within Zendesk will also appear in Klaviyo, but responses sent within the Klaviyo Inbox tab will not appear in Zendesk. For this reason, we recommend that you only reply to customers from one platform. Campaign and flow SMS messages sent by Klaviyo will also sync to Zendesk.
- Messages from Zendesk count toward your SMS billing plan like any other message.
When the integration syncs
The SMS integration syncs in real time. As soon as an SMS subscriber texts you, that message will appear in Zendesk. Opened Ticket and Resolved Ticket metrics also sync in real time.
Note that there is no historic sync. SMS tickets ("conversations") won’t appear in Zendesk if a subscriber texted you before you set up this integration. However, all further messages will sync. If a subscriber texts you once before you enable the integration and once after, the message that comes in after you set up the integration will show in Zendesk.
If a customer sends an image or GIF with a text message, the image will not be displayed in Zendesk (or in Klaviyo). Similarly, you cannot send MMS messages from Zendesk.
Metrics synced between Klaviyo and ZendeskMetrics synced between Klaviyo and Zendesk
Klaviyo tracks 2 Zendesk metrics: Opened Ticket and Resolved Ticket. The metrics appear on an individual’s profile page and can be used in segments and flows. They sync in real time.
Opened TicketOpened Ticket
This event is tracked when a new ticket is opened in Zendesk, and includes the following information about the new ticket:
-
Assignee_email
Email of the support agent assigned to the ticket in Zendesk -
Assignee_name
Name of the support agent assigned to the ticket in Zendesk -
Channel
Information about the channel that the ticket came through, (e.g. email, web portal, SMS), populated when available -
Description
The body of the first message in the ticket -
Fields
Any custom fields from Zendesk -
Group_name
Group field from Zendesk -
Priority
Priority field from Zendesk -
Subject
Subject of the ticket from Zendesk -
Tags
Tags associated with the ticket in Zendesk -
Ticket_id
Ticket ID from Zendesk -
Type
Type field from Zendesk -
Via
Information about the source of the ticket, populated when available -
Zendesk_url
URL of the ticket in Zendesk -
Status
Status of the ticket in Zendesk
Resolved Ticket
This event is tracked when a ticket is marked as Closed in Zendesk. When a ticket is marked Solved in Zendesk, no event is sent to Klaviyo. Klaviyo's tracking of this event includes the following information about the resolved ticket email:
-
Assignee_email
Email of the support agent assigned to the ticket in Zendesk -
Assignee_name
Name of the support agent assigned to the ticket in Zendesk -
Channel
Information about the channel that the ticket came through, (e.g. email, web portal, SMS), populated when available -
Description
The body of the first message in the ticket -
Fields
Any custom fields from Zendesk -
Group_name
Group field from Zendesk -
Priority
Priority field from Zendesk -
Subject
Subject of the ticket from Zendesk -
Tags
Tags associated with the ticket in Zendesk -
Ticket_id
Ticket ID from Zendesk -
Type
Type field from Zendesk -
Via
Information about the source of the ticket, populated when available -
Zendesk_url
URL of the ticket in Zendesk -
Status
Status of the ticket in Zendesk
Optional: Create an automation in Zendesk to mark SMS tickets as "Closed" sooner
As stated above, a Resolved Ticket metric is sent to Klaviyo once the ticket is marked Closed in Zendesk (not when it is marked Solved). Tickets are marked as Closed in Zendesk via rules set at the account level.
If you use Zendesk with both SMS and email, you may want to mark SMS tickets as Closed sooner than email tickets, depending on your support response times and your time-to-resolution. This can be achieved via a Zendesk automation.
For example, you could create the following automation to mark SMS tickets as Closed after 24 hours:
- Log in to Zendesk and navigate to your Admin Center.
- Select Objects and rules.
- Select Business rules > Automations.
- Select Add Automation.
- Title your automation.
- Under Meet all of the following conditions, select:
- Ticket: Status / is / Solved
- Ticket: Hours since solved / is / 24
- Ticket: Tags / Contains at least one of the following / "sms"
- Under Perform these actions, select:
- Ticket: Status / Closed
- Click Create automation.
You've now created an automation to close SMS tickets after 24 hours.
Optional: Create a view in Zendesk for Klaviyo SMSOptional: Create a view in Zendesk for Klaviyo SMS
We recommend creating a view in Zendesk in order to organize your Klaviyo SMS tickets.
This view will filter on the tag ‘SMS’. Note that if you have tickets other than Klaviyo SMS with this tag, they will also be included in the view.
- From your Zendesk Admin Center, click the Workspaces dropdown.
- Select Views under Agent tools.
- Click Add view.
- Name your view, add a description, and select who has access.
- Under Tickets must meet all of these conditions to appear in the view, add:
Status > Is not > Closed - Under Tickets must meet all of these conditions to appear in the view, add:
Tags > Contains at least one of the following > SMS - Edit any formatting settings to your specifications.
- Click Save.
You’ve now created a view to organize your Klaviyo SMS tickets.
Use cases for Zendesk metricsUse cases for Zendesk metrics
Here are a few ways you might consider leveraging metrics synced from your Zendesk integration:
- Exclude users with open tickets from certain flows and campaigns, so your company doesn't risk seeming out of touch by sending promotional emails to those with pending issues.
- Proactively track customers in Klaviyo based on their interactions with your support team using your Zendesk data; for example, you can customize an abandoned cart email if you know someone didn't complete their order, but did open a support ticket.
- View trends around open and resolved tickets, including a cohort analysis, by using the detailed analytics reporting Klaviyo provides about the Zendesk metrics you've synced.
- Tweak your email strategy to reduce support tickets and increase lifetime value; with all your data in Klaviyo, you can build segments to view correlations and gain cross-metric insights.
Additional resources
Learn about Klaviyo’s billing plans
Review our guide to SMS conversations
Learn about how to set up flows to respond to subscribe keywords