Save to Library
The Save to Library step saves a document generated by your workflow to a folder in your Library.
Use it to file proposals, invoices or reports in the right folder automatically, without saving them by hand from the History.
Example
An accounting firm sends a monthly intake form to its clients. The workflow:
- Generates a monthly report with a Document step.
- Uses a Save to Library step to save it to the Clients folder with the subfolder "Client Name/Reports".
- Each client's reports end up in their own folder in the Library.
Save document
Settings
| Setting | Description |
|---|---|
| Target Folder | Click Browse to pick a Library folder, or create a new one. By default, the document is saved to the Library root. |
| Subfolder (optional) | A folder path inside the target folder, such as "Clients/2026". Type @ to insert variables, for example "Clients/Client Name". Missing folders are created automatically. |
| Document | The document to save. Pick any document generated earlier in the workflow. |
Behavior
- The document is saved as a reference, not a copy, like any item in the Library. It keeps its name from the Document step.
- Subfolders are matched by their exact name. Existing folders are reused, and missing ones are created.
- If the document is already in the folder, it is not added again.
- The step fails if the target folder was deleted, or if the subfolders would be nested more than 10 levels deep.
Documents saved to the Library are kept until you delete them, regardless of your data retention settings. This also excludes the entire run from data retention.
Output variables
- Document ID - The ID of the saved document.
- Document Name - The name of the saved document.
- Folder ID - The ID of the folder the document was saved to. Empty for the Library root.
- Folder Name - The name of the folder the document was saved to.
- Folder Path - The full path of that folder in the Library, such as "/Clients/Acme".
Use the Folder Path in a later Email step to tell your team where to find the document.
Credits
The Save to Library step is free (0 credits). See Credits.
Related
- Library - organize your work into folders
- Document Step - generate DOCX or PDF files from workflow data
- Workflow Steps - explore other steps to add to your workflow