Running a bot through an API call

On this tutorial, learn how to run a bot that logs "Hello, world!" and an extra message into the log base by using the Bots API in IBM Robotic Process Automation.

You can expand this tutorial to any bot that you want to run through the Bots API. The key takeaways that you must consider from the steps on this tutorial are:

  • The authentication process through the API for each available offering considering their available identity providers.
  • The triggering call through the API.

Before you begin

Comply with the following requirements before you proceed with this tutorial:

Environment requirements

  • You must have access to a tenant on IBM RPA Control Center.
  • IBM Robotic Process Automation version 23.0 or higher installed on computer to run the bot.

User requirements

Your user must have permissions to manage projects, manage bots, and invoke bots. See the Checking user permissions topic to learn how to check your user permissions.

Steps of the tutorial

This tutorial contains the following steps:

  1. Creating a sample bot
    The first step defines the steps to set up the bot that you are going to use in this tutorial.
  2. Authenticating to the IBM RPA API
    The second step defines the steps to authenticate your user on the IBM RPA API.
  3. Calling the API to run a bot
    The third step defines the steps to run the bot through IBM RPA API.