See this reply I made a while back. It contains a sample framework that works with an Excel as an input
It is quite advanced, but the posts explains all the details.
If you want to know more, you should definitely join our Academy and go through all three trainings that will get you up to speed with UiPath tools