close.uploadFile uploads a Blob to Close and returns the temporary URL required by attachment inputs.
automations/upload-close-file.automation.ts
Inputs
Providefile and filename. Set contentType when the Blob has no media type. Optional second argument { account } selects a named Close binding.
Output
Returnsurl, filename, contentType, and size. Close upload URLs expire after 24 hours, so use the result in an attachment promptly.