Download a file from S3. IN WORKFLOWS: Files are automatically saved to Node Outputs - no manual save step needed. By default, automatically extracts text from supported document formats (PDF, DOCX, PPTX, XLSX) and includes it in the response. Text files (TXT, CSV) do not need extraction. STREAMING IS PREFERRED: Use stream=true (default) to get a pre-signed downloadUrl for efficient downloading of large files. Only use stream=false for small files (<2MB) that need immediate processing.
Download a file from S3. IN WORKFLOWS: Files are automatically saved to Node Outputs - no manual save step needed. By default, automatically extracts text from supported document formats (PDF, DOCX, PPTX, XLSX) and includes it in the response. Text files (TXT, CSV) do not need extraction. STREAMING IS PREFERRED: Use stream=true (default) to get a pre-signed downloadUrl for efficient downloading of large files. Only use stream=false for small files (<2MB) that need immediate processing.Parameters:
Parameter
Type
Required
Default
Description
bucket
string
Yes
—
Name of the S3 bucket
key
string
Yes
—
Object key/path of the file to download
stream
boolean
No
true
RECOMMENDED: true (default). Returns a pre-signed downloadUrl for efficient streaming. Set to false only for small files (<2MB) requiring immediate base64 content.
expiresIn
number
No
3600
Expiration time for the pre-signed URL in seconds (default: 3600 = 1 hour). Only used when stream is true.
extractText
boolean
No
true
Automatically extracts text from supported formats (PDF, DOCX, PPTX, XLSX) and includes it in the response. Text files do not need extraction. Set to false to skip extraction.
Show inputSchema
{ "type": "object", "properties": { "PCID": { "type": "string", "description": "Pink Connect ID" }, "bucket": { "type": "string", "description": "Name of the S3 bucket" }, "key": { "type": "string", "description": "Object key/path of the file to download" }, "stream": { "type": "boolean", "default": true, "description": "RECOMMENDED: true (default). Returns a pre-signed downloadUrl for efficient streaming. Set to false only for small files (<2MB) requiring immediate base64 content." }, "expiresIn": { "type": "number", "default": 3600, "description": "Expiration time for the pre-signed URL in seconds (default: 3600 = 1 hour). Only used when stream is true." }, "extractText": { "type": "boolean", "default": true, "description": "Automatically extracts text from supported formats (PDF, DOCX, PPTX, XLSX) and includes it in the response. Text files do not need extraction. Set to false to skip extraction." } }, "required": [ "PCID", "bucket", "key" ]}