Add agent in the loop activity

HI Everyone,
I tried to do this :

  1. i want loop every file in this txt file

and send the output argument as strOutputText

2.Then i send the argument into agenticAI with argument input strOutputText, and extract the output into 3 argument : Invoice Number, BL Number, Departure Date

3.and then i want to save in CSV like table for example
Invoice Number,BL Number, Departure Date
xx1, BL1, 16-11-2025
xx2, BL2, 17-11-2025

Hey, thanks for raising this — really helpful thread. I think what you’re suggesting makes sense. One thing to check: have you tried using the UiPath Action Center? You can set up a human-in-the-loop workflow so that an “agent” reviews and approves specific tasks before they move on. It’s pretty flexible and should cover the use case of adding manual validation.
If you want, I can walk you through setting it up.

What is the error you’re getting let me know so that I can help you with that.

Hello @adityo_reksoprawiro1

Could you elaborate a bit on what you want to happen?

You want the agent to process (extract?) the .txt-files?
Seing that they are native text files maybe an Agent it not necessarily the best approach.

Regards
Soren

Hi All,
I have pdf document that contain various files, every pdf files i need to find bill of lading document and extract it by using agent, and then save it to excel.
Inside loop activity :

  1. Extract 1st pdf files
  2. Extract all the document by OCR
  3. Save it 1st txt files
  4. Call the Agentic Agent (by Using Orchestrator activity) to find BL number, invoice number, and amount
  5. Save it to table
  6. loop

It’s already done by this process.

for this process, could it be done using attended robot ?.
currently now im using unattended robot, because the error shows that i have to assign the unattended robot to the agent

So I assume you mean you have found the relevant activities to run the agent by now? Cause they indeed already exist.

If you are wanting to run this process, you don’t have an unattended licence? What kind of licence plan are you on?