Create Salesforce invoices from closed opportunities

CRMMarketingSalesUtilities

What it does

When an opportunity reaches Closed Won in Salesforce, this automation searches for related invoices, quotes, and account details. It gathers the information needed to create an invoice based on the opportunity and record type.

Who it's for

Accounting teams who need to generate invoices from Salesforce opportunities without manual data entry.

How teams use this

Automate invoice creation from won deals

When an opportunity closes, gather all related invoice, quote, and account information from Salesforce automatically. The team can then create the invoice without searching multiple records.

Route invoices by record type

Check the record type to determine if the opportunity is for individuals or businesses, then route invoice creation accordingly. Only opportunities meeting the date condition proceed to invoicing.

Filter invoices by close date window

Set a condition so invoices are only created when the opportunity close date plus 29 days is greater than the event end date. This ensures invoices are generated only for qualifying opportunities.

Sync invoice data across teams

Pull invoice, quote, and account details from Salesforce into a single view so accounting and sales teams see the same information. No manual data gathering is needed before invoice creation.

How it works

  1. Monitor for closed opportunities. When an opportunity is created or updated in Salesforce and the stage equals Closed Won, this automation starts.
  2. Gather invoice and account data. Search Salesforce for related invoices, quotes, and account details, then retrieve the record type and account ID to determine if the close date plus 29 days exceeds the event end date for invoice eligibility.