Create or update a QuickBooks customer from Salesforce

UtilitiesCRMMarketingSalesAccountingFinance

What it does

When someone calls this automation with a Salesforce Invoice ID, it retrieves the invoice and PDF settings from Salesforce. If no matching customer exists in QuickBooks, it creates one; otherwise it updates the record so billing stays current.

Who it's for

Accounting teams who need to sync Salesforce invoices to QuickBooks without manual entry.

How teams use this

Sync a new Salesforce invoice to QuickBooks

Call this automation when a deal closes in Salesforce so the customer is created in QuickBooks right away. The invoice details flow over automatically and billing is ready to go.

Route invoices to a sales operations channel

Invoke this automation from a sales operations workflow so closed deals become QuickBooks customers without the Accounting team running it manually. The same logic applies to a different team.

Check for a generic account before creating

Add a condition to filter invoices so only those without a generic account flag are synced to QuickBooks. Invoices marked generic stay in Salesforce until someone assigns a real customer.

Update existing customers with new invoice data

Set the automation to update a QuickBooks customer when the same invoice is called again, so billing address and contact details stay in sync with Salesforce.

How it works

  1. Receive the Salesforce Invoice ID. A call arrives with a Salesforce Invoice ID to start the sync between Salesforce and QuickBooks.
  2. Fetch invoice and PDF settings. Retrieve the invoice details and PDF settings from Salesforce using the Invoice ID so the customer record has current billing information.
  3. Search for the customer. Search QuickBooks for a customer that matches the invoice so a duplicate record is not created.
  4. Create or update the customer. If the customer does not exist, create it in QuickBooks with the invoice details. If it exists, update the record with current information from Salesforce.
  5. Return the result. Reply with the customer ID or the default generic account name so the caller knows the sync succeeded.