Upload a file
Upload a script or dictionary file and bind it to a workflow.
Use an uploaded file as a workflow’s script instead of inline text. Uploads use a presigned-URL flow (create → PUT bytes → confirm) and require the uploads:write scope.
Categories: script (.txt, .pdf) or dictionary (pronunciation reference audio: .mp3, .wav, .m4a, .ogg, .webm).
What confirm gives you back
For a script .txt / .pdf upload, confirming fills in three fields worth reading:
detected_language is a bare language, not a locale — map it to a supported regional locale before you put it in a node config (en → en-us). It’s null for dictionary uploads and whenever detection didn’t run.
Related
- Script — pointing a script node at an upload

