WhatsApp Flow Picture Bug Fix

Job ID: 39490222

Budget: ₹600 – ₹1,500 INR

Need urgent help on whatsapp flow pictures from 2nd screen and ComplaintNo and ClientShortName is not coming back in webhook ComplaintNo and ClientShortName these two fields we are sending with message.
Flow is like this:

{
"version": "6.0",
"screens": [
{
"id": "Details",
"title": "Complaint Resolved 1 of 3",
"data": {},
"layout": {
"type": "SingleColumnLayout",
"children": [
{
"type": "Form",
"name": "flow_path",
"children": [
{ "type": "TextSubheading", "text": "List of Item Used" },
{
"type": "TextInput",
"label": "List of Item",
"required": true,
"name": "List_of_item"
},
{ "type": "TextSubheading", "text": "Remarks" },
{
"type": "TextArea",
"label": "Leave a comment",
"required": false,
"name": "Leave_a_comment"
},
{
"type": "Footer",
"label": "Continue",
"on-click-action": {
"name": "navigate",
"next": { "type": "screen", "name": "CAMERA_GALLERY" },
"payload": {
"ComplaintNo": "${form.ComplaintNo}",
"ClientShortName": "${form.ClientShortName}",
"listOfItems": "${form.List_of_item}",
"remarks": "${form.Leave_a_comment}"
}
}
}
]
}
]
}
},
{
"id": "CAMERA_GALLERY",
"title": "Complaint Resolved 2 of 3",
"data": {
"ComplaintNo": { "type": "string", "__example__": "ABC123" },
"CustomerName": { "type": "string", "__example__": "John Doe" },
"listOfItems": { "type": "string", "__example__": "Spare parts" },
"remarks": { "type": "string", "__example__": "No issues" }
},
"layout": {
"type": "SingleColumnLayout",
"children": [
{
"type": "Form",
"name": "flow_path_camera_gallery",
"children": [
{
"type": "PhotoPicker",
"name": "camera_gallery_picker",
"label": "Upload Pictures before work is started",
"description": "Take photo or pick from gallery",
"photo-source": "camera_gallery",
"min-uploaded-photos": 1,
"max-uploaded-photos": 10,
"max-file-size-kb": 10240
},
{
"type": "Footer",
"label": "Continue",
"on-click-action": {
"name": "navigate",
"next": { "type": "screen", "name": "PICTURE" },
"payload": {
"ComplaintNo": "${data.ComplaintNo}",
"ClientShortName": "${data.ClientShortName}",
"listOfItems": "${data.listOfItems}",
"remarks": "${data.remarks}",
"images_camera_gallery": "${form.camera_gallery_picker.map(p => ({ url: p.url }))}"
}
}
}
]
}
]
}
},
{
"id": "PICTURE",
"title": "Complaint Resolved 3 of 3",
"data": {
"ComplaintNo": { "type": "string", "__example__": "ABC123" },
"CustomerName": { "type": "string", "__example__": "John Doe" },
"listOfItems": { "type": "string", "__example__": "Spare parts" },
"remarks": { "type": "string", "__example__": "No issues" },
"images_camera_gallery": {
"type": "array",
"items": {
"type": "object",
"properties": {
"url": { "type": "string" }
},
"required": ["url"]
},
"__example__": [
{ "url": "img1.jpg" }
]
}
},
"terminal": true,
"layout": {
"type": "SingleColumnLayout",
"children": [
{
"type": "Form",
"name": "flow_path_camera",
"children": [
{
"type": "PhotoPicker",
"name": "camera_picker",
"label": "Upload Pictures after work is completed",
"description": "Attach additional photos",
"photo-source": "camera",
"min-uploaded-photos": 1,
"max-uploaded-photos": 10,
"max-file-size-kb": 10240
},
{
"type": "Footer",
"label": "Submit",
"on-click-action": {
"name": "complete",
"payload": {
"complaintNo": "${data.ComplaintNo}",
"ClientShortName": "${data.ClientShortName}",
"listOfItems": "${data.listOfItems}",
"remarks": "${data.remarks}",
"images_camera_gallery": "${data.images_camera_gallery}",
"images_camera": "${form.camera_picker}"
}
}
}
]
}
]
}
}
]
}
Related categories: JSON Facebook API