Quickbooks

Online accounting software

Go to site

Integrate the Quickbooks API with the MongoDB API

Setup the Quickbooks API trigger to run a workflow which integrates with the MongoDB API. Pipedream's integration platform allows you to integrate Quickbooks and MongoDB remarkably fast. Free for developers.

Insert a document into a collection
 
Try it
Create Account

Creates an account.

 
Try it
Create Bill

Creates a bill.

 
Try it
Create Check

Creates a check, a type of bill payment.

 
Try it
Create Credit Memo

Creates a credit memo.

 
Try it

Connect Quickbooks

return await require("@pipedreamhq/platform").axios(this, {
  url: `https://quickbooks.api.intuit.com/v3/company/${auths.quickbooks.company_id}/companyinfo/${auths.quickbooks.company_id}`,
  headers: {
    Authorization: `Bearer ${auths.quickbooks.oauth_access_token}`,
    "accept": `application/json`,
    "content-type": `application/json`,
  },
})

Connect MongoDB

const MongoClient = require('mongodb').MongoClient

const {
  database,
  hostname,
  username,
  password,
} = auths.mongodb

const url = `mongodb+srv://${username}:${password}@${hostname}/test?retryWrites=true&w=majority`
const client = await MongoClient.connect(url, { 
  useNewUrlParser: true, 
  useUnifiedTopology: true 
})

const db = client.db(database)
// Enter your target collection as a parameter to this step
this.res = await db.collection(params.collection).insertOne({ name: "Luke Skywalker" })

await client.close()