How to integrate agent with existing App

Hi All,

I have created an UiPath app which takes user input and also created an agent which takes this input data from app to find the matching results from a list (Stored in Data fabric) and returns the result back to app.

I added 2 tools (RPA workflows) added to this agent, one to get the data from app, and another one is to query and get the full list from data fabric entity.

Please help me to integrate this existing app as tool to take input from user and transfer it into agent. Unable to run end to end as well.

@sachinns94

UiPath app cannot be added as tool to Agent

what you need to do is in UiPath app..in events workflow call the agent you need and send the data from app to it and then the received value can be displayed in app again

cheers

1 Like

Thanks @Anil_G , This approach helped me a lot, I added agent to the App and used it the event workflow call. But I was unable to get the variable linked to the app values (Input override) as shown below. For normal process, it is showing the arguments while for agent its not showing. Can you help me on this.

@sachinns94

create a process which would start the agent that workflow or process is to be linked in the app

ideally conversational agent is what you need to built to use agent directly

cheers

Did you mean by creating a separate RPA workflow or agentic process and call this agent inside it ? to link it with App field values ?

I did not create conversational agent since I don’t want to have TO and FRO communication. Just sending the user info which returns a list as output (To return back to app).

1 Like

@sachinns94

Yes create an RPA workflow…in that use run job which calls the agent

cheers

1 Like

Thanks, It worked.
Created as RPA workflow and linked to App using event workflow. But while using “run job” activity, it is only showing the input variables of the agent and not showing the output variables as shown below. Is it any limitations ? I need to get the result from agent and send back to app.

@sachinns94

Output would come as an output variable of that job

you can extract the output from those variables

cheers

1 Like

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