Setting Up the Bot

In Druid ChatBot Portal:

Step 1: Configure the Bot

Note:  Financial Services default language is set to EN-US and additional language is set to RO. If you want to add additional languages on Financial Services, make sure to add the language of choice as additional bot language and add the according training phrases, synonyms and conditions.

To configure the bot for Financial Services, you need to set Live Chat timeouts and Special Flows, enable the bot for Live Chat integration and configure the connection strings.

Set Live Chat timeouts

In the bot’s Details page, click the General section header. The General settings area expands.

Set the parameters for the Route-to-Human functionality:

  • LiveChatQueueWaitingTimeoutMins - The amount of time in minutes that a client could wait until an agent accepts the incoming live chat request. When the time limit is reached, the live-chat-waiting-message-in-the-queue flow is triggered.
  • LiveChatConversationIdleTimeoutMins - The idle time limit for which a client can be idle (i.e. does not respond) in an ongoing conversation with an agent. Once the time limit is reached, the dialog times out and the client is automatically returned to bot context.

Save the bot. For more information on how it works and how to configure Live Chat, see Live Chat.

Set special flows

Click the Special Flows section header and select the following special flows:

Special Flow Select
Welcome welcome
IntentNotFound intent-not-recognized
LiveChatClientDisconnectedFlowId live-chat-feedback-client
LiveChatAgentDisconnectedFlowId live-chat-agent-disconnect
LiveChatClientConnectedFlowId live-chat-client-connected
ExceptionFlowId exception-handling

In production, you can configure these flows based on your needs.

Enable BotApi

For live chat integration you need to enable BotApi at your tenant level. To do so, on the main menu, click Administration > Settings. Click the BotApi tab and tick the Is enabled check box.

Set the Connection Strings (Apps) Details

Financial Services provides you with a wide range of apps for integration with various systems to demo various processes. Set up only the apps used by your organization or the ones dedicated to the particular processes you want to demo / use.

Druid App App Type Integrates Druid with Integration Purpose Mandatory app
Druid-apps SQL Your Database. Connects Druid to your DB. Yes
Druid-apps-db-setup SQL Your Database. Sets up your DB with test data. Used for demo purposes, it helps you see Financial Services in action prior to using it in a production environment. Yes
UiPathDruidsoft1 UiPath UiPath robots Allows the chatbot and UiPath robots to work seamlessly together to fulfill customers service and employee requests. Yes
UiPathOrchApi REST UiPath Orchestrator API Druid integration with UiPath Orchestrator API. Yes
UiPathAutomationHub REST UiPath Automation Hub   Yes
Namirial_Victor_REST REST eSign from Namirial Allows the electronic signature of a digital document generated for the onboarding process. Yes
Victor OCR CALL REST Druid AI Services Performs OCR and data extraction from Romanian Identity Cards and Australian driving licenses. Yes
SendGrid SendGrid Your SMTP Server Sends emails No. (only if you need to send emails)
PXL REST REST Pixel Vision Enables the chatbot to capture and extract data from European identity documents with a special machine-readable zone (MRZ) and verify their authenticity. Yes
PXL Download File REST REST Pixel Vision Used by Druid to send the documents uploaded by the clients to PXL Vision. Yes. No setup is needed.
Doqument REST Doqument Enables the chatbot automatically convert unstructured data of Romanian balance sheets into accurate, structured and relevant information. No
Keysfin REST KeysFin Enables the chatbot instantaneously check any Romanian company via Credit & KeysFin reports. No
Note:  To run the Financial Services setup flow, you only need to set up the two SQL apps.

For information on how to set the connection strings, click on the configuration section specific to the app you want to set:

Important!  In order for the chatbot integration with the apps to be up and running, you need to publish the connector actions. To do so, from the main menu, click Integrations and click the Publish button.

Step 2: Run Setup Flow

Open chat land bot page and send the message “setup-victor”. This command sets up all the DB tables needed in Financial Services.

Click Done. If the SQL connection strings are properly set, Financial Services setup completes successfully.

You can now train the entities and the bot, set up the webchat in HTML page and add service account and add Druid users.