phoneVoice+™ over the phone

Use Touchpoint Voice+ with an external telephony channel

Voice+ can be very useful in multi-modal interactions where users calling in over the phone are directed to a particular webpage, where they can continue talking over the phone but the conversation and the web experience are in sync.

Generally the basic setup is usually that the user is directed to a specific webpage (perhaps via SMS or other medium) that includes the Conversation ID in the URL. Then Touchpoint is initialized in external mode with that particular Conversation ID (Touchpoint will then remember that Conversation ID automatically, so following links will keep the same conversation active for the user).

1

Send the user a URL with a conversation ID

This can be achieved via a Data request node, for example:

2

Start a Voice+ node

Turn your conversation into a Voice+ session using a Voice+ node:

3

Integrate Touchpoint in external mode

On the destination page (the one you sent to your users), add the following snippet:

<html lang="en">
  <head>
    <title>Touchpoint Sample HTML</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
  </head>
  <body>
    <script type="module">
      import { create } from "https://unpkg.com/@nlxai/touchpoint-ui/lib/index.js?module";
      
      const touchpoint = await create({
        config: {
          applicationUrl: "REPLACE_WITH_APPLICATION_URL",
          headers: {
            "nlx-api-key": "REPLACE_WITH_API_KEY"
          },
          languageCode: "en-US",
          conversationId: new URLSearchParams(window.location.search).get("cid")
        },
        input: "external",
        bidirectional: {}
      });
    </script>
  </body>
</html>

Note the cid parameter added to the message which is used to link the conversations together.

circle-info

In external mode Touchpoint renders no visible user interface, since we expect that all of the communication will still happen over the external channel. So all Touchpoint is providing in this case are its Voice+ capabilities.

You can customize the Voice+ experience exactly like regular Voice+:

compassVoice+™chevron-right

Last updated