Trigger robots from Rasa chatbots

This example consists of two robots: one that gets the current time from Google using browser automation, and one that sends the result back to Rasa chatbot conversation.

The purpose is to demonstrate how to set up two-way integrations with chatbots. While this repo contains the Robot examples, please have a look at the sister repo for the Rasa configuration.

d2a3a3cec5494782980e5da33fa50630-with-play

Configuration

In order to set the demo up, please create a robot with two steps in the Control Room.

Screenshot 2022-07-04 at 12 27 37

Also notice that in order for the robot to be able to return results back to Rasa conversations, the robot needs to have access to the Rasa Callback Server. In the example we have set up the robots to run locally in the same environment as the chatbot server using Robocorp Workforce Agent.

The exact steps required to configure the process:

  1. Have or create a Robocorp Control Room account.
  2. Install Workforce Agent
  3. Connect Workforce Agent with Control Room to create an execution environment.
  4. Create a robot from public git repository (this repo). Note: if you are running the Rasa service somewhere else than localhost:5005 you'll need to clone/fork the repository and make required changes.
  5. Create a new Process under Workforce tab
  6. Add Search Time as the first task, and choose the execution environment to be your newly linked local environment.
  7. Add Send to RASA as the second task, and choose the execution environment to be your newly linked local environment.
  8. Follow instructions on Rasa example repo how to get the Rasa server running.

:heart: Have fun chatting!

Discover more robots