Understanding a Bot and its components
We can create multiple Bots in a single app, but each Bot will manage just a single Process that you want to automate:
Figure 8.2 – A Bot and its main components
As you can see in the preceding figure, the Bot comprises two main components, which we will review in detail later. The first component is an Event. The Event is the component with which we set up when and how the Bot is going to start to work. As its name suggests, we define what sort of Event the Bot will handle. The second main component is called a Process. Inside the Process, we define what sort of jobs the Bot is going to manage, such as sending mail, creating files, and so on. In other words, the Process is the core part of any Bot you create. To handle a complicated scenario requiring advanced settings, we can build a Bot that can conditionally change its behavior by defining multiple Steps.
A Process comprises one or more Steps. A Step is a...