Giter VIP home page Giter VIP logo

watsonassistant_webchat_salesforceservicedesk_liveagent's Introduction

Integrating Watson Assistant Webchat w/ Salesforce ServiceDesk

In this repo we will illustrate the following usecase:

  • Watson Assistant Webchat integration with SalesForce Service Desk to a Live Agent handoff

Terms

We will define a few terms:
User: This will be a customer that will interact via chat(Watson Assistant) to a live agent
SalesForce ServiceCloud: App that helps deliver fast, personalized customer service & improves customer satisfaction to help agents deliver the right answers and service insights
Live Agent: This will be the service desk employee who will interact with SalesForce ServiceCloud to receive chat handoff
Omni-channel:Omni-Channel is a tool that sits inside of either the Sales or Service Console that, once enabled and configured, automatically pushes work to your users in real time.
Routing Configuration:
Queue: Prioritize, distribute, and assign records to teams who share workloads. Queue members can jump in to take ownership of any record in a queue.They're available for chat
QuickFind: search box for Setup pages
Chat Deployment: A deployment is a place on your company’s website that’s enabled for Chat. Create deployments to implement Chat and control its functionality on your website.
Chat Button: Create chat buttons to enable customers to request a chat with an agent directly from your website
Presence Status: Presence statuses indicate whether an agent is online and available to receive incoming work items, or whether the agent is away or offline. You can give users access to presence statuses through profiles.
Service Channel: Customize your service channel settings to define how your organization receives work from various sources, such as chat, email, SOS calls, or social channels

Setup

Part 1 - Salesforce Setup & ServiceCloud setup

  • Obtain a Salesforce instance with Administrator access and log in test

  • Go to service app test

  • Click on gear and go to service settings test test

  • Ensure ServiceCloud user & chat user is checked on the user profile you are testing with by using QuickFind and searching "users" test test

  • Enable Omni Channel Settings by utilizing QuickFind test

  • Setup a routing configuration test

  • Presence Config(DO NOT HAVE TO CHANGE) shows the max capacity of both cases & chats your agent can handle test

  • Setup agents available and not available status to external users for chat, you create one per channel per agent test test

  • Assign chat statuses to an agent(user profile) test test

  • Create a queue, select your routing configuration created previously and objects to be sent to the queue for the agents e.g. chat, cases test

  • OPTIONAL: Add Service Channels(if applicable do for all members of queue for each member profile) e.g. Cases test

  • Obtain Chat Deployment Code from Deployments to be used to

    • test the chat functionality in SalesForce
    • test the Watson Assistant & SalesForce Chat functionality integration test
  • Create a chat button for code to be generated and embedded into an HTML webpage for your users(you will select your queue created previously & omni-channel test

Part 2 - Creation of a HTML Page to test SalesForce Deployment/Chat Button code (transfers to live agent)

  • Paste both the chat deployment code and chat button code into an empty html file (text/html editor) use an existing website and embed

  • Edit the following from the file: change from <! -- Online Chat Content --> to <"ONLINE"> and <! -- Offline Chat Content --> to <"ONLINE">

  • Open in web browser

  • Tip: If you are on a mac and want to use textedit, go to format and change to make plain text save it as txt then rename to html for it to display as webpage

  • Tip: The agent(user) must set themselves from offline to "available" in order to receive chats on service console and chat to be available to the external customer test

  • Tip: The HTML website chat simulates a customer and the ServiceConsole is the live agent in conversation with them test

  • As a customer, click the "online" to initiate a chat with the live agent test

  • Within Service Console, the agent accepts chat by clicking on the checkbox in the omni-channel chat box & a window appears test

  • Agent types & then sends a response to the customer test test

Part 3 - Watson Assistant Web Chat setup into your website

  • Provision an instance of Watson Assistant Plus

  • Create Assistant or Choose Assistant you want to set up the integration with test

  • Add integration (on the right) test

  • Choose Web Chat integration test

  • Name the integration test

  • Customize UI,Connect SalesForce test test

  • Turn on Live Agent, create dialog, Create custom labels by going to Data --> Objects and Fields --> Object Manager --> Chat Transcript --> Fields and Relationships, grant the labels to the user profiles Tip: These should be created before you paste in the code in the next step because the code calls for these test test test

  • Create a VisualForce page in Salesforce for the chat transcript to be transferred to the agent by replacing SalesForce code: paste from Watson Assistant UI to SalesForce VisualForce Page test

Part 4 - Integration of Watson Assistant virtual agent with SalesForce ServiceCloud Service Console (live agent transfer) Test via Watson Assistant UI and servicecloud and then test your website and service cloud

  • Set "available to chat" status in omni-channel window in Service Console as illustrated in Part 2 test

  • Go to Watson Assistant and select "web chat" and call out to an agent using the intent, you should see a Live Agent Card populate test

  • Click request agent (you are simulating a customer) test

  • Agent accepts chat in SalesForce ServiceCloud by clicking "check mark" to accept in omni-channel window(you are simulating a live agent) and it shows in Watson Assistant test test

  • Customer & Live Agent chat & then the agent ends the chat test test test

Resources:

watsonassistant_webchat_salesforceservicedesk_liveagent's People

Contributors

bmguillo avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.