Webhook Response Mapping for HTTP Response Code | Community
Skip to main content
Ben_Neal1
New Participant
March 22, 2018
Solved

Webhook Response Mapping for HTTP Response Code

  • March 22, 2018
  • 1 reply
  • 2657 views

I'm building out a custom integration passing data from Marketo to a Salesforce custom object using Marketo WebHooks and Salesforce's REST API. I've successfully built the integration but want to add a small amount of error handling by capturing the HTTP Response Code from the WebHook call out. I can then use the captured response code to determine a success or failure but I'm not able to figure out how to use the WebHook response mappings to retrieve the HTTP Status Code.

Is Marketo's Response Mapping limited to the JSON Response that the HTTP delivers back? Is there any way to get at the WebHook status code? Attached is a screenshot of a successful webhook execution. I'd like to capture the "204".

Thanks!

-Ben

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 SanfordWhiteman

Use the Webhook is Called trigger to work with HTTP-level response codes.

1 reply

SanfordWhiteman
SanfordWhitemanAccepted solution
New Participant
March 22, 2018

Use the Webhook is Called trigger to work with HTTP-level response codes.