How to Auto-Attach Documents to Records
Save generated documents to Salesforce Files or Attachments automatically.
Last updated
Was this helpful?
Save generated documents to Salesforce Files or Attachments automatically.
Use auto-attach settings to save documents without manual user steps.
This keeps record files consistent and reduces missed saves.
Create Salesforce File and link to record — recommended for most orgs.
Create Salesforce Attachment and link to record — useful for legacy setups.
Create Salesforce Attachment only when emailed — saves storage for draft-heavy workflows.
By default, related files or attachments can be removed when the S-Doc record is deleted.
Clear Delete related Salesforce Attachment/File upon S-Doc deletion if you need to preserve generated files for audit or retention purposes.
Interface
Lightning-ready
Legacy
Versioning
Supported
Not supported
Sharing
Better sharing controls
Basic
Best fit
New implementations
Legacy integrations
Use Salesforce Files for most new implementations.
Both Files and Attachments count toward Salesforce storage limits.
Review storage usage if you generate documents at high volume.
Use this when your org works primarily in Lightning.
This is the best default for modern document management.
Use this only when another process still depends on legacy attachments.
Use this when many generated documents are drafts and only emailed copies need to persist.
Last updated
Was this helpful?
Was this helpful?

