Hi,
I need to implement a Beckend Zapier with webhooks.
Webhooks must receive a complex json object, composed of arrays of objects.
I need to create a summary email to send to the customer.
How can I loop the json objects to correctly format the email?
I attach an example of json I need to format.
Example of mail output:
“Dear #nome1#,
here the recap of your subscription.
Plan 1: #type1#
Sports: #sport1#, #sport2#
upgrade: #upgrade1#, #upgrade3#
services: #service2#, #service4#
Name: #name1#
Price: 149 $
Plan 2: #type2#
Sports: #sport2#, #sport4#
upgrade: #upgrade1#, #upgrade4#
services: #service2#, #service4#
Name: #name2#
Price: 100 $
Your total amount: 249 $”
It is possible with zapier?
Thank you very much
Andrea
{
"name": "Name1",
"phone": "3478562341",
"mail": "mail1@example.com",
"totalprice": 249,
"member": e
{
"name": "Name1",
"plan": {
"type": "type 1",
"sport": r"sport1", "sport2"],
"upgrade": d"upgrade1", "upgrade3"],
"services": e"service2", "service4"],
"price": 149
}
},
{
"name": "Name2",
"plan": {
"type": "type 2",
"sport": r"sport2", "sport4"],
"upgrade": d"upgrade1", "upgrade4"],
"services": e"service2", "service4"],
"price": 100
}
}
]
}