Question

How to map form data into complex json object to send via webhook

  • 30 March 2023
  • 1 reply
  • 92 views

How do I map my form data to send an array of json object:

 

Referral__LeadId : ‘223344’

Referral__Communities__CommunityNumber : ‘123’

Referral__Communities__CommunityNumber : ‘234’

 

Expected json:

 

{
    "Referral": {
        "LeadId": "223344",
        "Communities": [{
                "CommunityNumber": "123"
            },
            {
                "CommunityNumber": "234"
            }
        ]
    }
}


This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

1 reply

Userlevel 7
Badge +14

Hi @vbss 

Good question.

Can you provide more context about what Zap steps you are using for us to have more context?

Best to provide examples and screenshots.