Skip to main content
Level 3
Mar 20, 2023 6:17 AM UTC
Question

Can we create a webhook for importing data in my custom object from the person's record ?

Hi All,

My query is can we create a webhook which would dynamically import the data (let say a lead's email address) from Marketo database and post it into my Marketo custom object field (let say custom email address) when he/she fills out a form?

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

4 replies

Darshil_Shah1
Adobe Champion, Community Advisor, UG Leader
Adobe Champion, Community Advisor, UG Leader
Mar 20, 2023 6:34 AM UTC

If you have a webhook-compatible service that could do that for you, then I don't see a reason why you can't do that (Sandy's Flowboost would be a great fit here IMO)! Basically, you'd want to pass the necessary lead info along with the necessary data for creating a custom object record from Marketo to the service which can then call Marketo's CO APIs to create a CO record. The service would need to make multiple calls to Marketo to get an access token (in case the previously cached token isn't valid) and then to create a custom object record. Additionally, it'd be a good idea to save all values from the form post to a single field and then pass it to the service! Check out Sandy's article regarding that here. 

 

Translate
MMundra1Author
Level 3
Mar 20, 2023 7:45 AM UTC

HI @darshil_shah1 , thanks for your response. Just to let you know that I played to post the data (Custom email address, custom id) via "import custom object data" in my defined custom object and it worked well. 

However, I was actually trying to figure it out if we can somehow do this via automation (like webhook etc) where the custom object record gets created (and custom fields with values) and mapped with the correct lead id when a form fillout happens.

But as you mentioned, it requires a webhook compatible service to get the job done and cannot be achieved via Marketo itself.

Translate
Mahak Mundra
Darshil_Shah1
Adobe Champion, Community Advisor, UG Leader
Adobe Champion, Community Advisor, UG Leader
Mar 20, 2023 9:01 AM UTC

Not something that could be done via Marketo UI only! However, this is doable using webhook and would require some development effort. You can call the webhook from the trigger campaign that listens for the form-fill activity.

 

Translate