We are now ready to complete the automation in the Parent bot:
- Open the Parent bot if you do not have it open already. We will add a variable to store the flag we will receive from the Child bot. We will also add a new dictionary variable called ChildOutputDict.
- Let's then get back to where we left off after the section Validating email addresses with regular expressions. We had created a Step to invoke the Child bot. Now that we have the Child bot, we'll go ahead and add the action to invoke it. We will also add a Task Bot Run action. Select the Child bot we just created for the Task Bot to run setting using the Browse button. Within the Input values, you will already see the variables we passed from the Child bot. Map them to the respective variables in the Parent bot, as shown in the following screenshot. Also, assign the output to the variable we created earlier - ChildOutputDict ...