Back to the blog

Files vs Notes and Attachments: where generated docs land in Salesforce

Product Updates 6 min read 1 December 2026

The problem — where did the contract go, and why did it fail?

Users generate a 60‑page agreement from the Opportunity and then ask why they can’t find it on the Contract record. Or the send-for-signature step fails with a size error. As an admin you need simple rules: where generated documents are stored, who sees them, and what to do when a document is larger than Salesforce’s Notes & Attachments limit.

This post walks you through the Files vs Notes and Attachments decision, what to check in your template settings, and the small changes you make in the org so users never lose a merge or a signed PDF back to record.

Files vs Notes and Attachments: which to use and why

Short answer: use Files for larger, modern documents; Notes & Attachments remains an option for very small legacy needs. Savvy DocuGen can file the finished document on the record either as Salesforce Files or as Notes & Attachments, per template. But Salesforce itself caps Notes & Attachments at 25 MB and that limit can’t be raised.

Two concrete numbers to keep in mind:

  • Notes & Attachments: capped at 25 MB by Salesforce and cannot be raised.
  • Savvy DocuGen document size support: up to 40 MB per document.

So if your template can produce a 30 MB or 35 MB PDF (a 60‑page agreement with images commonly reaches this), you must use Files. If you try Notes & Attachments for that document the upload will fail; the user gets an error and the generated PDF isn’t saved.

signed PDF back to record: what happens after signature

When you send through your Circularo account, the signed PDF is written back to the same record that started the run. That final file follows the same template-level storage setting: it will be saved to Files or Notes & Attachments according to how the template is configured. If the signed output is over 25 MB it needs Files.

For admin workflows this means: set the template to Files if you expect large signed bundles, and confirm your page layouts and related lists show Files where users look for signed agreements.

Example scenario

Hypothetical: your Customer Success team sends 200 renewal contracts a month. Each contract is a 60‑page Document that typically arrives at ~28–32 MB after merge and signing. If templates are left set to Notes & Attachments many of those runs will fail at upload time or the signed file will be missing. Switching the template to Files prevents that failure and stores the signed PDF on the Account, Opportunity or Contract record where people expect to find it.

What to check in the org — a short admin checklist

Do these four checks now. Each is quick and fixes the majority of storage surprises.

  • Confirm template storage setting — In the template configuration choose whether this template files to Salesforce Files or Notes & Attachments. Use Files for anything over 20 MB or anything you expect to bundle.
  • Update page layouts — Add the Files related list (or Files Lightning component) to the Opportunity, Contract, Quote or custom __c pages where users search for documents. Admins know users look in the wrong related list all the time.
  • Check user permissions — Ensure users who generate or retrieve docs have permission to view and add Files. Files uses different permission sets than classic Notes & Attachments.
  • Bundle and size policy — If you bundle several templates into one signature run (Savvy DocuGen supports bundles), estimate the combined size. Bundles can push you over 25 MB even when each single template is under the threshold.

Quick Flow/button tip

If you trigger DocuGen from a Flow or a Quick Action, make the intended storage type obvious in the button label or Flow screen. For example:

Button: "Merge & Save (Files)"
Flow Screen: "Save generated doc to Files"

That reduces calls to the help desk when a run fails for size reasons.

What to do when you hit the 25 MB wall

If a run fails because the target was Notes & Attachments, change the template to save to Files and re-run. If you’re unsure which templates produce large output, run a few sample merges from a sandbox record with realistic data — images, line-item tables for Quote or Opportunity, or extra clauses on Contract.

Remember: Savvy DocuGen supports documents up to 40 MB. If a merged file is larger than that you'll need to reduce embedded images or split content across templates and use bundles instead of a single huge document.

Visibility, retention and sign-back considerations

Files are the modern standard — they support previews, sharing, and are visible in the Files related list and in Lightning search. Notes & Attachments is legacy and doesn’t handle big files. Also check that your template workflow writes the signed PDF back to the same record so sales, legal and finance all see the final signed file on Opportunity, Contract or Account.

Two small admin-friendly facts to remember:

  • Savvy DocuGen writes the signed PDF back to the same record it started from.
  • Anchor-tag signature positions survive repagination, so signature placeholders don’t break when a document grows in length.

If your security team asks: there’s no managed package to install and the connector uses an authorised connection. It also works exactly the same in sandboxes as in production, so you can test these storage settings safely before you change them in your live org.

Savvy DocuGen gives you a clear choice per template and writes signed PDFs back to the originating record. Set templates that produce long or image‑heavy documents to save to Files, update layouts and permissions, and your users won’t lose merged or signed documents any more.

Try this in your sandbox now: pick a real Contract or Opportunity with full data, merge the template saved to Files, and verify the signed PDF appears on the record after a signature run.

Read next