Create/Call Webhooks when Lead is created. | Community
Skip to main content
Tayyab_Ali
Level 2
November 14, 2018
Question

Create/Call Webhooks when Lead is created.

  • November 14, 2018
  • 1 reply
  • 3360 views

We need to call a Web-hook when a lead is created. We need to send lead to an other CRM, when it's created.

How this can be achievable?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Ronen-Was-SRpro
Level 5
November 14, 2018

It is possible.

You need to define the webhook properly with the correct details from all parties, also to be sure that the fields are referring to each other.

Feel free to contact us in person to get more information.

Ronen Wasserman
Tayyab_Ali
Level 2
November 14, 2018

In the documentation it's mentioned, how to configure webhooks for Smart Campaigns.

Use a Webhook in a Smart Campaign - Marketo Docs - Product Documentation

But I want to configure webhooks at the event when a new Lead is creto ated and when Lead is updated.

I need to sync the data entered data with MS Dynamics CRM. When a lead is created/updated in Marketo, it should also be created/updated in MS Dynamics CRM.

I am unable to find, where or which event I have to register webhooks.

For Smart Campaigns, seems like this can done as:

SanfordWhiteman
Level 10
November 14, 2018

This isn't really a webhook-related question; it applies to any trigger campaign setup, and the place to start is always a person's Activity Log. That's where you model the activities you want to trigger on.

In this case the activities would in theory be New Person, plus Data Value Changes triggers for all the fields you wish to sync.

However, this is not going to be workable in practice. You can't call a webhook on every individual field change because it will overwhelm not only Marketo but most likely your CRM as well.

Instead what you need to do, if indeed a webhook is the only way to relay data, is set up a batch-to-trigger config.  You have a batch that runs once daily, filtering on people either Created At or Updated At today.  That batch calls Request Campaign against a trigger campaign. The trigger campaign calls the webhook. (Batches cannot call webhooks directly.)

I still would be wary of such an arrangement unless you can be assured (and who can be?) that your volume will be low, say no more than 50,000 leads updated in a given day. I'm every bit the superfan of webhooks but you have to know when not to use them.