Use a Watchfolder service to encode and publish each new file that meets the monitoring criteria.

## Before you start

Create, configure, and start at least one [On-Demand Encoder service](/traditional-products-and-appliances/components/on-demand-encoder/configure-service). Set a base publishing point on its output. Each associated encoder service needs at least one [configured job](/traditional-products-and-appliances/components/on-demand-encoder/manage-jobs#create-a-job). You can add the job after configuring Watchfolder.

## Configure the watchfolder

1. Go to **Services** > **Add service** > **Watchfolder**.
2. Name the service.
3. Open **Monitoring**. The folder list is initially empty.
4. Select **Add folder**. Set the [folder path, filename filters, modification date, and maximum subfolder depth](/traditional-products-and-appliances/components/on-demand-encoder/parameters/watchfolder).
5. Select **Apply**. The folder appears in the monitoring list.
6. To monitor another folder, select **Add folder** and configure it.
7. Open **Service Association**. The list is initially empty.
8. Add the encoder services that will process new files. The associated services appear in the list.
9. Save the configuration and exit.
10. Start the **Watchfolder** service.

For each matching file, Watchfolder launches the jobs configured in the associated services.
