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#
| Request | Entity | From | Page |
|---|---|---|---|
| New customers appear in QuickBooks, never prospects | Customer | Account | New customers flow to QuickBooks |
| Installers become vendors, city in the name | Vendor | Contact | Installers become vendors |
| An invoice when a deal closes | Invoice | Opportunity and its products | An invoice when a deal closes |
| Sales sees who has paid | Invoice and Customer (Inbound from QuickBooks card) | Payments and changes recorded in QuickBooks | Sales sees who has paid |
| Approved purchase orders become bills | Bill | Purchase Order and its lines (custom objects) | Approved purchase orders become bills |
| When things go wrong | All | Failures on purpose, deletes and retries | When 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"| OPDo 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#
- New customers flow to QuickBooks: the first request