<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Lance Conzett on Medium]]></title>
        <description><![CDATA[Stories by Lance Conzett on Medium]]></description>
        <link>https://medium.com/@lanceconzett?source=rss-d4261f0425fc------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*6JbjVPhOIiQOFO0n.jpg</url>
            <title>Stories by Lance Conzett on Medium</title>
            <link>https://medium.com/@lanceconzett?source=rss-d4261f0425fc------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 03:47:11 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@lanceconzett/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Parsing JSON in Google Sheets with Zendesk and Google Script]]></title>
            <link>https://medium.com/@lanceconzett/parsing-json-in-google-sheets-with-zendesk-and-google-script-dfd82a37edb4?source=rss-d4261f0425fc------2</link>
            <guid isPermaLink="false">https://medium.com/p/dfd82a37edb4</guid>
            <category><![CDATA[json]]></category>
            <category><![CDATA[zendesk]]></category>
            <category><![CDATA[google-apps-script]]></category>
            <category><![CDATA[customer-experience]]></category>
            <dc:creator><![CDATA[Lance Conzett]]></dc:creator>
            <pubDate>Wed, 05 Feb 2020 21:12:11 GMT</pubDate>
            <atom:updated>2020-02-10T17:20:38.822Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*frUYc8q85xa5j4QbRGg0wQ.png" /></figure><p>About a year ago, I wrote <a href="https://medium.com/@lanceconzett/create-a-user-dashboard-with-google-sheets-and-zendesk-f3391253e979">a guide on how I was leveraging the Zendesk API alongside Google Sheets to build a user dashboard,</a> with the goal of getting my arms around a significant amount of data to make informed decisions on managing our licenses.</p><p>For the most part, using ImportJSON works well—it’s a low effort way of pulling data from any API’s GET endpoint and storing that data in a sheet for further parsing and filtering. But, there was a flaw: Zendesk’s API calls are paginated and limited to 100 results per page. That meant that we needed to add a new ImportJSON() formula every 100 rows to get all of our data.</p><p>As I noted at the end of that guide, there was a solution:</p><blockquote>The best way to get around the pagination issue would be to actually write a script that requests information from the Zendesk API and returns that data in one long JSON string, that ImportJSON would then read.</blockquote><p>This follow-up guide goes the extra step—not to feed a big JSON file into ImportJSON, but to write a script that does everything, including pagination. And, as an added bonus, is easier on your API rate limit.</p><h3>What You Need</h3><p>Just like the last guide, there are a few pre-requisites before you dive into Google Script Editor:</p><ol><li>You need an API key, <a href="https://support.zendesk.com/hc/en-us/articles/226022787-Generating-a-new-API-token-">so create one and save it somewhere secure</a>. If you created one already from following the last guide, feel free to just use that one.</li><li>You will eventually need to <a href="https://developers.google.com/apps-script/guides/services/authorization">authorize access between your script and your Google sheet</a>.</li><li>It helps to have a separate code editor, just for clarity. I like <a href="https://www.sublimetext.com/">Sublime Text</a>, but <a href="https://www.barebones.com/products/bbedit/">BBEdit</a> is a good macOS freeware option. Just avoid anything like Word, which likes to pepper your word processing with fun, programming unfriendly special characters.</li></ol><p>Also, just like the last guide, this is geared towards Zendesk users. But, as long as your help center has an API with which you can GET request a list of agents, you can still build something similar to this guide.</p><h3>Authentication</h3><p>Before you can do anything, you need to authenticate your requests with your username and the API key noted above:</p><pre>// Prepare authentication to Zendesk<br>var apiUsername = &#39;YOURUSERNAME&#39;;<br>var apiKey = &#39;YOURAPIKEY&#39;;<br>var encodedAuth = Utilities.base64Encode(apiUsername + &quot;/token:&quot; + apiKey)<br>var zdAPI = &#39;https://YOURZDSUBDOMAIN.zendesk.com/api/v2&#39;;<br>var zdAuth = {&#39;Authorization&#39;: &#39;Basic &#39; + encodedAuth};</pre><p>Four of these five lines create variables that are used through out the code: your username and API key, the base64 encoded version of that (using <a href="https://developer.zendesk.com/rest_api/docs/support/introduction#security-and-authentication">Zendesk’s authentication guidelines</a>), and the final header that will get inserted into your API call.</p><p>The last line, what we’re calling zdAPI, is the base of your API endpoint, the part of the URL that won’t change.</p><h3>Headers</h3><p>Now that your authentication is set, you’ll now need to create a variable to hold the headers that your API request requires. That includes authentication (handily captured in the zdAuth variable above), and a content type.</p><pre>// Set headers<br>var zdOptions = <br> {<br> &#39;headers&#39;: zdAuth,<br> &#39;contentType&#39;: &#39;application/json&#39;<br> };</pre><h3>Initial Pagination</h3><p>Zendesk’s API does a super helpful thing at the end of every API call: it either tells you the next page to run or it returns null to indicate that there are no additional pages:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/619/1*p70hJXdh9SCXzxXq9KF41g.png" /><figcaption>Note the keys “next_page” and “previous_page” at the bottom of this call.</figcaption></figure><p>Google Scripts is essentially an offshoot of JavaScript, which means that we can take advantage of this next_page behavior to use in a do while loop. Before we get there, though, let’s set one more global variable to represent our pages:</p><pre>// Initial pagination<br>var zdPage = 1;</pre><p>We’ll use that variable in a second.</p><h3>The Loop</h3><p>Now for the fun part! We’ve got most of the building blocks in place, now we just need to write the function that contains the loop that I mentioned in the last section.</p><p>First, define the function and create an array that will contain your user information:</p><pre>function getZDUsers() {<br>   var users = Array();</pre><p>Now, within that function, start writing your loop. As noted before, we’re opting for a do while loop, since we know exactly when the pagination ends: when next_page reports null.</p><p>Start your loop by defining a few more variables. In this, url uses the previously defined zdAPI and zdPage variables along with the specific endpoint that you’re pulling data from. In this case, we’re using users.json, with a couple of extra role filters to only pull agents and admins.</p><pre>// Loop through API pagination<br>   do {<br>      var url = zdAPI + &quot;/users.json?role[]=admin&amp;role[]=agent&amp;page=&quot; + zdPage;<br>      var response = UrlFetchApp.fetch(url, zdOptions);<br>      var result = JSON.parse(response.getContentText());<br>      Logger.log(result.user)</pre><p>From there, we’re defining the API response using GAS’s URLFetchApp.fetch command (which requests data from the URL we just defined, along with the headers from Step 2).</p><p>Then, we’re parsing that response using JSON.parse, feeding the response into that command and defining it as result. Finally, it all gets logged. Still with me?</p><p>Now, we’re going to do two major actions. First, we’re going to increase the page by one. We already defined zdPage as equaling 1 earlier on, so we can use zdPage++; to increase that number by one.</p><pre>// Increase page by one<br>      zdPage++;</pre><p>The second action we’re taking is, for each item under the users object in our API call, to grab the specific keys and values that we want to collect into the array that we defined earlier:</p><pre>// For each user, we take the ID, name, email, creation date, login date, and suspension status<br>      result.users.forEach(function(user) {<br>         var id = (user.hasOwnProperty(&quot;id&quot;)) ? user.id : &quot;unknown&quot;;<br>         var name = (user.hasOwnProperty(&quot;name&quot;)) ? user.name : &quot;unknown&quot;;<br>         var email = (user.hasOwnProperty(&quot;email&quot;)) ? user.email : &quot;unknown&quot;;<br>         var createdAt = (user.hasOwnProperty(&quot;created_at&quot;)) ? user.created_at : &quot;unknown&quot;;<br>         var lastLoginAt = (user.hasOwnProperty(&quot;last_login_at&quot;)) ? user.last_login_at : &quot;unknown&quot;;<br>         var suspended = (user.hasOwnProperty(&quot;suspended&quot;)) ? user.suspended : &quot;unknown&quot;;<br>         var role = (user.hasOwnProperty(&quot;role&quot;)) ? user.role : &quot;unknown&quot;;<br>         var customRoleId = (user.hasOwnProperty(&quot;custom_role_id&quot;)) ? user.custom_role_id : &quot;unknown&quot;;</pre><p>In our case, we’re interested in eight different keys: ID, Name, Email Address, Creation Date, Last Login Date, Suspension Status, Role, and Custom Role ID. These directly correspond to the keys shown in the JSON response.</p><p>Finally, we’re pushing that information into the array that we defined at the top of the function.</p><pre>users.push([id,name,email,createdAt,lastLoginAt,suspended,role,customRoleId]);<br>      });</pre><p>And then we’ll keep running those two actions until next_page comes up as null:</p><pre>} while (result.next_page !== null)</pre><h3>Return Data</h3><p>The last step here is to return that array once the do while loop has completed:</p><pre>// Return all items added into array.<br>   return users;<br>}</pre><p>Jump back into your Google Sheet and add your function—=getZDUsers()—to a cell. You should see your user data flood into the sheet. Neat! If you see “Unknown” for all of your cells, double-check your code and make sure everything matches the object and keys that you would otherwise get from your JSON response.</p><h3>Pulling It All Together</h3><p>Here’s what your script should look like, top to bottom:</p><pre>// Prepare authentication to Zendesk<br>var apiUsername = &#39;YOURUSERNAME&#39;;<br>var apiKey = &#39;YOURAPIKEY&#39;;<br>var encodedAuth = Utilities.base64Encode(apiUsername + &quot;/token:&quot; + apiKey)<br>var zdAPI = &#39;<a href="https://postmates.zendesk.com/api/v2&#39;">https://YOURZDSUBDOMAIN.zendesk.com/api/v2&#39;</a>;<br>var zdAuth = {&#39;Authorization&#39;: &#39;Basic &#39; + encodedAuth};</pre><pre>// Set headers<br>var zdOptions = <br>   {<br>      &#39;headers&#39;: zdAuth,<br>      &#39;contentType&#39;: &#39;application/json&#39;<br>   };</pre><pre>// Initial pagination<br>var zdPage = 1;</pre><pre>function getZDUsers() {<br>   var users = Array();</pre><pre>// Loop through API pagination<br>   do {<br>      var url = zdAPI + &quot;/users.json?role[]=admin&amp;role[]=agent&amp;page=&quot; + zdPage;<br>      var response = UrlFetchApp.fetch(url, zdOptions);<br>      var result = JSON.parse(response.getContentText());<br>      Logger.log(result.user)<br>      // Increase page by one<br>      zdPage++;<br>      // For each user, we take the ID, name, email, creation date, login date, and suspension status<br>      result.users.forEach(function(user) {<br>         var id = (user.hasOwnProperty(&quot;id&quot;)) ? user.id : &quot;unknown&quot;;<br>         var name = (user.hasOwnProperty(&quot;name&quot;)) ? user.name : &quot;unknown&quot;;<br>         var email = (user.hasOwnProperty(&quot;email&quot;)) ? user.email : &quot;unknown&quot;;<br>         var createdAt = (user.hasOwnProperty(&quot;created_at&quot;)) ? user.created_at : &quot;unknown&quot;;<br>         var lastLoginAt = (user.hasOwnProperty(&quot;last_login_at&quot;)) ? user.last_login_at : &quot;unknown&quot;;<br>         var suspended = (user.hasOwnProperty(&quot;suspended&quot;)) ? user.suspended : &quot;unknown&quot;;<br>         var role = (user.hasOwnProperty(&quot;role&quot;)) ? user.role : &quot;unknown&quot;;<br>         var customRoleId = (user.hasOwnProperty(&quot;custom_role_id&quot;)) ? user.custom_role_id : &quot;unknown&quot;;<br>         users.push([id,name,email,createdAt,lastLoginAt,suspended,role,customRoleId]);<br>      });<br>   } while (result.next_page !== null)<br>   <br>   // Return all items added into array.<br>   return users;<br>}</pre><h3>Routinize With Triggers</h3><p>You can let that function run every time that you open your sheet where the function is being called, but that might unnecessarily eat up your API rate limit. You can use triggers to protect your rate limit and automate your data pulls.</p><ol><li>Save your project in Google Apps Script, if you haven’t already, and give it a name.</li><li>Go back to the GAS home page and find your newly created script.</li><li>Click the three dots next to that script’s name and choose Triggers.</li><li>Click the + Add Trigger button, choose your function name, and walk through the settings to set the frequency of how often you want this function to run.</li></ol><p>We update this data daily, so that we’re not overwhelming the system with too many calls for data that doesn’t change all that often.</p><h3>Extending This Work</h3><p>The nice thing about writing your own script is that you can take the same concepts and extend it to other endpoints and other tools. In total, we’re using this method to pull data from five different sources, including multiple Zendesk endpoints.</p><p>For example, we wanted to grab the custom role information so that we don’t have to memorize what ID numbers go with which roles. That function looks like this:</p><pre>function getZDRoles() {<br>   var roles = Array();</pre><pre>do {<br>      var url = zdAPI + &quot;/custom_roles.json&quot; + zdPage;<br>      var response = UrlFetchApp.fetch(url, zdOptions);<br>      var result = JSON.parse(response.getContentText());<br>      Logger.log(result.role)<br>      zdPage++;<br>      result.custom_roles.forEach(function(role) {<br>         var roleID = (role.hasOwnProperty(&quot;id&quot;)) ? role.id : &quot;unknown&quot;;<br>         var roleName = (role.hasOwnProperty(&quot;name&quot;)) ? role.name : &quot;unknown&quot;;<br>         roles.push([roleID,roleName]);<br>      });<br>   } while (result.next_page !== null)<br>   <br>   return roles;<br>}</pre><p>There are a few things to notice:</p><ul><li>We don’t need to re-define the global variables like Auth and zdPage.</li><li>We’re creating a new function in the same script beneath those global variables.</li><li>The array name is different, as is the url, the object, and the forEach function.</li></ul><p>So far, this has worked really well for us. But, with that said, <strong>this code will change based on the JSON response that you’re parsing!</strong> Every JSON response is different, so your script will need to change to suit.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dfd82a37edb4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Add A/B Testing to Your Zendesk]]></title>
            <link>https://medium.com/@lanceconzett/add-a-b-testing-to-your-zendesk-b66af4e47726?source=rss-d4261f0425fc------2</link>
            <guid isPermaLink="false">https://medium.com/p/b66af4e47726</guid>
            <category><![CDATA[customer-service]]></category>
            <category><![CDATA[json]]></category>
            <category><![CDATA[zendesk]]></category>
            <category><![CDATA[a-b-testing]]></category>
            <dc:creator><![CDATA[Lance Conzett]]></dc:creator>
            <pubDate>Fri, 29 Mar 2019 23:08:35 GMT</pubDate>
            <atom:updated>2019-04-01T21:49:09.827Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/638/1*EhSOPHhx1o6D01wkUloT6A.png" /><figcaption>A little bit of JSON and Liquid turns your Zendesk into a powerful testing tool.</figcaption></figure><p>Here’s the scenario: You want to make a change to how one of your workflows operates. Maybe you want to try out some new messaging for when a customer writes in about a particular issue. Or maybe you want to try routing tickets to a different group of associates. The easy part is doing it, but how do you validate whether or not the test was successful?</p><p>Normally, you would need to run one option for a few weeks or months, then run the other for the same amount of time. Not only is that an awful long time to spend on a single test, it doesn’t isolate the variable, leaving you with poor data to draw conclusions from. Instead of running consecutive tests, you can use a little bit of Liquid Markup and JSON to do an actual, concurrent A/B test in Zendesk.</p><h3>Step 1: Create an HTML Target</h3><p>Before you start building anything, you need to <a href="https://support.zendesk.com/hc/en-us/articles/203662136-Notifying-external-targets">create an HTML Target</a> that points back to your own Zendesk account.</p><ol><li>Navigate to Admin &gt; Extensions.</li><li>Create a new HTML Target extension.</li><li>Enter https://<strong>subdomain</strong>.zendesk.com/api/v2/tickets/update_many.json?ids={{ticket.id}} as your URL</li><li>Select PUT as the target method.</li><li>Select JSON as the content type.</li><li>Add your username and password to the Basic Authentication section, then click Save.</li></ol><p>Note that we’re using the “<strong>tickets/update_many</strong>” endpoint here, rather than the regular tickets endpoint. We’ll get into that with the next step.</p><h3>Step 2: Create or A/B Test trigger</h3><p>Now that you have a JSON notifier in place, we need to build a trigger that places tickets into your A/B test.</p><ol><li>Create a new trigger and add “Ticket &gt; Is &gt; Created” as a condition to the ALL section.</li><li>Optionally, if you don’t want all of your tickets to get tossed into the A/B test, add any other extra criteria. In our case, we’re only A/B testing on tickets submitted with a particular tag, so we added a tag condition.</li><li>Set your action to Notify Target and choose the HTML Target you just set up.</li><li>Add this JSON response:</li></ol><pre>{% assign randomizer = ticket.id | modulo:2 %}</pre><pre>{% case randomizer %}</pre><pre>{% when 0 %}</pre><pre>{“ticket”: {“additional_tags”:[“control”]}}</pre><pre>{% when 1 %}</pre><pre>{“ticket”: {“additional_tags”:[“experiment”]}}</pre><pre>{% endcase %}</pre><h4>Wait, What?</h4><p>Let’s break down what that JSON payload actually does. <a href="https://support.zendesk.com/hc/en-us/articles/203662146-Understanding-Liquid-markup-and-Zendesk-Support">Liquid is a markup language</a> built by Shopify and written in Ruby that allows you to incorporate a handful of logical expressions into your Zendesk triggers. In this case, we’re using Liquid to accomplish a few things:</p><p>First, we’re using Randomizer to assign a random number value to the newly created ticket. We’ve specified modulo:2 to tell Randomizer that there are two possible values for it to create.</p><p>When Randomizer settles on 0, we’re calling that ticket the Control and adding a control tag to the tag list using the additional_tags endpoint. The Control is the current behavior that you’re testing against. This should act as normal, working through your existing workflow or process.</p><p>When Randomizer settles on 1, we’re calling that ticket the Experiment and adding an experiment tag to the tag list using the additional_tags endpoint. The Experiment will be using your new behavior.</p><p>This effectively splits your ticket volume, 50/50, into two buckets that can be routed in two different ways. Want to weight the test more? Increase the modulo number and add more when statements. They don’t need to be different — you could add modulo:4 and have three different “when” statements that give you the control and only one that gives you the experiment (splitting your volume 75/25), like this:</p><pre>{% assign randomizer = ticket.id | modulo:4 %}</pre><pre>{% case randomizer %}</pre><pre>{% when 0 %}</pre><pre>{“ticket”: {“additional_tags”:[“control”]}}</pre><pre>{% when 1 %}</pre><pre>{“ticket”: {“additional_tags”:[“control”]}}</pre><pre>{% when 2 %}</pre><pre>{“ticket”: {“additional_tags”:[“control”]}}</pre><pre>{% when 3 %}</pre><pre>{“ticket”: {“additional_tags”:[“experiment”]}}</pre><pre>{% endcase %}</pre><h3>Step 3: Add Your New Behavior</h3><p>Now that you’ve split your volume, you can create a trigger that only acts on that experiment tag. You may want to update any existing triggers that would otherwise act on these tickets to not fire on the experiment tag, just to be safe.</p><p>In our case, we wanted to test a different auto-response message for tickets coming in with a particular tag (as set on our ticket form), so we cloned the existing trigger that we’re attempting to improve, added our new copy, and added the experiment tag as a required condition.</p><h3>Step 4: Build Some Reports</h3><p>The beauty of this solution is that you can easily report on the control and experiment for as long as the test is running. In Insights or Explore, whatever you happen to be using, build a report based on your success metrics. Is it reopens? Average handle time? Decide on your KPI and build a report that shows data for both the control and experiment.</p><p>For our test, we wanted to track total tickets received and total reopens for both our control and our experiment. From that, we can derive the percentage reopened. If the experiment’s reopen percentage is less than the control’s reopen percentage, we’ve got ourselves a winner. Otherwise, we go back to the drawing board.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b66af4e47726" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Create a User Dashboard with Google Sheets and Zendesk]]></title>
            <link>https://medium.com/@lanceconzett/create-a-user-dashboard-with-google-sheets-and-zendesk-f3391253e979?source=rss-d4261f0425fc------2</link>
            <guid isPermaLink="false">https://medium.com/p/f3391253e979</guid>
            <category><![CDATA[api]]></category>
            <category><![CDATA[zendesk]]></category>
            <category><![CDATA[support-ops]]></category>
            <category><![CDATA[google-sheets]]></category>
            <dc:creator><![CDATA[Lance Conzett]]></dc:creator>
            <pubDate>Wed, 30 Jan 2019 15:01:00 GMT</pubDate>
            <atom:updated>2019-11-05T16:58:48.610Z</atom:updated>
            <content:encoded><![CDATA[<p>If you’re managing more than a couple of users, keeping tabs on your agent list can be something of a hassle. As your agents move in and out of roles, change departments, or otherwise stop using Zendesk, it’s on your administrators to ensure that you’re making efficient use of your seats.</p><p>We have more than 800 users in our Zendesk account, which is an awful lot to sift through, ten at a time in the People tab. Rather than flipping through these pages and manually reviewing each individual user, we opted for an external solution: I built a dashboard using Google Sheets and Zendesk’s API.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CGbQEjrHSKpzXvNE55xvBg.png" /></figure><p>In this guide, I’ll offer a step-by-step process for building a dashboard of your own, allowing you to keep better tabs on your agents. This presumes that you already either:</p><ol><li>Have an API key, <a href="https://support.zendesk.com/hc/en-us/articles/226022787-Generating-a-new-API-token-">so be sure to create one and save it somewhere secure</a>. You’ll also need to <a href="https://www.base64encode.org/">encode your username and API key in Base64</a>, input [YOUR USERNAME]/token:[YOUR API KEY] to get that string.</li><li>Have a <a href="https://www.base64encode.org/">Base64 encode</a> of your username and password, formatted as username:password.</li></ol><p>Oh, and by the way, this is geared towards Zendesk users, but as long as your help center has an API with which you can retrieve a list of agents, you can still build something similar to what I’ve gone through in this guide.</p><h3>Install ImportJSON in Google Script Center</h3><p>Before we do anything, we need a way for Google Sheets to talk to the Zendesk API. If you’re a whiz at writing scripts that call data from APIs in JavaScript or Python, you probably don’t need this guide. For the rest of us, the ImportJSON script will let you parse JSON responses right into Google Sheets. It’s a great place to start, but needs a few modifications.</p><p>Here’s what you need to do (with many thanks to <a href="https://medium.com/u/3d7398fe1ed7">Paul Gambill</a> for <a href="https://medium.com/@paulgambill/how-to-import-json-data-into-google-spreadsheets-in-less-than-5-minutes-a3fede1a014a">his original guide</a>):</p><ol><li>Create a new Google Spreadsheet</li><li>Click on Tools -&gt; Script Editor</li><li>Click Create Script for Spreadsheet</li><li>Delete the placeholder content and paste in the code for this script: <a href="https://gist.github.com/paulgambill/cacd19da95a1421d3164">https://gist.github.com/paulgambill/cacd19da95a1421d3164</a></li><li>Find var jsondata = UrlFetchApp.fetch(url); in the code, it’ll be around line 127.</li><li>Change var jsondata = UrlFetchApp.fetch(url); to the following</li></ol><pre>var jsondata = UrlFetchApp.fetch(url, {<br>headers: {<br>‘Authorization’: ‘Basic <a href="https://support.zendesk.com/hc/en-us/articles/115000510267-Authentication-for-API-requests"><strong>BASE64-ENCODED USERNAME/TOKEN:APIKEY</strong></a><strong> <em>or</em> BASE64-ENCODED USERNAME:PASSWORD</strong>’<br>},<br>//muteHTTPExceptions:true<br>});</pre><p>7. Rename the script to ImportJSON.gs and click the save button.</p><p>This sets up the function in Google Sheets so that you can parse API calls into individual columns and rows. The headers that we added in Step 6 authenticates your Zendesk access, so that Sheets can talk to your Zendesk account.</p><p><em>If you’re having trouble with this step, be sure that you’ve authorized the script to have access to your Google account. This script uses the UrlFetchApp class, which mandates specific scopes.</em></p><h3>Import Your Data</h3><p>With the ImportJSON function, you’re now able to bring data into your Google Sheet from Zendesk. In this case, we’re bringing in admin and agent data from their Users method, which looks something like this:</p><pre><a href="https://postmates.zendesk.com/api/v2/users.json?role[]=agent&amp;role[]=admin">https://<strong>subdomain</strong>.zendesk.com/api/v2/users.json?role[]=agent&amp;role[]=admin</a></pre><p>Pasting that into your browser window will spit out a nigh-unreadable JSON text wall. In Google Sheets, you can parse that data with your new function. Enter the following into the first column of your sheet:</p><pre>=ImportJSON(“https://<strong>subdomain</strong>.zendesk.com/api/v2/users.json?role[]=agent&amp;role[]=admin&quot;,,&quot;noInherit,noTruncate&quot;)</pre><p>After a little processing, you’ll see a list of all of your agents and admins, along with all of their associated meta fields. To make this a little more useful, you can limit the fields that you’re pulling into your sheet with a slight modification. Try something like this:</p><pre>=ImportJSON(“https://<strong>subdomain</strong>.zendesk.com/api/v2/users.json?role[]=agent&amp;role[]=admin&quot;,&quot;/users/id,/users/name,/users/email,/users/role,/users/created_at,/users/last_login,/users/suspended,/users/role_type&quot;,&quot;noInherit,noTruncate&quot;)</pre><p>These are the fields we used for the main user listing in our dashboard, minus a couple of custom fields that I’m omitting here. Keep in mind though: if you have custom fields, they can be brought in as well.</p><p>The last part of this equation are the optional parameters at the end of the formula. There are five in total:</p><ul><li><strong>noInherit</strong>: This will prevent rows from inheriting their parent values. You probably won’t be using this at all, but it won’t hurt to keep in your formula.</li><li><strong>noTruncate</strong>: This will prevent truncated responses — responses that cut off for being too long.</li><li><strong>rawHeaders</strong>: By default, the script will attempt to prettify your column headers by removing common prefixes and putting everything in Title Case. Use rawHeaders to prevent that if they come out looking wrong.</li><li><strong>noHeaders</strong>: Or, if you don’t want headers at all, use the noHeaders option. This comes in handy if you need paginate your requests (we’ll talk about that in a minute).</li><li><strong>debugLocation</strong>: You’ll only use this if you want to see which rows and columns the script is sorting your values into.</li></ul><h3>Define Your Requirements</h3><p>Now that you have a single list containing all of your agents and admins, you’ll need to develop a set of guidelines for what’s most important to surface. For us, we wanted to know a couple of things right off the bat:</p><ul><li>Who is suspended but hasn’t been downgraded to end-user?</li><li>Who hasn’t logged into their account in two months or longer?</li><li>Who hasn’t logged in since their account was created?</li><li>Who hasn’t logged in at all?</li></ul><p>After developing these four buckets, we were able to find 40 users whose access we could review and eventually revoke — either by removing their accounts entirely or by downgrading them to Light Agents.</p><h3>Filter Your Data</h3><p>To build those buckets, we created new sub-sheets to slice your first single source of truth into groups using the FILTER function. Here’s a couple of our formulas:</p><ul><li>FILTER(Agents!A:I,Agents!H:H = TRUE)</li></ul><p>Displays anything from the Agents sheet, where the “suspended” column (H) is TRUE, indicating a suspended light agent, agent, or admin.</p><ul><li>FILTER(Agents!A:I,DATEVALUE(MID(Agents!F:F,1,10))&lt;DATEVALUE(TODAY()-60),Agents!G:G=””)</li></ul><p>Displays anything where the Last Login At date (F) has exceeded 60 days, excluding any Light Agents (G). We have to be a little tricky and use the MID function to discard the timezone and time information, so that we can convert the date into a value.</p><ul><li>FILTER(Agents!A:I,MID(Agents!F:F,1,10)=MID(Agents!D:D,1,10),Agents!G:G=””)</li></ul><p>Displays anything where the Last Login At date (F) equals the Created At date (D), excluding any Light Agents (G).</p><ul><li>FILTER(Agents!A:I,Agents!F:F=&quot;&quot;,Agents!G:G=&quot;&quot;)</li></ul><p>Displays anything where the Last Login At date (F) is blank, excluding any Light Agents (G).</p><p>Your sheet name and columns will depend upon your set-up, so be sure to customize those formulas to your own specifications. (And come up with your own!)</p><h3>Extending This Work</h3><p>After getting all of the data in place, we added some extra bells and whistles to make this data stand out more:</p><ul><li>Consider using Conditional Formatting to identify vendors and internal users that might never log in. We color those green to indicate good accounts that are serving their purpose (even if they aren’t logging in).</li><li>A column showing Days Since Last Login can help identify your aging accounts. We use something like this: DATEVALUE(TODAY())-DATEVALUE(MID(F2,1,10)).</li><li>A good measure of whether or not your agents are active is to pull a list of users and the number of tickets they’ve solved over a given period of months. The trouble is, GoodData will show you all of your agents, past and present. With your new Dashboard, pull that list from GoodData into a new sheet and use the VLOOKUP function to match against your API-generated list of agents.</li></ul><h3>Known Issues</h3><p>If you’re managing a lot of users, there are a few quirks that you should be aware about.</p><h4>Paginating API Calls</h4><p>Zendesk’s Users API is limited to 100 responses per call. That means that if you have 101 users, you’ll need two API calls to return all of your users. Our rudimentary solution was to simply add more ImportJSON functions at the end of each list, specifying a new page each time, like this:</p><pre>ImportJSON(“https://subdomain.zendesk.com/api/v2/users.json?role[]=agent&amp;role[]=admin&amp;page=2&quot;,,&quot;noInherit,noTruncate,noHeaders&quot;)</pre><p>Notice that we add the noHeaders parameter to make this into a streamlined list.</p><h4>Unstructured JSON</h4><p>This solution creates another issue: Zendesk may return user fields out of order if the first user in an API call doesn’t have a value for a particular field. For example, if the first person in your API call has never logged in, their Last Login At field will be blank and Zendesk will return your columns in a different order from the previous call.</p><p>For that reason, be sure to only use the fields that you absolutely need for your dashboard.</p><h3>Future Work</h3><p>The best way to get around the pagination issue would be to actually write a script that requests information from the Zendesk API and returns that data in one long JSON string, that ImportJSON would then read. Expect another post in the future once I’ve cracked that case.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f3391253e979" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[5 tips for overhauling your help documentation]]></title>
            <link>https://medium.com/@lanceconzett/5-tips-for-overhauling-your-help-documentation-16da38af3442?source=rss-d4261f0425fc------2</link>
            <guid isPermaLink="false">https://medium.com/p/16da38af3442</guid>
            <category><![CDATA[customer-service]]></category>
            <category><![CDATA[technical-writing]]></category>
            <category><![CDATA[analytics]]></category>
            <category><![CDATA[marketing]]></category>
            <dc:creator><![CDATA[Lance Conzett]]></dc:creator>
            <pubDate>Mon, 27 Aug 2018 19:17:58 GMT</pubDate>
            <atom:updated>2018-08-27T19:17:58.827Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/998/1*KxGyc_0LaXUYAeaLDMFQ2A.png" /></figure><p>When I started at <a href="https://raventools.com/">Raven Tools</a> in 2011, our help documentation was in rough shape. Each article amounted to thousands of words, amounting to internet marketing novellas. Each article was tough to update, hard to search, and, worst of all, often completely overlooked by our customers.</p><p>Customer Support was spending hours of time answering questions we had already answered in our documentation. Fortunately, our team of four was totally capable of that volume—but for how long? After a couple of years, we embarked on scaling our help desk for a growing user base and increasing ticket volume.</p><p>Over the course of about eight weeks, we used a handful of common sense ideas to overhaul our help desk. The result? <strong>An overall reduction of new tickets by more than 60% and a help desk designed for continuous improvement. </strong>If you’re looking to update your help, this process may give you the foundation to start on.</p><h3>1. Understand Your Audience</h3><p>Before you take a sledgehammer to your help documentation, pause for a moment and answer this question: “How are our customers finding and engaging with our help?”</p><blockquote><strong>As much as we might like for our customers to engage with our systems in the exact way we designed them, that’s almost never going to happen.</strong></blockquote><p>This is going to be different for everyone, depending on your industry, your product, and your customers’ expectations. What makes sense to you, a person who might not be a customer of the product your support, might not make sense to your actual customers. <strong>As much as we might like for our customers to engage with our systems in the exact way we designed them, that’s almost never going to happen.</strong> Instead, your goal is to anticipate the sneaky avenues that your customers will take to seek help.</p><p>In our case, we provide a software-as-a-service product in a B2B context. Our customers are internet marketers and SEOs, which means that they’re <em>very good at Googling</em>. Additionally, based on usage data, we know that their sessions in our platform are lengthy. That tells us two things:</p><ol><li>Our customers don’t just like to search, they’re experts at searching.</li><li>When our customers need help, they want that help immediately, without needing to dig for answers.</li></ol><p>It became clear to us that we had made a critical mistake: our documents weren’t written for our customers, they were written for us.</p><h3>2. Write With Purpose</h3><p>Colin Flanigan at Pingboard gave an excellent talk about writing better content called “Translation for Support Pros” at <a href="https://www.supportdriven.com/expo/">Support Driven Expo</a> earlier this year. <strong>At the heart of that presentation was the basic tenet of every class I took in journalism school: the 5 Ws of Who, What, When, Where, and Why.</strong></p><p>In this case, we can apply those questions to our help documents. Who are our customers? What are their jobs? When are they accessing that information? Where are they, not geographically but digitally? Why are they seeking that information?</p><p>We have a lot of different customers, with different levels of expertise. So, we wrote the articles that connected them all first: quick answers, how-to guides, FAQs. Most importantly, we broke our handful of technical documentation tomes into bite-sized articles. We knew our customers wanted to search, so let’s let them search. <a href="https://web.archive.org/web/20130601144708/https://raven.zendesk.com/entries/301224">Instead of “Google Analytics Overview,”</a> we wrote articles with titles like “<a href="https://raven.zendesk.com/hc/en-us/articles/202107654-How-do-I-connect-my-Google-Analytics-account-">How to connect your Google Analytics account</a>” and “<a href="https://raven.zendesk.com/hc/en-us/articles/214201887-Creating-customizable-charts-graphs-and-KPIs-in-Google-Analytics-reports">Create customizable charts and graphs in Google Analytics reports</a>.”</p><p>Specific ideas, written for folks who like to search for their answers.</p><h3>3. Measure Your Data</h3><p>We probably would have figured all of this out a lot sooner had we established a good measurement system for our help documentation. Whether you’re using help desk software like Zendesk or self-hosting your documentation, you have options for measuring the traffic driven to your help.</p><blockquote><strong>There is no silver bullet measurement solution, instead, you’ll want to consider each of those channels to ensure that you’re getting a full picture of how your documents are performing.</strong></blockquote><p>Remember when you thought about how your users are accessing your help documentation way back in Tip #1? Keep that in mind with your measurement system. <strong>There is no silver bullet measurement solution, instead, you’ll want to consider each of those channels to ensure that you’re getting a full picture of how your documents are performing.</strong></p><p>We used a couple of tools:</p><p>Out of the box, <a href="https://analytics.google.com/analytics/web/"><strong>Google Analytics</strong></a> will at least tell you what pages are driving traffic. But, with some extra work, GA can provide some incredible insights about your content. Zendesk has <a href="https://support.zendesk.com/hc/en-us/articles/203664136-Google-Analytics-and-Help-Center-Part-1-Asking-the-right-questions">a thorough guide on implementing GA</a>, including some smart ideas like using event tracking to see which articles are most effectively deflecting tickets. Even if you don’t use Zendesk, it’s a good place to start from when thinking about how to establish your GA tracking. At the very least, I would recommend <a href="https://support.google.com/analytics/answer/1012264?hl=en">enabling Site Search</a> to capture what people are searching on your help desk.</p><p>GA measures activity on-site, but what about off-site? No matter how easy we make it to find help within our platform or on our help desk site, our customers would almost always default to Googling their question first. To cover that angle, <a href="https://www.google.com/webmasters/tools/home?hl=en">we enabled <strong>Google Search Console</strong></a> to see what folks were searching. You might want to add Bing Webmaster Tools to the equation too, if you want some extra organic data.</p><p>Finally, <strong>don’t sleep on the built-in metrics that your help desk software is providing</strong>, if you’re using something like Zendesk or Help Scout. They’re not perfect, but they’re still valuable.</p><h3>4. Analyze Your Data</h3><p>Once we set up a measurement system, we learned some surprising things. Like, for example, that our most popular article by far was an explainer on how to delete Campaigns. Our immediate reaction was that something was wrong with the Campaign deletion flow in our application… until we looked at the whole picture.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*H8Lcju0eO4gI2Y7S5TdnqQ.png" /><figcaption>Our Google Search Console queries data for the “How to delete Campaigns” article.</figcaption></figure><p>Nobody cared about how to delete a Campaign in Raven—they just didn’t know how to do it in LinkedIn Ads! This had nothing to do with Raven at all, we just do a better job of explaining ourselves than LinkedIn does. Instead of setting our development team off to solve a problem that didn’t exist, we updated our documents to remove unnecessary references to LinkedIn.</p><p>There’s a lesson in there: beware the twin data analysis terrors of vanity metrics and confirmation bias.</p><p>Vanity metrics, <a href="https://tim.blog/2009/05/19/vanity-metrics-vs-actionable-metrics/">to quote <em>The Lean Startup </em>author Eric Ries</a>, “might make you feel good, but they don’t offer clear guidance for what to do.” Ries continues:</p><blockquote>When you hear companies doing PR about the billions of messages sent using their product, or the total GDP of their economy, think vanity metrics. But there are examples closer to home. Consider the most basic of all reports: the total number of “hits” to your website. Let’s say you have 10,000. Now what? Do you really know what actions you took in the past that drove those visitors to you, and do you really know which actions to take next?</blockquote><p>Confirmation bias comes in when you make an assumption about what actions to take based on preconceived notions. We have an answer that we want, so we’re bending logic to make that answer true.</p><p>We knew that the Delete Campaigns article was getting a lot of traffic. Because we dove into the data looking for problems to solve, we interpreted that high click-rate as a UX issue. Had we only been measuring one angle of our help documentation, it could have cost us thousands in person-hours to fix that nonexistent UX problem.</p><p>That’s a long way of saying this: centralize your data in one place and make decisions based off the whole picture. Otherwise, you may find yourself making bad decisions on incomplete data.</p><h3>5. Iterate, Iterate, Iterate</h3><p>The last part of our process is possibly the most important part: never stop evolving your content. There will always be improvements to make, new articles to write, and more channels to explore.</p><p>Since launching our initial overhaul to our help documentation, we’ve continued our work by doing some of the following:</p><ul><li>Producing short video content for high-leverage FAQs.</li><li>Establishing an update loop to ensure that our documents stay accurate as the product changes.</li><li>Implementing in-app access to our documentation, adjusting each article so that our users get relevant content right when they need it.</li><li>Experimenting with A.I. delivery of documentation to further deflect incoming low-hanging fruit tickets.</li><li>Creating a whole new process for better distributing internal documentation, with entirely different answers for the 5 Ws from earlier in this article.</li></ul><p>In each case, we kept an eye on our data, made incremental changes, and let our process evolve. We’ve made plenty of mistake along the way, but by sticking to the process—understand, act, measure, analyze, iterate—we’ve made huge strides since the old days of our digital marketing novellas.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=16da38af3442" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Break Up With Abusive Customers]]></title>
            <link>https://medium.com/help-scout/how-to-break-up-with-abusive-customers-f6e7727889d1?source=rss-d4261f0425fc------2</link>
            <guid isPermaLink="false">https://medium.com/p/f6e7727889d1</guid>
            <category><![CDATA[customer-support]]></category>
            <category><![CDATA[customer-service]]></category>
            <category><![CDATA[leadership]]></category>
            <category><![CDATA[abusive-relationships]]></category>
            <category><![CDATA[difficult-conversations]]></category>
            <dc:creator><![CDATA[Lance Conzett]]></dc:creator>
            <pubDate>Wed, 27 Sep 2017 10:01:01 GMT</pubDate>
            <atom:updated>2017-11-09T17:00:45.353Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FMx5VRT0NFeQDz10SzYhNA.png" /></figure><blockquote>Is there a person who, whenever they appear in your support queue, you audibly groan?</blockquote><p>Working with difficult customers is one of the most challenging aspects of support work. What do you do when one of these customers steps over the line, from difficult to straight-up abusive?</p><h3>Cutting abusive customers loose</h3><p>At <a href="https://raventools.com/">Raven Tools</a>, we had a longtime customer who set up camp on the line between difficult and abusive. Let’s call him “Dwight.”</p><p><a href="https://www.helpscout.net/blog/customer-service-skills/">15 Customer Service Skills that Every Employee Needs</a></p><p>Dwight had been subscribing, off and on, for as long as I had been on the team — at least five years. He was always difficult to work with — unhelpful, passive-aggressive, generally contemptuous of having to contact support. And he’d send us messages like this:</p><blockquote>“Tell me, what am i actually paying for!! At least your company is consistent in it’s failures to provide anything close to acceptable levels of service!”</blockquote><p>Ouch.</p><p>Most of our users contact us only a handful of times. Dwight initiated more than a hundred conversations by himself. Gradually, the tone of these conversations started to slip into territory that was less passive and more aggressive. He started issuing threats — threats to initiate chargebacks for fraud, threats to contact our leadership team to have members of support disciplined for not getting his way, and so on.</p><p><a href="https://www.helpscout.net/helpu/support-scenarios/">How to Handle the Trickiest Support Scenarios</a></p><p>This isn’t acceptable behavior. But what can you do about it?</p><h3>When to fire a customer</h3><p>The cornerstone of working with customers in a consumerist culture is “the customer is always right.” This usually translates into letting the customer talk at you until they’re satisfied or give up. Anyone who’s ever worked in retail probably has a story about a time when the customer was wrong, but they had no recourse. That doesn’t need to be the case in customer support.</p><p>You don’t need to accept abuse as part of the job.</p><p>If things are getting as bad as they were with Dwight, you should have the tools you need to do your job without worry. We decided that enough was enough, and we couldn’t support Dwight anymore.</p><h3>3 steps to breaking up with a customer</h3><p>Deciding to end your relationship with a customer isn’t like a bouncer kicking an unruly drunk person out of a nightclub. It’s more like you’re firing someone, which means that you have a high bar to pass before you can consider telling someone to stop using your product or service. It means you need to set up a framework.</p><p>You need a cause and support from leadership before you can confront the customer.</p><h4>Step 1: Establish cause</h4><p>Before Dwight, we had never explicitly asked a customer to leave. That means we needed to figure out what was important to us and draw a line in the sand. It should be hard to cross that line. You need to be able to distinguish between someone having a bad day and someone with a history of bad behavior.</p><p>We kept our standards for when to fire a customer simple:</p><ol><li>Any form of racist, sexist, or harassing language. Simply put, you should never feel unsafe at your job. End of story.</li><li>Threats, either personal or professional. That includes threatening to initiate undue chargebacks with their credit card processor, threatening to expose information about the support agent, emotional blackmail, and so on.</li><li>A history of bad behavior with no sign of improvement or change.</li></ol><p>That’s what we came up with, but every company and culture is different. The main point is that you need to create a standard and stick to it. Publish it as part of your customer interaction policy. Put it in your terms of service. Do whatever you can to codify that standard, to make it the law of your land.</p><p>Creating a standard and sticking to it requires support from leadership, which is the second step in the process.</p><h4>Step 2: Get support from leadership</h4><p>We needed to justify our conclusion — that Dwight had become too toxic to support — to the founders of the company. If you haven’t read Simon Ouderkirk’s piece on how to <a href="https://www.helpscout.net/helpu/using-support-data-you-have/">Create Value With the Support Data You Already Have</a>, I recommend it. He goes into excellent detail on speaking the language of someone outside of your department to communicate your needs.</p><p>How you eventually frame your argument depends on your management and company culture. You need to be prepared for leadership to ask, “Why is this a problem? Isn’t it your job to deal with people like this?” Framing the argument as a personal problem isn’t going to fly. Think beyond how this affects you and your team and present it as the business problem it is — not just for your teammates, but for your other customers.</p><p>We did that by gathering evidence to demonstrate a pattern of behavior — not just in conversations, but also social media posts and any other communication he lobbed in our direction. We sought to paint a picture of Dwight’s actions: that he was single-handedly making the entire team miserable. His conversations would get passed around like a hot potato because he would become unresponsive to one agent, forcing another to step in. More than that, the interactions were constant.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*3C6REHAVK2L7yzFW.jpg" /></figure><p>One mental hurdle you may need to summit is the potential of losing money by walking away from a customer. Think about it this way:</p><p>One extremely high-maintenance customer eats up valuable resources, pushing your team toward burnout.</p><p>It also means your other customers aren’t getting the help they need as quickly or as satisfactorily as they deserve. For us, the average customer represents somewhere in the area of 18 interactions with support. Dwight had nearly 900. He was the fourth most prolific emailer in our company’s support history.</p><p>Better support for your overall customer base encourages <a href="https://www.helpscout.net/blog/customer-retention-strategies-that-work/">customer retention</a>. You’ll wind up making more money in the long run because your support team won’t be dealing with unnecessary strife.</p><p>This can be a challenging talk to have. Be prepared. Gather every scrap of information you can to make your argument, and use your data. Your goal is to make the answer obvious for whoever needs to sign off on your plan.</p><h4>Step 3: Have the talk</h4><p>After you’ve identified an abusive customer, brought the issue to the leadership team, and been given the green light, you have to confront the customer. All the work you did in gathering evidence will come in handy here.</p><p>The best approach is to give it to ’em straight. Be direct; don’t back down. Confrontation can be tricky, but remember, you’ve already done a lot of the hard part. Just present your evidence directly and with authority.</p><p>With Dwight, we laid it out as matter-of-factly as we possibly could. Our COO sent the email to give the message extra authority, and we quoted incidents directly back at him. We calmly explained why we were making this decision, wished him luck, and — this is important — refunded him six months of payments.</p><p>Why did we refund him? Because giving the outgoing customer something to part with defuses the situation. It makes it a business deal, not a personal offense. We didn’t ask if he wanted the refund, we just gave it to him, said goodbye, and moved on. In the end, he thanked us and we haven’t heard from him since.</p><h3>Breaking up is hard to do</h3><p>We’ve done this a few times since Dwight, and each time was challenging in its own right. Some have gone smoothly, like our interaction with Dwight. Others, like a customer who managed to issue threats while also attempting to promote his illegal business through our platform, didn’t.</p><p>In situations where the customer doesn’t accept their fate and move on, all you can do is be calm, present the information clearly, and be firm on your decision. When you codify what it means to cross the line, abusers can wail and thrash all they want, but you have a reasonable policy on your side.</p><p>Confronting and firing an abusive customer is challenging. But once you’ve established a framework for how to move through that process, it gets easier. Your team will become better for it — not just because of the drop in those audible sighs, but because they’ll have the comfort in knowing that there are options other than enduring abuse.</p><p><a href="https://www.helpscout.net/blog/breaking-bad-habits/">How to Break Your Worst Work Habits</a></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fupscri.be%2Ffaf155%3Fas_embed%3Dtrue&amp;dntp=1&amp;url=https%3A%2F%2Fupscri.be%2Ffaf155%2F&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=upscri" width="800" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/ce4d2d03e962c5c65d7960b103c67773/href">https://medium.com/media/ce4d2d03e962c5c65d7960b103c67773/href</a></iframe><p><em>This post originally appeared on the </em><a href="https://www.helpscout.net/helpu/abusive-customers/"><em>Help Scout blog</em></a><em>. If you enjoyed it, hit that 👏 button to share it with others, and enter your email right up here ⬆️ to have thoughtful and well-researched articles like this delivered to your inbox each week!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f6e7727889d1" width="1" height="1" alt=""><hr><p><a href="https://medium.com/help-scout/how-to-break-up-with-abusive-customers-f6e7727889d1">How to Break Up With Abusive Customers</a> was originally published in <a href="https://medium.com/help-scout">The Customer Service Blog By Help Scout</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>