Skip to main content
Question

How to enforce file-size limits on file uploads in Moveworks Script Actions?

  • March 6, 2026
  • 0 replies
  • 5 views

Hi team,
I’m trying to enforce a 1MB file‑size limit on file uploads captured through a Moveworks slot. I attempted this using a Script Action, but it appears the approach won’t work because:

  • The location field of an uploaded file is not a valid URL that can be fetched.
  • Script Actions run in a sandbox and cannot directly access Moveworks internal file storage.
  • Because of this, the script cannot read the file bytes or calculate file size, so validation never triggers.

I wanted to check whether Moveworks currently provides any supported method or API to validate file size before sending the file to a destination system via HTTP Action.

Is there an officially recommended pattern or upcoming feature for this?

Thanks in advance for any guidance