What is the best way to get this json response into a format for my next zap?
Right now i am getting back a jsob blob that looks something like
I want to take this info coming from my webhook response and map the fields into an Action for a CRM, but i can’t figure out a way to easily transform that info format wise.
Page 1 / 1
@hannah L
It’s possible with Code, but it means the JSON would have to be handled/prepped in the Code step before trying to pass it to the JSON.parse() method.
Essentially the entire “raw body” , we want to use to send to a crm for example: {"ContactId":1701,"LoanId:2551","LoanUrl":"https://my.dev.xx.tech/loan?xxx",LoanId":"xx","RefId":"xx","FirstName":"John","LastName":"Homeowner","Email":"john.xx.3.10.2023.1007a@test.xx.com",”
I would want to come out like:
Contactid: 1701
LoanId: 2251
LoanUrl:
Firstname: xx
LastName: xx
Email: xx
@hannah L
What data from the JSON do you need parsed out to use in other Zap steps?
Okay, if i cant change that do you have any other suggestions to recommendations for how to get to the end result being “formatting this data so that i can send it to another app”?