Connect to QuickBooks Online in a Microsoft Flow Workflow Using a PowerApps Custom Connector

In this walkthrough, you learn how to connect to accounting data in QuickBooks Online (QBO) in a Microsoft Flow using a Custom Connector.  This approach provides a way to build forms in Microsoft PowerApps that integrate with your accounting data stored in QBO for things like recording employees timesheets, creating invoices, etc.  This walkthrough demonstrates how to update a SharePoint list item from a value in QBO.  Specifically the Flow will look up the customer name based on the customer ID entered in to the SharePoint list item.

 

Prerequisites

Create Postman Collection

One of the easier ways to create a PowerApps custom connector is by importing a Postman collection.  


  1. Start by importing the Postman collection found on the Intuit Developer website in to Postman.  
    https://developer.intuit.com/docs/00_quickbooks_online/2_build/20_explore_the_quickbooks_online_api/20_postman
    Machine generated alternative text:
Microsoft Office Home 
htt s://develo 
Iniuli Developer 
Postman I API Development 
er.intuit.com/dacs/OO_ 
Download Postman 
Search 
Intuit Developer 
lore the uickbooks online a 
Q 
i/20_ 
ostman 
My Apps 
Docs Postman I Intuit 
API Docs & Tools 
Community 
Help 
Hello Eric 
QuickBooks Online 
GET STARTED 
Build 
QuickBooks Payments 
QuickBooks Desktop 
BUILD 
GO LIVE 
API REFERENCE 
RELEASE NOTES 
LEGAL AGREEMENTS 
Authentication and authorization 
Explore the QuickBooks Online API 
API Explorer 
Postman 
Making cans witn tne REST API 
Data queries 
Batch 
Subscription states 
Minor versions 
Change data capture 
Error codes 
Handling common errors 
Weöhooks 
SDKS 
Sample apps and code 
Tutorials 
Sandboxes 
Third-party tools 
Troubleshooting 
Manage your Intuit Developer account 
Postman 
Postman is a powerful HTTP client for testing the QuickBooks Online API by displaying requests and responses in manageable formats. 
Run in Postman 
Run in Postman 
Run in Postman 
QuickBooks Online collection of individual resource endpoints, 
OAuth 20 authorization 
QuickBooks Onli 
n of individual resource endpoints, 
using OAuth 1_0a authorizatiom 
QuickBooks Online orchestrated collection, using OAuth 1_0a 
authorizatiom 
The steps on this page use Postman for Mac, v 5.4_1. 
Using Postman 
Setup 
2 
3 
4. 
5. 
Create an app. 
Download and install Postman: https://www_getpostman.com_ 
Click the Run in Postman button corresponding to the desired collection from the list above. This sets up the Postman UI and downloads the collection. 
Configure the Postman Authorization header. 
Configure an environment that defines variables used in endpoints. A environment template is provided for you in the collection and accessed via Manage 
Environments in Postman settings. Define these variables: 
baseurl 
companid 
use sandbox- quickbooks . api.intuit.com 
Get this value from the sandbox company information on the Manage Sandboxes page 
of your Intuit Developer account Click on B)ur user name and select Sandbox to display
    You could also start with a new collection in Postman if you prefer.
  2.  You should now see the imported collection in Postman
    Machine generated alternative text:
o 
Postman 
File Edit View 
New 
Filter 
History 
Al Me Team 
Item 
Collection 
Import 
History Help 
Runner 
Collections 
New Tab 
GET v 
Authorization 
Builder 
Tests 
Team Library 
SYNC OFF 
No Environment 
Params 
Enter request URL 
Headers 
Pre-request Script 
Sign In 
Save 
Cookies Code 
Postman Echo 
37 requests 
QuickBooks Online V3APl Collect... 
1 68 requests 
Account 
Attachable 
Batch 
Bill Payment 
dget 
ChangeDataCapture 
Class 
Compa nylnfo 
CreditMemo 
Customer 
Department 
Deposit 
Employee 
Estimate 
Exchange Rate 
Invoice 
JournalEntry 
Payment 
Inherit auth from parent 
The authorization header will be automatically 
generated when you send the request. Learn more 
about authorization 
Response 
This request is not inheriting any authorization helper at the moment. Save it in a collection to use the parent's authorization helper. 
Hit the Send button to get a response. 
Do more with requests 
Share 
Mock 
Monitor 
Document
  3. Create a new collection and copy Customer-ReadAll (1) in to your new collection (2)
    Machine generated alternative text:
o 
Postman 
File Edit View 
New 
Filter 
History 
Al Me Team 
Collection 
Import 
History Help 
Runner 
Collections 
Builder 
Team 
Library 
Customer-ReadAII 
Customer-ReadM 
Authorization 
OAuth 2.0 
https://{(baseurl)Vv3/company/{{companyid'r)"'query?minorversion={{minorue rsio n)} 
SYNC OFF 
No Environment 
Params 
Headers (3) 
Body 
Pre-request Script 
Tests 
Sign In 
Examples (O) • 
Save 
Cookies Code 
POST 
GET 
POST 
POST 
POST 
FlowToQBO 
O requests 
Postman Echo 
37 requests 
QuickBooks Online V3APl Collect... 
1 68 requests 
Account 
Attachable 
Batch 
Bill Payment 
dget 
ChangeDataCapture 
Class 
Compa nylnfo 
CreditMemo 
Customer 
Customer-Create 
Customer-Readayld 
Customer-update 
Customer-Delete 
Customer-ReadM 
Department 
Deposit 
Employee 
O Heads up! These parameters hold sensitive data. To keep this data secure while working in a collaborative environment, we recommend 
using variables. Learn more about variables 
The authorization data will be automatically 
generated when you send the request. Learn more 
about authorization 
Add authorization data to 
Request Headers 
P review Req uest 
Response 
Access Token 
eyJlbmMiOiJBMT14QOJDLUhTMjU21iwiYWxnljoiZGlylnO..dgTOi4NBZG... 
Get New Access Token 
Hit the Send button to get a response. 
Do more with requests 
Available Tokens 
Share 
Mock 
Monitor 
Document
  4. Rename the request to QBOQuery and replace the variables in the URL with specific values.  We are accessing a sandbox environment so {{baseurl}} should be sandbox-quickbooks.api.intuit.com.  This examples company ID is 193514574586539 so replace {{companyid}} with your company ID.
    Machine generated alternative text:
o 
Postman 
File Edit View 
New 
Filter 
History 
Al Me Team 
Collection 
Import 
History Help 
Runner 
Collections 
Builder 
Team Library 
POST 
QBOQuery 
QBOQuery 
Authorization 
OAuth 2.0 
https://{(baseurl)Vv3/company/{{companyid'r)"'query?minorversion={{minorue rsio n)} 
Headers (3) 
Body • 
Pre-request Script 
Access Token 
Tests 
SYNC OFF 
No Environment 
Params 
eyJlbmMiOiJBMT14QOJDLUhTMjU21iwiYWxnljoiZGlylnO..dgTOi4NBZG... 
Get N ew Access Token 
Sign In 
Examples (O) • 
Save 
Cookies Code 
Available Tokens 
FlowToQBO 
I request 
QBOQuery 
Postman Echo 
37 requests 
QuickBooks Online V3APl Colle 
1 68 requests 
Account 
Attachable 
Batch 
Bill Payment 
The authorization data will be automatically 
generated when you send the request. Learn more 
about authorization 
Add authorization data to 
Request Headers 
P review Req uest 
Response

    https://{{baseurl}}/v3/company/{{companyid}}/query?minorversion={{minorversion}}
    is updated to
    https://sandbox-quickbooks.api.intuit.com/v3/company/193514574586539/query?minorversion=8

    If you are accessing a production QBO environment replace {{baseurl}} with quickbooks.api.intuit.com
  5. After you have updated the URL (1) you can “Get New Access Token” (2)
    Machine generated alternative text:
o 
Postman 
File Edit View Collection 
Import 
Filter 
History 
Al Me Team 
History Help 
Runner 
Collections 
Builder 
Team Library 
QBOQuery 
QBOQuery 
Authorization 
OAuth 2.0 
https://sandbox-quickbooks.api. ntuit.com/v3/company/193514574586539/ query? minorversion=8 
SYNC OFF 
No Environment 
Params 
Send 
Sign In 
Examples (O) • 
Save 
Cookies Code 
POST 
POST 
POST 
GET 
POST 
POST 
FlowToQBO 
I request 
QBOQuery 
Postman Echo 
37 requests 
QuickBooks Online V3APl Collect... 
1 68 requests 
Account 
Attachable 
Batch 
Bill Payment 
dget 
ChangeDataCapture 
Class 
Compa nylnfo 
CreditMemo 
Customer 
Customer-ReadAII 
Customer-Create 
Customer-Rea dayl d 
Customer-update 
Customer-Delete 
Department 
Deposit 
Employee 
Estimate 
Exchange Rate 
Invoice 
Headers (3) 
Body 
Pre-request Script 
Access Token 
Tests 
eyJlbmMiOiJBMT14QOJDLUhTMjU21iwiYWxnljoiZGlylnO..dgTOi4NBZG... 
Get New Access Token 
Hit the Send button to get a response. 
Do more with requests 
Available Tokens 
The authorization data will be automatically 
generated when you send the request. Learn more 
about authorization 
Add authorization data to 
Request Headers 
P review Req uest 
Response 
Share 
Mock 
Monitor 
Document 
O
  6. Here are the Get New Access Token values

Callback URL
https://www.getpostman.com/oauth2/callback
Auth URL
Access Token URL
Client ID
[Your QuickBooks Online app Client ID]
Client Secret
[Your QuickBooks Online app Client Secret]
Scope
com.intuit.quickbooks.accounting openid email profile
State
1


  1. Sign in and authorize your app to be used in Postman
    Welcome to Intuit App Center 
File Edit View Collection History Help 
Iniu•i 
quickbooks 
Do" have sn account? Sign up now 
Sign in 
Email or user ID 
ign in with Google 
ehalseyhb@gmail.com 
Password 
Remember me 
Sian In
    o 
Connect to QuickBooks 
File Edit View Collection History 
Iniu•i 
quickbooks 
Help 
Welcome, Eric (Not you?) 
You're almost ready to use QBO Office 365 Access... 
Which company would you like to connect to? 
Sandbox Company_US_1 
Show apps 
Sandbox Company_US_3 
Show apps 
Sandbox Company_US_2 
Show apps
    o 
Connect to QuickBooks 
File Edit View Collection 
History Help 
O 
qtuckbooks. 
Sandbox 
QBO Office 365 Access 
By clicking Authorize, I allow OBO Office 36S Access and Intuit to use my information* in accordance with each 
company's respective terms of service and privacy policy; 080 Office 36S Access's Terms of Service and 
Privacy Policy. Additionally, where applicable, I give QBO Office 365 Access limited access to my QuickBooks 
Payments account to provide me payments-related services. I authorize the sharing of data between Intuit and 
Q30 Office 365 Access. *Information may include data from QuickBooks Online, QuickBooks Desktop and 
QuickBooks Payments. 
Cancel 
turbotax 
"018 Intuit Inc. All rights reserved. 
Iniuli 
quickbooks proconnect 
O mint
  2. Select the newly created Access Token
    o 
Postman 
File Edit View 
New 
Filter 
History 
Al Me Team 
Collection 
Import 
History Help 
Runner 
Collections 
Builder 
Team 
Library 
QBOQuery 
QBOQuery 
Authorization 
OAuth 2.0 
https://sandbox-quickbooks.api. ntuit.com/v3/company/193514574586539/ query? minorversion=8 
SYNC OFF 
No Environment 
Params 
Headers (4) 
Body 
POST 
FlowToQBO 
I request 
QBOQuery 
Postman Echo 
37 requests 
QuickBooks Online V3APl Collect... 
1 68 requests 
Account 
Attachable 
Batch 
Pre-request Script 
Access Token 
Tests 
eyJlbmMiOiJBMT14QOJDLUhTMjU21iwiYWxnljoiZGlylnO..50QShwpwQ... 
Get New Access Token 
Sign In 
Examples (O) 
Cookies Code 
Available Tokens 
Q30Sandbox2 
Manage Tokens 
The authorization data will be automatically 
generated when you send the request. Learn more 
about authorization 
Add authorization data to 
Request Headers 
P review Req uest
  3. Review the query
    o 
Postman 
File Edit View 
New 
Filter 
History 
Al Me Team 
Collection 
Import 
History Help 
Runner 
Collections 
Builder 
Team 
Library 
QBOQuery 
QBOQuery 
Authorization 
O 
form-data 
elect 
https://sandbox-quickbooks.api. ntuit.com/v3/company/193514574586539/ query? minorversion=8 
SYNC OFF 
No Environment 
Params 
Headers (4) 
Body 
Pre-request Script 
Sign In 
Examples (O) 
Cookies Code 
POST 
FlowToQBO 
I request 
QBOQuery 
Postman Echo 
37 requests 
QuickBooks Online V3APl Collect... 
1 68 requests 
Account 
Attachable 
Batch 
Bill Payment 
dget 
O 
x-www-form-urlencoded 
raw 
O 
binary 
Tests 
Text V 
* from Customer startposition I maxresults 5
  4. Send (1) and review your results (2)
    o 
Postman 
File Edit View 
New 
Filter 
History 
Al Me Team 
Collection 
Import 
History Help 
Runner 
Collections 
Builder 
Team Library 
QBOQuery 
QBOQuery 
Authorization 
O 
form-data 
I Select 
https://sandbox-quickbooks.api. ntuit.com/v3/company/193514574586539/ query? minorversion=8 
Headers (4) 
Body 
Pre-request Script 
Tests 
Text V 
POST 
POST 
POST 
GET 
POST 
POST 
FlowToQBO 
I request 
QBOQuery 
Postman Echo 
37 requests 
QuickBooks Online V3APl Collect... 
1 68 requests 
Account 
Attachable 
Batch 
Bill Payment 
dget 
ChangeDataCapture 
Class 
Compa nylnfo 
CreditMemo 
Customer 
Customer-ReadAII 
Customer-Create 
Customer-ReadById 
Customer-update 
Customer-Delete 
Department 
Deposit 
Employee 
Estimate 
Exchange Rate 
Invoice 
O 
x-www-form-urlencoded 
raw 
O 
binary 
* from Customer startposition I maxresults 5 
SYNC OFF 
No Environment 
Params 
status: 2000K 
Body 
Pretty 
Cookies (38) 
Headers (13) 
Preview 
Test Results 
Time: 504 ms 
Sign In 
Examples (O) 
Cookies Code 
Size: 389KB 
Save Response 
"QueryResponse" 
"Customer" : 
"Taxable" : 
"SillAddr": 
true, 
"Country 
"UNITED STATES", 
"CountrySubDivisionCode" : "CA 
"Job": false, 
"SillWithParent": 
false, 
"Salance": 95.5, 
"Salancewith)obs": 95 5 
"CurrencyRef": { 
"value": " 
"name": "United States Ch'llar" 
"PreferredDeIiverymethod": "Print" , 
"domain" : 
"sparse": false, 
"Sync Token": "2" 
"metaData": { 
"CreateTine": 
" LastUodatedTine .
  5. Export the collection
    o 
Postman 
File Edit View Collection 
Import 
Filter 
History 
Al Me Team 
History Help 
Runner 
Collections 
Builder 
Team Library 
POST 
FlowToQBO 
I request 
QBOQuery 
Postman 
37 requests 
QuickBoo 
1 68 requ 
Account 
Attachable 
Batch 
Bill Paym 
dget 
QBOQuery 
QBOQuery 
Authorization 
O 
form-data 
I Select 
https://sandbox-quickbooks.api. ntuit.com/v3/company/193514574586539/ query? minorversion=8 
Headers (4) 
Body 
Pre-request Script 
Share Collection 
Tests 
Text V 
Al 
O 
x-www-form-urlencoded 
O 
binary 
raw 
* from Customer startposition I maxresults 5 
Rename 
Edit 
Add Folder 
Duplicate 
Export 
Monitor C 
Ctrl*E 
Ctrl*D 
Mock Collection 
Publish Docs 
Delete 
ChangeDataCapture 
Class 
Compa nylnfo 
Body 
P retty 
Cookies (38) 
Headers (13) 
Preview 
Test Results
  6. Make sure to select v1 as the collection type
    FlowToQBO will be exported as a JSON file. Export as: 
Collection VI 
O 
Collection v2 
O 
Collection v2.1 (recommended) 
Learn more about collection formats 
Cancel
  7. Navigate to PowerApps in Office 365
    Machine generated alternative text:
O Microsoft Office 
Postman I API D 
Microsoft O 
x 
Download Postr 
Intuit Developer 
Docs Postman 
QuickBooks Onl 
lnPrivatE 
Office 365 
1 
Forms 
Create surveys, quizzes, and polls in minutes. Send them to anyone and easily see results in real time. 
Mail 
use business-class email through a rich and familiar Outlook experience you can access from your desktop or a web browser. 
Newsfeed 
Stay connected to your organization's social pulse while on the go. Easily navigate your news feeds to have meaningful conversations. 
OneDrive 
Store your files in one place, share them with others, and get to them from any device connected to the Internet. 
OneNote 
Capture notes by typing, drawing, or writing. OneNote lets you organize and reuse your notes across all of your devices. 
People 
Organize your contact info for all your friends, family, colleagues, and acquaintances in one place. It's faster than ever to keep in touch. 
Planner 
Create new plans, organize and assign tasks, share files, chat about what you're working on, and get progress updates with Planner. 
PowerApps 
Build mobile and web apps with the data your organization already uses. 
PowerPoint 
Take your presentation to the next level. Design like a professional. 
Security & Compliance 
Meet your organization's legal, regulatory, and technical standards for content security and data use. 
SharePoint 
Share and manage content, knowledge, and applications to empower teamwork, quickly find information, and seamlessly collaborate 
across the organization. 
StaffHub 
Manage your work schedule online. Request time off, swap shifts, and communicate directly with your coworkers and supervisors. 
Sway 
Create and share engaging interactive reports, presentations, personal stories, and more. Sway does the design work for you.
  8. Create a custom connection by importing a Postman collection you exported in 12
    Machine generated alternative text:
O Microsoft Off 
PowerApps 
Home 
Apps 
Lea rn 
Connections 
Custom connectors 
Flows 
Microsoft 
Postman I AP 
Microsoft Off 
x 
Download PO Intuit Develo' Docs Postm 
QuickBooks ( 
lnPrivate 
'Web.powerapps.com/environments/Default-35f1 Odac-e60b-4fc0-b60f-fb4435f3gd7f/custom rce = m 
Environment 
Custom connectors 
ACTO (default) 
Your custom connectors will live here 
111 
Create custom connector 
Create from blank 
Import an OpenAPl file 
Import an OpenAPl from URL 
Import a Postman collectio
  9. Configure General settings
    1. Click here for the connector icon I used.
      Machine generated alternative text:
Microsoft 
Postman I AP 
Microsoft Off 
x 
Q 
O Microsoft Off 
PowerApps 
Home 
Apps 
Lea rn 
Connections 
Custom connectors 
Flows 
Gateways 
Notifications 
Common Data 
Service 
Download PO Intuit Develo' Docs Postm 
QuickBooks ( 
lnPrivate 
'Web.powerapps.com/environments/Default-35f1 Odac-e60b-4fc0-b60f-fb4435f3gd7f/custom rce = m 
Environment 
ACTO (default) 
111 
Connector Name 
General 
QBOQuerySandbox2 
Definition 
V Create connector 
X Cancel 
Security 
> 
Test 
General information 
Add an icon and short description 
to your custom connector. Your 
host and base URL will be 
automatically generated from the 
swagger file. 
General information 
qu•ckbooks 
Upload 
Upload connector icon 
Supported file formats are PNG and JPG. 1 MB) 
Icon background color 
Description 
FlowToQ80 
Connect via on-premises data gateway Learn more 
Scheme 
sandbox-quickbooks.api.intuit.com 
Base URL 
Continue
    2. Security Settings
Client ID
[Your QuickBooks Online app Client ID]
Client Secret
[Your QuickBooks Online app Client Secret]
Authorization URL
Token URL
Refresh URL (same as Token URL)
Scope
com.intuit.quickbooks.accounting openid email profile



Machine generated alternative text:
Microsoft 
Postman I AP 
Microsoft Off 
x 
Q 
O Microsoft Off 
PowerApps 
Home 
Apps 
Lea rn 
Connections 
Custom connectors 
Flows 
Gateways 
Notifications 
Common Data 
Service 
Download PO Intuit Develo' Docs Postm 
QuickBooks ( 
lnPrivate 
'Web.powerapps.com/environments/Default-35f1 Odac-e60b-4fc0-b60f-fb4435f3gd7f/custom rce = m 
Environment 
ACTO (default) 
111 
Connector Name 
QBOQuerySandbox2 
V Create connector 
X Cancel 
General 
Security 
> 
Security 
Definition 
> 
Test 
Choose the authentication type 
and fill in the required fields to set 
the security for your custom 
connector. Learn more 
Authentication type 
Choose what authentication is implemented by your API 
OAuth 2.0 
OAuth 2.0 
Identity Provider 
Generic Oauth 2 
Client id 
QOx6vUwrpYPDGOr08hZqUNbTQNnnxcCa6X2QTJQB2jg8CePb21 
Client secret 
Authorization URL 
https://appcenter.intuitcom/connect/oauth2 
Token URL 
https://oauth.platform.intuit.com/oauth2/v1/tokens/bearer 
Refresh URL 
https://oauth.platform.intuit.com/oauth2/v1/tokens/bearer 
Scope 
com.intuit.quickbooks.accounting openid email profil 
Redirect URL 
Save the custom connector to generate the redirect URL

  1. Definition Settings
    Machine generated alternative text:
Microsoft 
Postman I AP 
Microsoft Off 
x 
Q 
O Microsoft Off 
PowerApps 
Home 
Apps 
Lea rn 
Connections 
Custom connectors 
Flows 
Gateways 
Notifications 
Common Data 
Service 
Download PO Intuit Develo' Docs Postm 
QuickBooks ( 
lnPrivate 
'Web.powerapps.com/environments/Default-35f1 Odac-e60b-4fc0-b60f-fb4435f3gd7f/custom rce = m 
Environment 
ACTO (default) 
111 
Connector Name 
General 
QBOQuerySandbox2 
Definition 
V Create connector 
X Cancel 
Security 
> 
Test 
Actions (1) 
Actions determine the 
operations that users can 
perform. Actions can be used 
to read, create, update or 
delete resources in the 
underlying connector. 
O 
QBOQuery 
New action 
References (0) 
References are reusable 
parameters used by both 
actions and triggers. 
/v3/company/193514574586539/query 
Path 
Path is used together with Path Templating, where the parameter value is actually part of the operation's URL. 
Query 
Query parameters are appended to the URL. For example, in the query parameter is 
mnorversvon 
Headers 
These are custom headers that are part of the request 
13 ser-Agent 
Conte nt-Type 
The body is the payload that's appended to the HTTP request. There can only be one body parameter. 
body 
Response 
It defines the shape of response returned by the underlying connector when making the request. 
default 
default 
Add default response 
Validation 
This helps yau identity potential issues with this action.
  2. Create connector
    Machine generated alternative text:
O Microsoft Off 
PowerApps 
Home 
Apps 
Lea rn 
Connections 
Custom connectors 
Flows 
Gateways 
Notifications 
Common Data 
Service 
Microsoft X 
Postman I AP 
QuickBooks ( 
Microsoft Off 
Download PO 
'Web.powerapps.com/environments/Default-35f1 Odac-e60b-4fc0-b60f-fb4435f3gd7f/custom rce = m 
Environment 
lnPrivate 
ACTO (default) 
V Create connector 
Connector Name 
General 
QBOQuerySandbox2 
Definition 
X Cancel 
Security 
> 
Test 
Actions (1) 
Actions determine the 
operations that users can 
perform. Actions can be used 
to read, create, update or 
delete resources in the 
underlying connector. 
O 
QBOQuery 
New action 
References (0) 
References are reusable 
parameters used by both 
actions and triggers. 
General 
Summary Learn more 
Q80Query 
Description Learn more 
General QBO Query 
Operation ID 
Q 
O GET 
@ POST O p 
This is the unique string used to identify the operation. 
Q80Query 
Visibility Learn more 
O 
advanced 
O 
internal 
O 
important 
Request 
It defines the pre-requirements needed in order to make a request Describes a single operation 
parameter. A unique parameter is defined by a combination of a name and location. 
Request 
Verb 
The verb describes the operations available on a single path. 
O 
DELETE 
O 
pATCH 
URL 
This is the request URL. 
/v3/rnmnanv/19351dS74S86539/m,prv 
Import from sample 
O 
OPTIONS
  3. Add the New connection
    Machine generated alternative text:
Microsoft 
Postman I AP 
Microsoft Off 
x 
Q 
O Microsoft Off 
PowerApps 
Home 
Apps 
Lea rn 
Connections 
Custom connectors 
Flows 
Gateways 
Notifications 
Common Data 
Service 
Download PO Intuit Develo' Docs Postm 
QuickBooks ( 
lnPrivate 
'Web.powerapps.com/environments/Default-35f1 Odac-e60b-4fc0-b60f-fb4435f3gd7f/custom rce = m 
Environment 
ACTO (default) 
111 
Connector Name 
General 
QBOQuerySandbox2 
Definition 
V Update connector 
X Close 
Security 
> 
Test 
Test operation 
Test a specified operation of this 
custom connector using the 
selected connection. You must 
update the custom connector in 
order to test recent changes. 
Operations (1) 
These are the opearations 
defined by your custom 
connector. This includes actions 
and triggers. 
O 
QBOQuery 
Connections 
*Selected connection 
-F New connection 
QBOQuery 
m Inorversvon 
8 
User-Agent 
{W serAgent}} 
Accept 
application/json 
Content -Type 
application/text 
Raw Body 
'body
    Machine generated alternative text:
O Microsoft Off 
PowerApps 
Home 
Apps 
Learn 
Connections 
Microsoft 
Postman I AP 
QuickBooks ( 
Microsoft Off 
x 
'Web.powerapps.com/environments/Default-35f1 Odac-e60b-4fc0-b60f-fb4435f3gd7f/custom rce = m 
Envircrment 
lnPrivate 
111 
TO (default) 
x 
Update connector 
Connector Na 
General 
Test operat 
Test a specified 
custom connector 
QBOQuerySandbox2 
Microsoft 
Cancel 
X Close 
FlowToQ80 
Create
  4. Test your connection and API call
    Machine generated alternative text:
O Microsoft Off 
PowerApps 
Home 
Apps 
Lea rn 
Connections 
Custom connectors 
Flows 
Microsoft 
Postman I AP 
Microsoft Off 
x 
Download PO Intuit Develo' Docs Postm 
QuickBooks ( 
lnPrivate 
'Web.powerapps.com/environments/Default-35f1 Odac-e60b-4fc0-b60f-fb4435f3gd7f/custom rce = m 
Environment 
ACTO (default) 
Custom connectors 
Name 
QBOQuerySandbox2 
Eric Halsey 
111 
+ Create custom connector
    Enter a valid QBO query (1) e.g. select * from customer and Test operation (2)
    Machine generated alternative text:
Microsoft 
Postman I AP 
QuickBooks ( 
Microsoft Off 
x 
Download PO 
/Web.powerapps.com/environments/Default-35f1 Odac-e60b-4fc0-b60f-fb4435f3gd7f/custom rce = m 
Environment 
Q 
O Microsoft Off 
PowerApps 
Home 
Apps 
Lea rn 
Connections 
Custom connectors 
Flows 
Gateways 
Notifications 
Common Data 
Service 
lnPrivate 
Connector Name 
QBOQuerySandbox2 
Test 
Connections 
*Selected connection 
Q80QuerySandbox2 (Created at 
4- New connection 
QBOQuery 
m I norvers•on 
8 
User-Agent 
{{LJserAgent}h 
Accept 
application"son 
Con tent-Type 
application/text 
Raw Body 
Off 
select from customer 
ACTO (default) 
V Update connector 
Test operation 
X Close 
General 
> 
Security 
Definition 
Test operation 
Test a specified operation of this 
custom connector using the 
selected connection. You must 
update the custom connector in 
order to test recent changes. 
Operations (1) 
These are the opearations 
defined by your custom 
connector. This includes 
actions and triggers. 
O QBOQuery
    Confirm you received results in the Body and a 200 status was returned signifying success
    Machine generated alternative text:
Microsoft 
Postman I AP 
Microsoft Off 
x 
Q 
O Microsoft Off 
PowerApps 
Home 
Apps 
Lea rn 
Connections 
Custom connectors 
Flows 
Gateways 
Notifications 
Common Data 
Service 
Download PO Intuit Develo' Docs Postm 
QuickBooks ( 
lnPrivate 
'Web.powerapps.com/environments/Default-35f1 Odac-e60b-4fc0-b60f-fb4435f3gd7f/custom rce = m 
Environment 
ACTO (default) 
111 
Connector Name 
QBOQuerySandbox2 
Test 
Off 
select from customer 
V Update connector 
Test operation 
X Close 
General 
> 
Security 
Definition 
Request 
Status 
(200) 
Headers 
"expires": "O" 
Body 
Response 
"cache-control": "max-age=O, no-cache, no-store must-revalidate, private", 
"content-type": 
' QueryResponse": { 
"Customer": 
' Taxable": true, 
' BillAddr": { 
"Id": "185", 
"Country "UNITED STATES", 
"CountrySubDivisionCode": "CA" 
"Job": false, 
' BillWithParent": false, 
' Balance". 95.5, 
' BalanceWithJobs": 95.5, 
' Curren Ref": 
Schema validation 
Validation succeeded
  5. Close the Connector
    Machine generated alternative text:
O Microsoft Off 
PowerApps 
Home 
Apps 
Lea rn 
Connections 
Custom connectors 
Flows 
Microsoft 
Postman I AP 
Microsoft Off 
x 
Download PO Intuit Develo' Docs Postm 
QuickBooks ( 
lnPrivate 
'Web.powerapps.com/environments/Default-35f1 Odac-e60b-4fc0-b60f-fb4435f3gd7f/custom rce = m 
Environment 
ACTO (default) 
111 
Connector Name 
QBOQuerySandbox2 
V Update connector 
X Close 
General 
> 
Security 
Definition 
Test operation 
Test a specified operation of this 
custom connector using the 
selected connection. You must 
update the custom connector in 
order to test recent changes. 
Test 
Connections 
*Selected connection 
Q80QuerySandbox2 (Created at 
4- New connection
  6. Create the following SharePoint list
    Machine generated alternative text:
O Microsoft C 
Microsoft c 
Listset 
Postman 
Mail - ehal± 
x 
https:// 
actodev3.sharepoint.com 
Download Intuit Devel 
QuickBook 
cs Post 
In Private + 
C SHARE 
FOLLOW 
Home 
EDIT LINKS 
Home 
Notebook 
Documents 
Pages 
Recent 
Timesheets 
Site contents 
Recycle Bin 
EDIT LINKS 
Timesheets 
List Information 
Name: 
Web Address: 
Description: 
General Settings 
a Versioning settings 
Advanced settings 
a Validation settings 
Audience targeting settings 
a Rating settings 
Form settings 
Columns 
Settings 
Timesheets 
https://actodev3sharepointcom/Lists/Timesheets/Allltems.aspx 
Permissions and Management 
Delete this list 
a Permissions for this list 
a Workflow Settings 
Generate file plan report 
Enterprise Metadata and Ke»vords Settings 
a Information management policy settings 
A column stores information about each item in the list The following columns are currently available in this list 
Column (click to edit) 
Title 
Customer ID 
Customer Name 
Modified 
Created 
Created By 
Modified By 
Create column 
Add from existing site columns 
Column ordering 
a Indexed columns 
Type 
Single line of text 
Number 
Single line of text 
Date and Time 
Date and Time 
Person or Group 
Person or Group 
Req uired 
A view of a list allows you to see a particular selection of items or to see the items sorted in a parycular order. Views currently configured for this list 
Communications 
a RSS settings 
Default Mobile View 
View (dick to edit) 
All Items 
https•//actodev3sharepoint.com/_layouts/15/L istGeneraISettings.aspx? List: 
Default View 
Mobile View
  7. Create the following Microsoft Flow
    Machine generated alternative text:
O Microsoft Office Home 
Microsoft Office Home 
Mail - List Settings 
Create your flow 
x 
Intuit Developer 
https:// 
us.flow.microsoft.com/manage/environments/DefaL1t-35f1 Odac-e60b-4fc0-b60f-fb4435f3gd7f/flows/new 
Flow My flows 
Approvals Templates Connectors Leam 
Search templates 
111 
X Close 
Eric Halsey 
ACTO (default) 
Flow name 
Demo MS Flow to QB 
When an item is created 
Site Address 
List Name 
Q30Query 
nunorvers•on 
User-Agent 
Accept 
Content-Type 
Update item 
Site Address 
List Name 
*Title 
Customer ID 
Customer Name 
https://actodev3.sharepoint.com 
Timesheets 
{UserAge nt)} 
application"son 
application/text 
Customer ID x 
select from customer where id 
https://actodev3.sharepoint.com 
V Update flow 
x 
x 
Timesheets 
Title x 
Customer ID X 
body(...) x 
+ New step 
Add dynamic content 
v' Save flow
    Customer Name expression should be set to body('QBOQuery')['QueryResponse']['Customer'][0]['DisplayName']
  8. Add a new item to your SharePoint list and confirm the Customer Name is populated
    O Microsoft Office Home 
Microsoft Office Home 
Mail - ehalsey@actod 
https:// 
actodev3.sharepoint.com/Lists/Timesheets/AIVtems.aspx 
ACTO Team Site - Ti 
x 
Manage your flo'.vs Mi 
Intuit Developer 
111 
Office 365 
p Search 
Home 
Notebook 
Documents 
Pages 
Timesheets 
Site contents 
Recycle bin 
Edit 
Return to classic SharePoint 
SharePoint 
Home 
AT 
New 
ACTO Team Site 
Quick edit 
Export to Excel 
Timesheets 
Test I 
Flow v 
Customer ID 
PowerApps v 
Customer Name 
Eric Halsey 
1.4 
Eric Halsey 
Not following LÉ Share 
All Items v 
Feedback

Comments

  1. This comment has been removed by the author.

    ReplyDelete
  2. This article was very helpful... but some steps are missing in this article which I have found on this article ... Both articles are great but this on have much more details on getting data from QuickBooks Online

    https://www.infobitsoft.com/2019/01/connect-to-quickbooks-online-using-microsoft-flow-powerapps-connector.html

    ReplyDelete
  3. Thank you very much for sharing this informative write-up. Quickbooks Integration

    ReplyDelete
  4. This comment has been removed by the author.

    ReplyDelete
  5. I appreciate this walk through. It was simple enough to follow.
    I implemented this and have been using flow to get customer data from QBO but seem to only be getting 100 customers even though we have many more than 100.
    I use Select * From Customer
    Any help would be great.

    ReplyDelete
    Replies
    1. I found my own answer. I am a newbie at pretty much all programming but perhaps what I found might help someone like me.
      The QBO connector seems to only accept certain SQL statements. I have had success with:

      SELECT * FROM Customer

      This will return the data from all columns from the first 100 rows.

      SELECT Company Name, DisplayName, FullyQualifiedName, ID, MetaData
      FROM Customer
      STARTPOSITION 1 MAX RESULT 1000

      This returns the first 1000 rows with data from the listed columns (Company Name, DisplayName, FullyQualifiedName, ID, MetaData).

      SELECT COUNT (*)
      FROM Customer

      This will give you the number of rows in the customers table.

      Another note: Immediately after you use this connector in flow I have found it useful to run a Select Data Operations action. In the From dialog i put the following expression:
      body('QBOQuerySandbox2')['QueryResponse']['Customer']
      This connector does not include any Dynamic content so you will need to use expressions like item()?['Name'] or item()?['MetaData']?['LastUpdatedTime'] for each desired column.

      Delete
  6. Does this solution requires to get a new token each time before running the flow? I have no luck with this great step by by instruction and not sure where to turn to... :( I'm willing to pay to have someone help troubleshoot this process with me.

    ReplyDelete
    Replies
    1. My experience is that you should not need a new token each time. I have found that once the token is used in flow then it stops working in Postman. Sorry I can't be more help.

      Delete
  7. This comment has been removed by the author.

    ReplyDelete
  8. Very useful content for quickbooks. quickbooks support phone number/ for quickbooks errors.

    ReplyDelete
  9. Thanks for sharing, keep it up
    How to Resolve QuickBooks Error Code: C=147
    Encountered Error C=147?
    Well, it would have occurred due to:
    • Damaged QuickBooks data file.
    • Outdated version of the QuickBooks.

    So, to fix this error:
    You need to download the latest release for QuickBooks.
    This can be done by going to the QuickBooks update option in the file menu of QuickBooks.
    Restart your system, after updating.

    And, you are good to go!! For more help, reach out to QBSsolved at +1(888) 910 1619.

    ReplyDelete
  10.  Quickbooks helps all small and medium sized businesses in their accounting tasks and also helps in maintaining the company files and records etc. However at times, you may face an issue where is unable to verify Financial institution Error. And, this happens when Bank ID is not properly entered or if the program does not recognize the ID code. If you need to know more about this error, you can call Quickbooks enterprise support phone number at +1–888-485-0289.

    ReplyDelete
  11. Despite being an accounting software, QuickBooks may sometimes encounter several errors. QuickBooks update error code is one of them. QuickBooks Update errors usually appear while you try to download updates or during latest upgrades. Occurrence of such errors prevents QuickBooks from downloading updates. If you need to know more about this error, you can call Quickbooks Error support phone number at +1–888-485-0289.

    ReplyDelete

  12. This is a nice informative post.
    If you want to go to QuickBooks File Doctor download page directly and see how you can get it installed on your computer.

    ReplyDelete
  13. To resolve Quickbooks unable to verify financial institution error:
    Method 1: Open QB file with Excel.
    You need to browse to the 20th line 2002 after opening the file in MS Excel.
    Then get the last four digits to 3000.
    Save these changes and get the file uploaded to Quickbooks.

    Method 2:
    Open the fidir.txt file and run it in the notepad.
    Then, you have to browse for C:\Program Data\20XX\filist and also the bank’s name MB financial/
    Make sure to note down the 4 sets of numbers - “1-888-910-1619”.
    Locate , or through the notepad.
    Also ensure to change the numbers which are near the characters with the number associated with FIDIR.
    Open the company file and then import it.
    1-888-910-1619

    ReplyDelete
  14. Thanks for sharing informative information, get quick response, connect with Quickbooks Enterprises support at +1(855)-738-0359, our team of experts will help you get rid of QuickBooks Error Missing Name List Problem and others QuickBooks software issues. Call now!

    ReplyDelete
  15. Do you know how to choose the right size mountain bike? Continue reading and we'll walk you through the steps. Mountain bike sizing differs significantly from road bike sizing and other types of bikes for riders with different cycling backgrounds. Check out our article if you want to learn more about today's mountain bike market and what to look for when buying one 17 inch mountain bike frame from here.

    ReplyDelete
  16. I don't understand why QuickBooks doesn't publish their official Power Automate Connectors like other software vendors. That would save a lot of trouble...

    ReplyDelete

Post a Comment