6

I need to create a webhook for salesforce in data insertion from external system(chargebee) for every event that occurs in chargebee that will hit the webhook URL to send notification in salesforce. any idea how to start on it...

2

IMHO you should hit the REST API in your webhook, sending the data that you need to insert to a customObject or whatever you need to upsert.

In addition, if you need to run any logic or convert your external data, you could use a trigger before/after insert the object by REST API.

Take care with API governor limits.

| improve this answer | |
  • Would you expand on your answer and explain why you prefer the REST API to using SOAP? – Mike Chale Jun 19 '13 at 13:43
  • I think webhooks are by default a HTTP request... REST API seams to me the natural call receptor. – Martin Borthiry Jun 19 '13 at 13:48
  • I have never worked on webhook before can you provide a snippet how to start in salesforce...any help will be highly appreciated...!!! – miku Jun 20 '13 at 4:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.