Can I use Excel file as input to an agent

I am trying to build an agent which needs to take excel file as an input file but unable to give file path as input parameter. I am looking for a way to pass file as input to an agent

Agents don’t currently have the capability to consume files like that.

You need to read the file yourself and feed the contents to the agent via the arguments by passing them in as strings or an array etc.

1 Like

@Usha_Somashekar We don’t have option to upload files to agent as of now. you can create a solution where first data will be read from excel and then feed into agent as input.

Hi @Usha_Somashekar

Welcome to UiPath,

Agents do not support direct file path input. Might be useful try to use the use excel file activity to load the file and pass its contents as arguments in the automation.

Happy Automation

Hi, Thanks. I tried to get data through robot and used it in tool. it worked.

@Usha_Somashekar
Great pls close the thread by mark as a solution. It’ll helpful for all.

Happy Automation

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.