Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Find a Doctor” is Orbita’s latest offering which lets your customers enquire about the

...

doctor’s availability, booking an appointment, finding Hospital’s location, and many more using the chatbot.

This article describes the steps to set up the Find a Doctor feature in your environment.

Table of Contents
excludeRelated

Prerequisites

  • Project_modules.json

  • Experience_Designer_flows.json

Please contact support@orbita.ai to get the above files.

Import modules

  1. Create a new project.

  2. Copy the code in Project_modules.json and import it to the project.

Note

Check the Select All option and select the Delete all existing project data before importing option before importing.

Info

Importing content data is optional. You can choose to create your own content or use the sample content data.

...

Image Added

Refer How to import Project for more information.

Index the content data

  1. Go to the Schema listing page.

  2. Index the schemas named

...

  1. Settings_Find A Provider, Providers, and Facilities.

  2. In each schema page, click on the upload icon to index the documents.

...

  1. An example screenshot is given below.

...

  1. Image Added

Refer Indexing content data for more information.

You have to create your own content and upload images in the content data for the chatbot to render the images of the providers or facilities.

Import flows

  1. Go to Experience Designer.

  2. Copy the code

...

  1. from Experience_Desinger_flows.json and import the flows.

Note

After clicking on Import, select Restore from the Select Skill Dialog box (as shown below) and click on the OK button in the confirmation dialog box.

Image Modified

Refer How to import Flows in Experience Designer for more information.

Configure Chatbot

  1. Go to the Launch flow.

  2. Copy the endpoint from the Launch node.

    Image Modified
  3. Paste it in the URL field of the fulfillment page in your Dialogflow agent.

    Image Modified
  4. Click Save at the end of the screen.

  5. Configure the service account. (Ignore if you have configured service account for the environment already).

  6. Deploy the

...

  1. flows in Experience Designer.

  2. Publish the changes to Google Dialog Flow from the Deployment screen in Experience Manager.

    Image Modified

The default chatbot URL is https://domainname.orbita.cloud:8443/oeapi/findaphysician

Note

If your chatbot doesn't start, deploy the flow in Experience Designer and publish the skill in Experience Manager - Deployment page.

Customizations

You can customize the below-listed items in the chatbot.

Banner

You can change the title and the description of the banner. Clicking on the arrow next to the title will expand the banner and display the description. Clicking on the arrow again closes the description to show only the title.

Image Added
Image Added

You can change the title and the description, to do that:

  1. Open Experience Designer and go to Chatbot Flow.

  2. In the function node named App Settings, scroll down to find the type - dialog. You can customize the contents of the properties named title and content.

Image Added
Warning

If you have more than one appsettings node (in chatbot flow) in your environment, you cannot view the banner and the global menu.

Global menu

The global menu can be accessed anytime during the conversation in the chatbot. You can customize the button text, but the function of the buttons remain the same.

Image Added

To change the button text:

  1. Open Experience Designer and go to Chatbot Flow Tab

  2. In the function node named App Settings, scroll down to find the type - mainmenu. You can customize the contents of the property named text in the object - buttons.

Image Added

Launch Message

To change the Launch Message, you have to:

  1. Navigate to the flow studio from the side menu.

  2. Search for the flow named Launch Flow.

  3. Change the text in the control named Launch Message.

Image Added

Carousel filter

To narrow down the search result, the bot will prompt you to filter the result further.

To choose the number of items that loads into the carousel and card,

  1. Navigate to the content page from the sidebar in the find a doctor project.

    Image Added
  2. Select Settings_Find A Provider schema and Edit the content data.

    Image Added
  3. You can change the numbers A and B to fit your business use case.

Image Added
Info

Number A corresponds to the carousel.
Number B corresponds to the Card.

Note

It is recommended that Number A is less than Number B.

Radius

You can change the search radius by adjusting the radius property on the same page.

Image Added

For example,

  • If the number of search result hits is above number B, say 10, then narrow down the search result using filtering questions.

    Image Added
  • If the number of search result hits is above count A, say 5, but below number B, say 10, then show the result as a card.

    Image Added
  • If the number of search result hits is below count A, say 5, show the result in a carousel.

    Image Added

Related Articles

Filter by label (Content by label)
showLabelsfalse
max5
showSpacefalse
cqllabel = "experience-manager"