Can I use a "file input" as a trigger on Apps?

Hi there!
I created an app and I would like my process to start when the user drops a file in a specific folder. Is there a way to do that?

@beatorres

Welcome to forums

Is the file you drop in a specific folder is on a local directory? Or you are using Gdrive / Outlook?

Thanks,
Srini

Thanks!!

It’s on a local directory.

Hi

Welcome to UiPath community

Hope the below steps would help u resolve this with
following approach:

  1. Use the “File Uploader” component to allow users to upload files to your app.
  2. Use the “Folder Watcher” component to monitor a specific folder for new files.
  3. When a new file is detected, use the “Start Job” action to trigger your UiPath process.

Here are the detailed steps to set up this workflow:

  1. Create a new UiPath Apps project and open UiPath Apps Studio.
  2. Drag and drop the “File Uploader” component onto your design canvas.
  3. Configure the “File Uploader” component by specifying the target folder where the uploaded files will be stored.
  4. Drag and drop the “Folder Watcher” component onto your design canvas.
  5. Configure the “Folder Watcher” component by specifying the folder to monitor and the type of files to watch for.
  6. Connect the “Folder Watcher” component to the “Start Job” action using the “On New File” trigger.
  7. Configure the “Start Job” action by specifying the Orchestrator URL, the process name, and the authentication credentials.
  8. Run your UiPath Apps project and test the workflow by uploading a file to the target folder.

Cheers @beatorres

1 Like

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