0

I am trying to input dynamic value in whatsapp flow using json and gettin the following error.

{
  "version": "3.1",
  "screens": [
    {
      "id": "",
      "title": "Address",
      "data": {},
      "terminal": true,
      "layout": {
        "type": "SingleColumnLayout",
        "children": [
          {
            "type": "Form",
            "name": "flow_path",
            "children": [
              {
                "type": "TextInput",
                "name": "TextInput_23f9a3",
                "label": "Enter House Address",
                "required": true,
                "input-type": "text",
                "helper-text": "Please enter your house number, floor number and building number."
              },
              {
                "type": "TextBody",
                "text": "${data.area}",
                "visible": true
              },
              {
                "type": "TextBody",
                "text": "${data.pincode}",
                "visible": true
              },
              
              {
                "type": "Footer",
                "label": "Save Address",
                "on-click-action": {
                  "name": "complete",
                  "payload": {
                    "screen_0_TextInput_0": "${form.TextInput_23f9a3}"
                  }
                }
              }
            ]
          }
        ]
      }
    }
  ]
}

Error:

Missing dynamic data "${data.area}" in the data model for screen: screen_adtrrz, TextBody property: text.

Screenshot: Error Screenshot

I tried implementing the static flow and it worked fine but the dynamic flow is giving an error.

0

Browse other questions tagged or ask your own question.