Tag Archives: salesforce

Embedding Zingtree Decision Trees in Salesforce

z-salesforce

If you run a Call Center or do live support, and you use Salesforce, being able to link a Zingtree script or troubleshooter to each case is really handy. Not only does this give agents a guide to follow when helping customers, but if a case is transferred or reopened, the last viewed node in the Zingtree reappears, and the entire history of the session is available as well.

Inside of Salesforce, we’ll create an Agent Script button, accessible from each case. Clicking this button will open an Agent Script, built with Zingtree:

Here’s how to set up Salesforce with an embedded Zingtree:

  1. Go to Salesforce.com, and log in to your account.
  2. Click Setup on the top right of the screen.
  3. Select Build > Customize > Cases > Buttons, Links and Actions in the left panel.

  4. Click New Button or Link.

  5. We’ll modify the New Button form to look like this:

  6. Make the Label “Agent Script”.
  7. Make the Name “Agent_Script”. (The name cannot have space characters, so we use an underscore here.)
  8. Select Detail Page Button.
  9. The Behavior is Display in New Window.
  10. The Content Source is URL.
  11. For the URL, make it look like this (substituting the tree ID of your script for #########):
    https://zingtree.com/host.php?tree_id=#########&style=panels&show_history=1&persist_names=Restart&persist_node_ids=1&agent_mode=1&nopermalink=1&source={!Case.OwnerEmail}&session_id=#########-{!Case.CaseNumber}
  12. Click Save.
  13. Next, we have to add the custom button to the Case page layout. Within Setup, go to Build, Customize, Cases, Page Layout.
  14. Click Buttons.
  15. Drag the Agent Script button into the custom buttons area, like this:

  16. Click Save.

Now, when your agents are in a case, they can click the Agent Script button, and walk through your Zingtree troubleshooter with the customer. Awesome!


Customization Notes: You can use the Zingtree Advanced Hosting Options to customize the display of your tree within Salesforce by modifying the URL. Once you’re done, take the hosting URL, and add the following to it (substituting your tree ID for #########):

&source={!Case.OwnerEmail}&agent_mode=1&session_id=#########-{!Case.CaseNumber}

3 Amazing Ways to Use Interactive Decision Trees With Your CRM

Positive, effective customer support and relationships are key to building a solid business foundation in any industry or field. With the potency of today’s CRM systems and integrative technologies, almost anything is possible in the realm of streamlining customer-based operations.

Introducing interactive decision trees as a unified part of your CRM platform — like Salesforce — is an effective way to simplify the customer support and relationship process, and their continued optimization. Zingtree provides powerful tools for agents, customers and the measurement of both.

1. Customized Agent Scripts

Agent scripting solutions allow support agents to have a live, customized script to use as a guide when communicating with a customer. They are written in the brand’s own voice, and follow personalized standards that make it much simpler for agents to portray the correct information and provide help to the customers.

Scripts help agents deliver more consistently positive experiences with less training, using prompts to follow along with; new questions will be presented depending on the answers given. This type of organized conversation makes the customer feel (and know) that they are actually being heard and understood.

2. Interactive Self-Help Troubleshooters

Zingtree is a powerful tool for building custom interactive decision tree troubleshooters – these allow customers to follow a path of questions and answers that lead to a final most-likely solution, and are especially helpful for more technical issues or questions. Additionally, when a customer’s data is imported into the CRM platform, agents can attach the full Q&A transcript of their decision tree session to keep every piece of relevant information in one useful place — with the Zingtree API, this information retrieval is automatic.

For organizations taking advantage of live support chat systems, Zingtree integrates directly with chat platforms to allow simple extraction and presentation of data. Our software allows Zingtree to open a Zopim or Intercom.io chat with the customer, gather information before the chat begins, and include a full transcript of the decision tree session as a part of the chat so that agents are provided with a holistic picture of the customer’s issue.

Companies that integrate Zingtree troubleshooters into their customer support processes have seen, on average, a 20% overall reduction in support cost and a measurable improvement in the volume of tickets. Using support decision trees based on customer-facing knowledge base data makes it easy to provide help across a variety of areas, become more efficient and save resources while, in turn cultivating long-term customer relationships.

3. Analytics & Customer Data

At the end of the day, the numbers reveal all. With built-in, real-time analytics and powerful usage reports, organizations can view the direct impact of their implemented Zingtree decision trees.


By introducing decision trees based on company knowledge base and agent information, implementing customized agent scripts and continually measuring the data behind both, organizations will best utilize their CRM and other support processes to benefit the customer and company.

Any questions? Please don’t hesitate to contact our trusty staff!

Adding Zingtree Session Data to Salesforce Forms

z-salesforce

As we are making Zingtree more connected to the rest of the world, our valued customers have been asking us how to import the results of a Zingtree session into Salesforce.

With just a little JavaScript magic, you can now add Zingtree data invisibly into your custom “Create Lead” forms.

Here’s what you’ll need to do:

  • Create a new custom field in Salesforce. It should be a “Text Area Long” – we like to call it “Zingtree Session Data,” but you can call it whatever you like.
  • In your “new case” form, make sure this field is a part of the data entered in the “new case” form.
  • Go to Setup, and search for “Web-to-case.” Generate the HTML, and note the id= value of the Zingtree Session Data field in the form.
  • At the bottom of the page that contains the form, just above the </body> tag, add this line of code, substituting the id of the form field which will receive the Zingtree data for “######” :

<script
id="zingtree_field_id"
value="######"
src="http://zingtree.com/api/add-session-data-to-form.js">
</script>

  • When loading this form from a Zingtree URL Link Node, make sure to add this code to the URL which opens the form:

?session_id=#session#

This setup will load the Zingtree session data into the field you designated for Zingtree data, and then hide the field so it’s not seen by your end-users.

You can see an example page that contains a crude Salesforce form here. When you view the source, you’ll see a text area field with id=”00N61000006Bdlq“, and this code at the bottom of the page:

<script
id="zingtree_field_id"
value="00N61000006Bdlq"
src="http://zingtree.com/api/add-session-data-to-form.js">
</script>

Any more questions? View more of our Zingtree How-To’s on the blog, or contact our support staff