Handling Custom Business Object fields in Webbooks | Community
Skip to main content
Senthilkumar-S
Level 2
June 9, 2023
Solved

Handling Custom Business Object fields in Webbooks

  • June 9, 2023
  • 1 reply
  • 1870 views

Hi Team,

Please assist with this query.

We would like to add Custom business object fields like appointment location, type of appointment and related information in webhooks.  As we know, only profile-level fields can be added under Webhooks, we would like to have the same option for CBO fields as well as our business model works that way.  

Has anyone come over with this kind of setup to enable CBO in Webhook? Is there any custom solution available? 

Please suggest what's the best way to set this up. 

Regards,

Senthilkumar.S

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

@senthilkumar-s wrote:

Thanks for your reply. If this is configurable in the intermediate Webhook using rest API, then should be the same applicable for the initial API as well rite? Please correct me if my understanding is wrong.


The intermediary webhook service would use Marketo's REST API to get the CO data associated with the person first, and then pass it on to the subsequent service for sending the message (i.e., an extra hop to get the Marketo CO data first).

 

1 reply

SanfordWhiteman
Level 10
June 9, 2023

You would have to call an intermediate webhook that uses the Marketo REST API to fetch the CO records for the lead, then forwards them to the next hop. The CO data can’t be included in the initial webhook payload.

Senthilkumar-S
Level 2
June 12, 2023

Thanks for your reply. If this is configurable in the intermediate Webhook using rest API, then should be the same applicable for the initial API as well rite? Please correct me if my understanding is wrong.

Also, how do we configure this in the intermediate Webhook? I am trying to send out SMS/Whatsapp Messages through the Webhook configuration. Will this solution be feasible to apply?

Thanks for your thoughts on this query. 

Darshil_Shah1
Community Advisor and Adobe Champion
Darshil_Shah1Community Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
June 12, 2023

@senthilkumar-s wrote:

Thanks for your reply. If this is configurable in the intermediate Webhook using rest API, then should be the same applicable for the initial API as well rite? Please correct me if my understanding is wrong.


The intermediary webhook service would use Marketo's REST API to get the CO data associated with the person first, and then pass it on to the subsequent service for sending the message (i.e., an extra hop to get the Marketo CO data first).