How to run a python script on orchestrator iteself with help of UiPath Apps & Storage Bucket (with Inputs & Outputs)

I have a scenario where i have to extract the data that the user give me through UiPath apps, now the data extraction is to be done through python only , im wondering if i have to make a automation just for running a file to give certain Inputs and get certain output only from srcipt itself, then its not worth it to make a automation itself (on UiPath Studio or Web), is there any way to run the file and give some inputs and get some outputs just from using storage bucket, apps and orchastrator ?|

EDIT :- UiPath Studio Web can be utilized as it dose not need a local machine to be allocated but i dont know what to do and how to trigger

Hello Dev,

you can’t run python script from Apps, for this you need to create a process tor run and return, Check if you can do into web studio.

Or you can create an API and call that API from Integration services into apps.

Thanks,
AK