Image Recognition Template
This content applies solely to Appian RPA, which must be purchased separately from the Appian base platform.

If your robotic process will need to capture images or search for existing images on a screen, you will use the Falcon module to configure your process. To get started, the Image Recognition template provides beginner level steps on using the Falcon module. This template details how to search and click on an image defined in your support files.

When you use a template to create a robotic process, you are provided with a zip file containing your source code and a pre-built workflow in the robotic process configuration page. Within the source code of this template, the robotic process references a sample image. For the robotic process to locate this image, you will need to use the support image creation tool from the Appian RPA agent to capture the sample image.

The following page explains the contents of the Falcon template workflow and the source code generated by the template.


For the robotic process to locate the sample image referenced in this template, you will need to use the support image creation tool to capture a screenshot of an image on your resource.

The template comes with the image test.png attached, which is an image of the Firefox icon. Before making changes to the template code, you can capture your own image instead of using the Firefox icon.

To create a support image on your resource:

  1. Right-click the agent icon and click Create support image.
  2. Click and drag your mouse over an area of the screen to take a partial screenshot.
  3. In the side panel, under Save image, select the dropdown and choose to save your image to your robotic process.
  4. Enter test as the name of your image.
  5. Click Save image. The image will be sent to the console and available as a robot support file.




The Image Recognition template's workflow includes two actions: Locate image and Send screenshot. The Locate image action is where most of the configuration will occur.

If you click the list icon on any action, you'll see it is associated with a method. These methods are in the source code generated from the template. Within the source code, Appian has provided an outline of how you can configure each method.

Source code

Within the downloaded ZIP file, you will see the file


The RobotFalconTemplate class implements the IRobot interface and is annotated by @Robot. Every Appian RPA robotic process must have the IRobot interface and @Robot annotation to allow the Appian RPA API to identify the class as a robot.

Open in Github Built: Fri, Sep 30, 2022 (11:57:42 PM)

On This Page