Send DocuSign document for Salesforce opportunity

CRMMarketingSalesOnline document managementE-signature solutionAccounting

What it does

When someone creates an opportunity in Salesforce, this automation sends a document for signing in DocuSign. Once signed, the opportunity is marked won and an invoice is created in Xero.

Who it's for

Sales operations teams who need to automate quote delivery and invoice creation from new opportunities.

How teams use this

Automate quote delivery to new prospects

Send a quotation document for signing as soon as an opportunity is created, so the customer receives it immediately without manual steps. The sales team stays in Salesforce while the process runs in the background.

Sync signed quotes to accounting

When a customer signs the DocuSign document, the automation marks the opportunity won and creates an invoice in Xero. Accounting sees the signed quote and invoice at the same time.

Filter invoices by opportunity stage

Add a condition to check the opportunity stage or amount before creating the Xero invoice, so only qualified deals generate accounting records. Set filters to only send documents to contacts with an email address.

Route documents by customer type

Extend the flow to check a custom field on the opportunity and send different document templates in DocuSign based on whether the customer is a prospect or existing account. Include logic to route each template to the right contact.

How it works

  1. Opportunity is created in Salesforce. A new opportunity record is added to Salesforce with customer and deal details so the automation can retrieve related information.
  2. Retrieve documents and contacts from Salesforce. Fetch attachments, notes, Google Docs, and related contact information from the Salesforce opportunity so the quote has all needed details.
  3. Send document for signing in DocuSign. Create and send the quotation document to the customer contact in DocuSign for signature and delivery.
  4. Create invoice in Xero. Once the document is signed, create an invoice in Xero with the opportunity details as a single line item for accounting.