Save To File
Outputs
Save To File
Save text content as a downloadable file.
POST
Save To File
Authorizations
Bearer token from your account (https://agent.ai/user/integrations#api)
Body
application/json
Enter the output file type (i.e. PDF).
Available options:
pdf, docx, html, md, odt, tex, azw3, epub, png Example:
"pdf"
Provide the content to be saved in the file, including text, bullet points, or other structured information.
Example:
"# Sample Document\n\nThis is a sample document content that will be saved to a file."
Provide a variable name to store the file URL to.
Pattern:
^[a-zA-Z0-9_]+$Example:
"saved_file"

