Map an entire JSON object to a field using Webhooks? | Community
Skip to main content
September 18, 2017
Question

Map an entire JSON object to a field using Webhooks?

  • September 18, 2017
  • 1 reply
  • 1363 views

Is it possible to map an entire JSON object to a field using webhooks?

I'd like to use a webhook to pull an entire JSON object into a field.  I'm able to get "leaves" of the JSON object into a field, but can't figure out how or if I can pull the entire object in.

Here is what my web hook looks like:

Any help would be much appreciated!

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

1 reply

SanfordWhiteman
Level 10
September 18, 2017

If you want to bring the entire (unparsed) JSON object in as a string, then it has to be embedded as JSON string by the back end. Otherwise it's always parsed as an object with properties, as we expect.

i.e.

{

  responseJSON : JSON.stringify(originalResponseObject)

}