I have different emails to send to different clients. In each email I add zipped folder as attachment.
I managed that the email adress is automatically added from an excel, however how can I automate that the corresponding folder will be added?
You can use the for each file in a folder to iterate through all the files in the folder. As you need to attach the correct zip folder, i have added a If block which will check the no (eg. 231117) in the zip folder names.
When you find the correct match you assign the path of that folder to variable in this case (FullAttachementPath). You can use this variable in your Send mail activity. Keep the mail activity outside the for each loop.
I’m sorry since I’m a beginner, what do you mean with create a variable. So I have to Assign a variable with for eg. “Ausgangsrechnung Nr_” and the number is then variable? or how do i move forward best?
When you are using the for each excel row. You can split the Invoice no field in excel to identify the folder & assign it to another variable in this case i have assigned it to InvoiceNoExtracted. (Which will only give the value 231117)
I think you are new to the UiPath Forum.
You need to accept my reply as solution & not your own. So that it will help others also to find the solution.