Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello everyone,
We are using a CRM application (Zoho) which is able to send events (to a defined URL) when a modification occurs in the system (e.g. an account is created, a quote is deleted, etc.).
Our question: how can we receive/catch these events through a Talend ESB route? Which is the route design and which Camel components need to be use? Is Jetty through cmessagingendpoint component could be suitable?
Thanks in advance for your help.
Regards,
Eric M.
It sounds like you are talking about webhooks here. You would probably want to use a web service rather than a route I think. Routes are far more complicated than web services, but they are both real time.
When Zoho does something, if you have a webhook configured for that event, it will call the URL you've configured.....your web service. Zoho will send any data that you've configured, to the web service and the web service would process that data in whatever way you need.
Thanks a lot rhall for your quick and clear answer.
If we understand corretly, Zoho notifications will just sent API requests through the URL provided when an event occurs. And Webhooks are Rest Web Services (the URL provided) which will be call by the events (equivalent to triggers).
As Webhooks are not available in the free edition of the Zoho CRM, I guess that we can imagine to create and use our own Rest Web Services in Talend (tRESTRequest -> tREST -> tRESTResponse in a job)? In this case, how can we expose to Zoho (SaaS) our local enpoint (http://localhost:8088/)? Through public IP?
Another possible design: in a Talend route, use a cREST as listener (URL call by Zoho event when an event occurs, e.g. http://localhost:8088/) followed by another cREST component to query Zoho (GET). Is it possible and/or reasonable?
Thanks in advance!