Skip to content
Pages · Examples

Meet Brightline Office Supply

The people#

Priya, finance manager

Wants customers and vendors in QuickBooks without retyping, and wants to find every failed sync in the morning.

Marco, account executive

Signs new customers. Should never have to think about QuickBooks.

Dana, VP of Sales

Wants an invoice the moment a deal closes, and her reps to see who has paid.

Omar, purchasing lead

Approves purchase orders that should become bills, but not the small ones paid by card.

What we will build#

RequestEntityFromPage
New customers appear in QuickBooks, never prospectsCustomerAccountNew customers flow to QuickBooks
Installers become vendors, city in the nameVendorContactInstallers become vendors
An invoice when a deal closesInvoiceOpportunity and its productsAn invoice when a deal closes
Sales sees who has paidInvoice and Customer (Inbound from QuickBooks card)Payments and changes recorded in QuickBooksSales sees who has paid
Approved purchase orders become billsBillPurchase Order and its lines (custom objects)Approved purchase orders become bills
When things go wrongAllFailures on purpose, deletes and retriesWhen things go wrong
flowchart LR
  subgraph SF["Salesforce at Brightline"]
    AC["Account, Type Customer"]
    CO["Contact under Installer Network"]
    OP["Opportunity and its products"]
    PO["Purchase Order and its lines"]
  end
  subgraph QB["QuickBooks Online"]
    CU["Customer"]
    VE["Vendor"]
    IN["Invoice"]
    BI["Bill"]
  end
  AC --> CU
  CO --> VE
  OP -->|"at Closed Won"| IN
  PO -->|"when approved"| BI
  IN -.->|"payments come back"| OP

Do them in this order: invoices need their customers, and bills their vendors, to be in QuickBooks first.

How to follow along#

  • A Salesforce sandbox with QB Bridge installed and connected to a QuickBooks sandbox company (Connect to QuickBooks). Never use your live QuickBooks company for practice.
  • You have QB Administrator, and Salesforce rights to create fields, objects, Flows and actions (System Administrator, or Customize Application).
  • The Brightline data model: Accounts (Account Type values that start with Customer, such as Customer - Direct), Contacts, Opportunities with products in an active price book, and two custom objects for purchasing (described there).
  • Add the QB Bridge Sync History component to the record pages you use: it shows each record's sends as you go.

Where to next#