DocuSign Integration with Salesforce

---

title: DocuSign Integration with Salesforce

description: Salesforce admins search 'docusign integration with salesforce' when Opportunity stages should trigger contracts and signed PDFs should land on the record..

date: 2026-06-16

updated: 2026-06-16

---

Salesforce admins search "docusign integration with salesforce" when Opportunity stages should trigger contracts and signed PDFs should land on the record. DocuSign ships a managed package on AppExchange. This guide explains the native connector, common limits, and how Atlas fits when engineering wants REST webhooks without seat tax on automation.

Share: DocuSign for Salesforce is the default enterprise path. Atlas fits custom Apex when reps still need review before send.

Native DocuSign for Salesforce

DocuSign integration with Salesforce typically means the DocuSign eSignature for Salesforce app from AppExchange. Setup includes:

  • Admin installs managed package
  • Maps Salesforce objects (Opportunity, Quote, Contract, custom) to DocuSign envelope configs
  • Assigns DocuSign seats to users who send
  • Configures layout buttons and Lightning components

Standard flow:

  1. Rep clicks Send with DocuSign on Opportunity
  2. DocuSign envelope creates from template or uploaded file
  3. Signers receive email links
  4. Completed envelope writes status and files back to Salesforce

DocuSign publishes admin guides and release notes under DocuSign Support for Salesforce-specific field mappings.

Licensing and seats

DocuSign for Salesforce inherits DocuSign seat licensing. Every rep who triggers sends from Salesforce usually needs a DocuSign user license unless your contract includes API-only patterns outside the managed package.

Integration middleware and Flow callouts still often authenticate as a named DocuSign user. Budget seats for automation identities separately from human reps.

See DocuSign API pricing for envelope math alongside seat rows.

Common Salesforce objects mapped

Salesforce objectTypical DocuSign use
OpportunityMSA, order form, SOW
QuoteCPQ-generated PDF
ContractRenewal amendments
AccountMaster agreements
Custom objectPartner agreements, NDAs

DocuSign status fields sync envelope state. Files attach as ContentDocument or related lists depending on package version.

Limits teams hit on native integration

Template governance split. Legal owns DocuSign templates. RevOps owns Salesforce stage names. Drift breaks one-click sends.

Multi-signer order. DocuSign routing maps to Salesforce contact roles. Missing roles stall envelopes.

Sandbox refresh. DocuSign sandbox accounts and Salesforce sandboxes must pair correctly or OAuth breaks.

API-only sends. When engineering wants server-triggered envelopes without rep clicks, teams often bypass the managed package and call DocuSign REST from Apex anyway.

Atlas pattern for Salesforce (no managed package)

Atlas does not ship AppExchange package today. Supported pattern mirrors Salesforce e-sign with Atlas:

Opportunity stage change → Flow or Apex
  → POST /api/envelope (PDF or DOCX)
  → Store review_url on custom field
  → Rep or ops opens review, clicks Send
  → Atlas webhook updates stage + attaches signed PDF

Custom fields on Opportunity:

FieldTypePurpose
Atlas_Envelope_Id__cTextUUID from create
Atlas_Review_URL__cURLHuman send link
Atlas_Sign_Status__cPicklistDraft / Pending / Signed
Atlas_Signed_PDF__cURLLink after sign

Apex callout example

HttpRequest req = new HttpRequest();
req.setEndpoint('https://atlaswork.ai/api/envelope');
req.setMethod('POST');
req.setHeader('Authorization', 'Bearer ' + atlasApiKey);
req.setHeader('Content-Type', 'application/json');
req.setBody(JSON.serialize(new Map<String, Object>{
  'document_url' => docUrl,
  'webhook_url' => 'https://your-middleware.example/sf/atlas',
  'metadata' => new Map<String, Object>{
    'external_id' => opp.Id,
    'client_reference_id' => opp.Id
  },
  'parties' => new List<Object>{
    new Map<String, Object>{
      'email' => contactEmail,
      'name' => contactName,
      'role' => 'Customer'
    }
  }
}));

Verify X-Atlas-Signature on webhook POST before updating Opportunity stage.

DocuSign vs Atlas on Salesforce

FactorDocuSign for SalesforceAtlas + Apex/Flow
AppExchange appYesNo (REST glue)
Seat licensingPer sender typicalAPI key, no seat for bot
Review before sendTemplate-dependentreview_url default
MCP agentsWrapper requiredNative tools
Legal familiarityHighPilot on one doc type

When legal mandates DocuSign org-wide, keep DocuSign on rep-driven sends. Run Atlas on engineering-owned or agent-owned envelopes in parallel during pilot.

Middleware webhook handler

Your Heroku, AWS Lambda, or Vercel worker receives envelope.signed:

  1. Parse metadata.external_id for Opportunity Id
  2. Download signed PDF from Atlas
  3. Attach ContentVersion to Opportunity
  4. Update stage to Closed Won or custom signed stage

Store envelope_id on the record for support traces.

Flow-triggered create

Record-triggered Flow when Stage equals Contract Sent:

  1. Get primary Contact email from Opportunity Contact Role
  2. Call Invocable Apex or External Service (import OpenAPI from https://atlaswork.ai/openapi.json)
  3. Write review URL to Opportunity
  4. Optional Slack notify rep to open review

Do not auto-send until legal trusts the document shape. Templates can use POST /api/templates/{id}/send with auto_send when ready.

Testing checklist

  1. Sandbox Opportunity with test Contact
  2. Trigger Flow with sample PDF URL
  3. Open review_url, confirm fields
  4. Send to mailbox you control
  5. Sign and verify webhook updates stage
  6. Confirm ContentDocument attachment

When to keep DocuSign integration with Salesforce

  • Legal and procurement already signed DocuSign enterprise agreement
  • RevOps trained hundreds of reps on DocuSign buttons
  • CPQ outputs map to DocuSign templates with audit history

When Atlas fits

  • Engineering triggers sends from Flow without buying bot seats
  • You want review_url on ad-hoc PDF or DOCX from generated quotes
  • Agents in Claude should send contracts via MCP

DocuSign comparison for incumbent context. Sign up for five free sends.

DocuSign Integration with Salesforce FAQ

Does Atlas replace DocuSign for Salesforce org-wide? No. Atlas fits custom integrations and dev-led sends alongside mandated DocuSign.

Same keyword as docusign salesforce integration? Yes. This guide is the canonical page for both search phrases.

Experience Cloud signers? Link sign URLs from Experience Cloud pages. Atlas sign pages are hosted at atlaswork.ai/sign.

CPQ integration? Pass CPQ-generated PDF URL as document_url. Confirm fields in review before send.

PDF and DOCX? Atlas accepts both at create. DOCX converts to PDF before signing.

Further reading

FAQ

Does Atlas accept PDF and DOCX?

Yes on every create path.

How do I authenticate?

Bearer API key from dashboard settings.

When do credits get used?

One credit per send, not per upload.

Where is the full API reference?

e-signature API and /openapi.json.