Actions31
File → Upload / Create
AI-generatedSummary
Upload a file to the Vapi platform by providing the file content as binary data, text, or via a URL. Customize the uploaded file's name, MIME type, purpose, and metadata before sending it as a multipart upload to Vapi.
Inputs
- Upload Source (required) — Select the source type of the file to upload: binary data from the workflow input, plain text content, or a downloadable file via URL.
- Binary Property (required) — When using binary data as the upload source, specify the binary property name that contains the file to upload.
- File URL (required) — When using URL as the upload source, provide the URL to fetch and upload as a file.
- Text Content (required) — When using text content as the upload source, provide the text that will be uploaded as a file.
- File Fields — Optional fields for the uploaded file, including file name (defaults to 'vapi-upload.txt'), MIME type (defaults to 'text/plain'), purpose (defaults to 'knowledge_base_upload'), and custom JSON metadata.
- Advanced Raw Body (JSON) — Additional JSON fields to merge into the multipart upload body that override structured values.
Output shape
a single record containing the uploaded file's response JSON data
Returns the details of the uploaded file from the Vapi API. If multiple files are uploaded in batch mode (multiple input items), returns an output item per upload. Errors capture detailed Vapi API error information.