Actions13
Form → Upload
AI-generatedSummary
Upload a PDF file from workflow binary data to the Instafill.ai platform to add it as a new form in your workspace.
Inputs
- Input Data Field Name (required) — The name of the input data field containing the PDF file to upload
- File Name — Optional name for the uploaded file. If omitted, the original file name from binary metadata is used, or defaults to 'document.pdf'.
Output shape
A single JSON object containing the uploaded form's ID and file name, paired with the corresponding input item.
The uploaded binary input must be a valid PDF file starting with the '%PDF' header; otherwise, an error is thrown. The operation returns the form ID ('id') and file name ('file_name') as JSON.
Examples
Example 1: Upload a PDF stored in a binary field
Set 'Input Data Field Name' to the binary property holding your PDF file, optionally specify a file name to use on upload.