ZohoCRM & Xero Real-Time Invoices: Receive Webhook
- Joel Lipman
- Zoho
- Hits: 2809
So this is an article expanding on my article Zoho Deluge - Connect to Xero API and explores how instead of a schedule, we can get Xero to tell ZohoCRM whenever an invoice or contact gets updated in Xero.
Why?
I used to use ZohoCRM schedules to pull when an invoice has been paid, but ZohoCRM schedules run only every 2 hours. You can set up 2 schedules: one that runs on even hours and one that runs on odd hours to change this to every hour. It's not enough for some, so the below details on how you can get Xero to tell Zoho when a contact or invoice has been updated immediately.
How?
Here's an overview of how we achieve this:
- Set up a Zoho CRM function to receive the webhook.
- Setup a webhook in Xero.
- [Optional for Method #2] Setup a PHP script on a server that will validate the Xero webhook.