alexfrench at August 12th, 2015 09:55 — #1
We would like to have a customer provisioned on our own systems when a deal is won. I have looked at the Web Hook docs but they seem to be fired for every single change in data which is excessive for our needs and also seems heavyweight in terms of calls to our server.
Is there a way to be more selective about OnePage calling our web hooks? Or is there a better way to approach this?
liam at August 14th, 2015 04:58 — #2
Our webhooks can't be selected, it is either all or none.
The only thing you could do is try and drop any webhook whose post body doesn't contain
'type':'deal', but this won't solve the issue of a lot of requests reaching your server.
An alternative to webhooks has always been polling for changes. You can make regular requests to our API to check for deals which have been edited since your last request. This could be a great solution if your own system doesn't have to be instantly synced with OnePageCRM. A rate of checking once every 30seconds - 5 minutes would probably be sufficient then and would bring far less load to both of our systems.
The only place where this approach may fall down is if and instantaneous sync is needed, in case your users regularly win a deal and then immediately use you own system to work with the deal there.
We haven't received many requests for this feature, so I can't say it will be implemented anytime soon. But I've added it to our public Trello road map as an idea. If you comment there, it may become a reality sooner rather than later