Class 4

Processing Data and Data Objects using Loops and Variables

Wednesday, April 8, 2026

Class Overview

Why is this important?

Understanding how to process data effectively is crucial for building efficient automation solutions. In this class, effective loops will be the key point of discussion. Loops allow us to automate repetitive tasks without needing to manually specify each iteration, which is essential for scaling automation solutions.

What will we do?

In this class, we will explore how to use loops and variables to process data and data objects in an automated workflow. We have three working examples on a new github repo robots.io. Choose one of these as a base for your current project, or work with me to figure out how to get started on a loop-based automation. RPA based bots tend to use loops to automate any of the repetitive rules-based elements of a workflow. By the end of this class, you will have built an automation bot that can handle multiple data items using loops and variables. Key UiPath activities for these examples include the For Each activity (which includes for each email, for each file, for each row of a spreadsheet and many more), and the assign activity which allows us to create, store and manipulate data within the automation process.

How this relates to other classes:

In prior classes, we have begun working with UiPath as our primary automation tool and have started a self-directed automation workflow. In this class we will continue to build our UiPath workflows ensuring that they can scale by examining features of loops for a few examples.

This extends our current workflows to include scaling components by introducing loops, variables, and conditional statements. This is a crucial step in building more complex automations that can handle larger data sets and more complex processes.

Materials and Preparation

Class Materials
  • Link: Our new github delivery mechanism for automation templates specific for our class.
  • Slides: PowerPoint or PDF
  • Automation Tools: UiPath Studio: For each, assign, if/else statements
  • Suggested Pre-Class Preparation
    There is no suggested preparation for this class.
  • Class Plan
    1. The class will follow the typical format, starting with a review, check-in, and motivation for our topic on loops.
    2. We will make sure we see where the best use of a loop for each individual's workflow will fit. In many cases, this should be the core part of the RPA component for any repetitive rules-based element(s) of a workflow.
    3. We will use the examples from our new github repo robots.io. and ensure that delivery mechanism works with our new cloud based interface.
    4. The remainder of the class is workshop based, allowing time for everyone to continue building their first end-to-end automation.
    5. Before finishing today, make sure you spend some time filling out the bot check-in form so that I can give you early feedback on your bot ideas.

Required Deliverables

Deliverable Due Date Canvas Submission Portal
Class04: RPA workflow Check-in (Individual, Professionalism Deliverable) During Class Upload to Canvas