Search code examples
apisalesforcequickbooksintuit-partner-platform

Trigger an API call after an event takes place in Quickbooks?


Is it possible to trigger an API call after an event takes place in Quickbooks? For example, if a user adds a bill to Quickbooks, it would make an API call to our Salesforce.com app and create a new 'Bill' record in our Salesforce org. This would allow us to use our Salesforce workflow to trigger an approval process for the bill to be paid (approved by manager, create task for bookkeeper, etc), without the bill ever having to be manually input into two separate systems.

I know that I can do it the other way around (input the bill into Salesforce, have it push the record to Quickbooks and simultaneously launch the approval process), however, Quickbooks has the ability to remember vendor/account information that, for large companies, is an invaluable time-saver.

Any idea if it is possible to trigger these events on the Quickbooks side? Thanks!


Solution

  • You can setup a polling service which will keep querying bill entity in certain interval. If it finds a new entry then you can query that using getByID endpoint and enter that bill in your app.

    You can setup a custom integration using QBSDK.

    https://developer.intuit.com/docs/0025_quickbooksapi/0055_devkits/0250_qb

    There is a thread on this in IPP's blog. https://developer.intuit.com/blog/2013/03/11/discussing-webhooks

    Thanks