Now, we will call the SafeSearch workflow from Main using the configured parameters to get the updated Excel file. This file can then be used by our administrator to review and moderate the files within it:
- Let's go back to the main workflow and add a new sequence called Perform Safe Search Sequence, right after Get Google API Credentials Sequence.
- Within that new sequence, add an Invoke Workflow File activity and point it to SafeSearch.xaml.
- Click on Import Arguments and map the strGoogleClientID and strSecureKey variables to the input arguments, as shown in the following screenshot:
This completes the Perform Safe Search Sequence part of the main workflow.
Now that the bot has processed the images, let's move the completed the files to another folder. The administrator can then add new images for processing.