---
title: "Enable custom scripts in document automation"
canonical_url: "https://www.nutrient.io/guides/document-automation-server/content-extraction/custom-scripts/enabling-custom-scripts/"
md_url: "https://www.nutrient.io/guides/document-automation-server/content-extraction/custom-scripts/enabling-custom-scripts.md"
last_updated: "2026-05-25T18:42:17.671Z"
description: "Learn how to enable custom scripts in your document automation jobs by adjusting settings and adding a valid .wsf file path."
---

# Enable custom scripts for automation tasks

To enable custom scripts in a job, you should:

- Go to **Job Settings -> Advance Settings -> Other settings**.

- Turn on the **Execute the script below after each file** setting.

- Enter or paste a valid `.wsf` file path in the **Custom Script File** textbox or use the file browser to select the file.![Enable Custom Scripts](@/assets/guides/document-automation-server/content-extraction/image116.png)

The above steps help execute a script named `C:\Aquaforest\Kingfisher\custom\stamp.wsf` after each file.

---

## Related pages

- [Explore custom scripts for document automation](/guides/document-automation-server/content-extraction/custom-scripts/custom-scripts-samples.md)
- [Efficient content extraction with custom scripts](/guides/document-automation-server/content-extraction/custom-scripts/custom-script-arguments.md)
- [Harnessing custom scripts in document automation](/guides/document-automation-server/content-extraction/custom-scripts.md)

