{
  "version": {
    "name": "Initial Version",
    "topics": [
      {
        "type": "DIAGRAM",
        "sourceID": "64386e21bb106b044ea34b78"
      }
    ],
    "_version": 7,
    "creatorID": 907467,
    "prototype": {
      "type": "chat",
      "data": {
        "name": "Webb Jenkins Conversational Assistant",
        "locales": [
          "en-US"
        ]
      },
      "model": {
        "intents": [
          {
            "key": "capture_name_ieeajlgi",
            "name": "capture_name_ieeajlgi",
            "inputs": [],
            "slots": [
              {
                "id": "65e5d92980c7ff991ab19b23",
                "required": true,
                "dialog": {
                  "prompt": [],
                  "confirm": [],
                  "utterances": [
                    {
                      "text": "{{[name].65e5d92980c7ff991ab19b23}}",
                      "slots": [
                        "65e5d92980c7ff991ab19b23"
                      ]
                    }
                  ],
                  "confirmEnabled": false
                }
              }
            ]
          },
          {
            "key": "capture_phone_pffkopi",
            "name": "capture_phone_pffkopi",
            "inputs": [],
            "slots": [
              {
                "id": "65e5d9e280c7ff991ab19b24",
                "required": true,
                "dialog": {
                  "prompt": [],
                  "confirm": [],
                  "utterances": [
                    {
                      "text": "{{[phone].65e5d9e280c7ff991ab19b24}}",
                      "slots": [
                        "65e5d9e280c7ff991ab19b24"
                      ]
                    }
                  ],
                  "confirmEnabled": false
                }
              }
            ]
          },
          {
            "key": "None",
            "name": "None",
            "slots": [],
            "inputs": [
              {
                "text": "None"
              }
            ],
            "noteID": null
          }
        ],
        "slots": [
          {
            "key": "65e5d9e280c7ff991ab19b24",
            "name": "phone",
            "color": "#DC8879",
            "inputs": [],
            "type": {
              "value": "VF.PHONENUMBER"
            }
          },
          {
            "key": "65e5d92980c7ff991ab19b23",
            "name": "name",
            "color": "#CB627B",
            "inputs": [],
            "type": {
              "value": "VF.NAME"
            }
          }
        ]
      },
      "context": {
        "stack": [
          {
            "programID": "64386e21bb106b044ea34b78",
            "storage": {},
            "variables": {},
            "diagramID": "64386e21bb106b044ea34b78"
          }
        ],
        "variables": {}
      },
      "surveyorContext": {
        "slotsMap": {
          "65e5d9e280c7ff991ab19b24": {
            "key": "65e5d9e280c7ff991ab19b24",
            "name": "phone",
            "color": "#DC8879",
            "inputs": [],
            "type": {
              "value": "VF.PHONENUMBER"
            }
          },
          "65e5d92980c7ff991ab19b23": {
            "key": "65e5d92980c7ff991ab19b23",
            "name": "name",
            "color": "#CB627B",
            "inputs": [],
            "type": {
              "value": "VF.NAME"
            }
          }
        },
        "platform": "webchat",
        "products": {},
        "extraSlots": [],
        "interfaces": [],
        "permissions": [],
        "extraIntents": [
          {
            "key": "capture_name_ieeajlgi",
            "name": "capture_name_ieeajlgi",
            "inputs": [],
            "slots": [
              {
                "id": "65e5d92980c7ff991ab19b23",
                "required": true,
                "dialog": {
                  "prompt": [],
                  "confirm": [],
                  "utterances": [
                    {
                      "text": "{{[name].65e5d92980c7ff991ab19b23}}",
                      "slots": [
                        "65e5d92980c7ff991ab19b23"
                      ]
                    }
                  ],
                  "confirmEnabled": false
                }
              }
            ]
          },
          {
            "key": "capture_phone_pffkopi",
            "name": "capture_phone_pffkopi",
            "inputs": [],
            "slots": [
              {
                "id": "65e5d9e280c7ff991ab19b24",
                "required": true,
                "dialog": {
                  "prompt": [],
                  "confirm": [],
                  "utterances": [
                    {
                      "text": "{{[phone].65e5d9e280c7ff991ab19b24}}",
                      "slots": [
                        "65e5d9e280c7ff991ab19b24"
                      ]
                    }
                  ],
                  "confirmEnabled": false
                }
              }
            ]
          }
        ],
        "usedEventsSet": [],
        "usedIntentsSet": [
          "VF.YES",
          "VF.NO",
          "capture_name_ieeajlgi",
          "capture_phone_pffkopi"
        ],
        "goToIntentsSet": [],
        "usedFunctionsMap": {},
        "cmsVariables": {
          "payload": {
            "isSystem": false,
            "defaultValue": "-",
            "datatype": "any",
            "isArray": false
          },
          "selected_properties_text": {
            "isSystem": false,
            "defaultValue": "",
            "datatype": "any",
            "isArray": false
          },
          "count": {
            "isSystem": false,
            "defaultValue": "",
            "datatype": "any",
            "isArray": false
          },
          "carousel_dynamic": {
            "isSystem": false,
            "defaultValue": "",
            "datatype": "any",
            "isArray": false
          },
          "selected_properties": {
            "isSystem": false,
            "defaultValue": "[]",
            "datatype": "any",
            "isArray": false
          },
          "searched_properties": {
            "isSystem": false,
            "defaultValue": "",
            "datatype": "any",
            "isArray": false
          },
          "min_bedrooms": {
            "isSystem": false,
            "defaultValue": " ",
            "datatype": "any",
            "isArray": false
          },
          "max_price": {
            "isSystem": false,
            "defaultValue": " ",
            "datatype": "any",
            "isArray": false
          },
          "min_price": {
            "isSystem": false,
            "defaultValue": " ",
            "datatype": "any",
            "isArray": false
          },
          "search_type": {
            "isSystem": false,
            "defaultValue": "",
            "datatype": "any",
            "isArray": false
          },
          "ai_response": {
            "isSystem": false,
            "defaultValue": "",
            "datatype": "any",
            "isArray": false
          },
          "last_event": {
            "isSystem": true,
            "defaultValue": ""
          },
          "vf_memory": {
            "isSystem": true,
            "defaultValue": ""
          },
          "platform": {
            "isSystem": true,
            "defaultValue": ""
          },
          "last_response": {
            "isSystem": true,
            "defaultValue": ""
          },
          "user_id": {
            "isSystem": true,
            "defaultValue": ""
          },
          "sessions": {
            "isSystem": true,
            "defaultValue": ""
          },
          "timestamp": {
            "isSystem": true,
            "defaultValue": ""
          },
          "locale": {
            "isSystem": true,
            "defaultValue": ""
          },
          "last_utterance": {
            "isSystem": true,
            "defaultValue": ""
          },
          "intent_confidence": {
            "isSystem": true,
            "defaultValue": ""
          }
        }
      },
      "settings": {},
      "platform": "webchat"
    },
    "variables": [
      "sessions",
      "user_id",
      "timestamp",
      "platform",
      "locale",
      "intent_confidence",
      "last_response",
      "last_event",
      "last_utterance",
      "ai_response",
      "vf_memory",
      "min_bedrooms",
      "max_price",
      "min_price",
      "search_type",
      "searched_properties",
      "carousel_dynamic",
      "selected_properties",
      "count",
      "selected_properties_text",
      "payload"
    ],
    "components": [],
    "manualSave": false,
    "platformData": {
      "slots": [
        {
          "key": "65e5d9e280c7ff991ab19b24",
          "name": "phone",
          "color": "#DC8879",
          "inputs": [],
          "type": {
            "value": "VF.PHONENUMBER"
          }
        },
        {
          "key": "65e5d92980c7ff991ab19b23",
          "name": "name",
          "color": "#CB627B",
          "inputs": [],
          "type": {
            "value": "VF.NAME"
          }
        }
      ],
      "intents": [
        {
          "key": "6579c6bf984565862f64b783",
          "name": "Yes",
          "slots": [],
          "inputs": [
            {
              "text": "sure",
              "slots": []
            },
            {
              "text": "certainly",
              "slots": []
            },
            {
              "text": "affirmative",
              "slots": []
            },
            {
              "text": "okay",
              "slots": []
            },
            {
              "text": "ok",
              "slots": []
            },
            {
              "text": "ya",
              "slots": []
            },
            {
              "text": "yep",
              "slots": []
            },
            {
              "text": "yup",
              "slots": []
            },
            {
              "text": "yea",
              "slots": []
            },
            {
              "text": "yes",
              "slots": []
            }
          ],
          "noteID": null
        },
        {
          "key": "6579c778dd3cca0fe0e0b152",
          "name": "No",
          "slots": [],
          "inputs": [
            {
              "text": "negative",
              "slots": []
            },
            {
              "text": "nevermind",
              "slots": []
            },
            {
              "text": "not",
              "slots": []
            },
            {
              "text": "no thanks",
              "slots": []
            },
            {
              "text": "no way",
              "slots": []
            },
            {
              "text": "not now",
              "slots": []
            },
            {
              "text": "nah",
              "slots": []
            },
            {
              "text": "nay",
              "slots": []
            },
            {
              "text": "nope",
              "slots": []
            },
            {
              "text": "no",
              "slots": []
            }
          ],
          "noteID": null
        },
        {
          "key": "None",
          "name": "None",
          "slots": [],
          "inputs": [],
          "noteID": null
        }
      ],
      "settings": {
        "restart": true,
        "repeat": 100,
        "locales": [
          "en-US"
        ],
        "defaultVoice": "Alexa"
      },
      "publishing": {
        "avatar": "https://cm4-production-assets.s3.amazonaws.com/1709622836642-screenshot-2024-03-05-at-12.13.24-pm.png",
        "color": "#F37021",
        "description": "Our virtual assistant is here to help you.",
        "feedback": false,
        "image": "https://cm4-production-assets.s3.amazonaws.com/1709622830439-screenshot-2024-03-05-at-12.13.24-pm.png",
        "persistence": "memory",
        "position": "right",
        "spacing": {
          "side": 24,
          "bottom": 24
        },
        "title": "Webb  Jenkins Real Estate Assistant",
        "watermark": false,
        "launcher": "https://cm4-production-assets.s3.amazonaws.com/1709622821133-screenshot-2024-03-05-at-12.13.24-pm.png"
      },
      "platform": "webchat"
    },
    "canvasTemplates": [
      {
        "id": "sg9zy34i0",
        "name": "Basic Conversation Path",
        "color": "#5b9fd7",
        "nodeIDs": [
          "643872d482cf9d2273b905df",
          "643872d482cf9d2273b905e1",
          "643872d482cf9d2273b905e3"
        ]
      },
      {
        "id": "5bgq3341p",
        "name": "Save Information",
        "color": "#000000",
        "nodeIDs": [
          "6438784f82cf9d2273b90dd4",
          "6438784f82cf9d2273b90dd6",
          "6438784f82cf9d2273b90dd8",
          "6438784f82cf9d2273b90dda"
        ]
      },
      {
        "id": "byav33785",
        "name": "API Call Example",
        "color": null,
        "nodeIDs": [
          "645d718f83103cca7a3cecc1",
          "645d718f83103cca7a3cecc3",
          "645d718f83103cca7a3cecc5",
          "645d718f83103cca7a3cecc7"
        ]
      }
    ],
    "autoSaveFromRestore": false,
    "_id": "65e32e3173cb87b08438da78",
    "updatedAt": "2024-03-04T08:05:21.559Z",
    "domains": [
      {
        "id": "cla06iyr900b206pkh8d4ap8n",
        "name": "Home",
        "live": true,
        "topicIDs": [
          "64386e21bb106b044ea34b78"
        ],
        "rootDiagramID": "64386e21bb106b044ea34b78",
        "updatedBy": 907467,
        "updatedAt": "2024-03-05T07:41:04.293Z"
      }
    ],
    "projectID": "65e32e3173cb87b08438da77",
    "rootDiagramID": "64386e21bb106b044ea34b78",
    "templateDiagramID": "643872531e80120007759e05"
  },
  "diagrams": {
    "643872531e80120007759e05": {
      "name": "Template Diagram",
      "type": "TEMPLATE",
      "zoom": 100,
      "nodes": {
        "6438725334aead00076d562e": {
          "type": "start",
          "data": {
            "name": "Start",
            "color": "#43494E",
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "id": "6438725334aead00076d562f",
                  "type": "next",
                  "target": null
                }
              },
              "dynamic": []
            },
            "steps": []
          },
          "nodeID": "6438725334aead00076d562e",
          "coords": [
            360,
            120
          ]
        },
        "6438725382cf9d2273b90589": {
          "type": "block",
          "data": {
            "name": "Welcome",
            "color": "",
            "steps": [
              "6438725382cf9d2273b9058d",
              "6438725382cf9d2273b90590"
            ]
          },
          "nodeID": "6438725382cf9d2273b90589",
          "coords": [
            -501.3585020507189,
            -658.0432780543358
          ]
        },
        "6438725382cf9d2273b9058b": {
          "type": "block",
          "data": {
            "name": "AI response output",
            "color": "#56b365",
            "steps": [
              "6438725382cf9d2273b90594"
            ]
          },
          "nodeID": "6438725382cf9d2273b9058b",
          "coords": [
            -501.5967776582388,
            -377.8379726840851
          ]
        },
        "6438725382cf9d2273b9058d": {
          "type": "text",
          "data": {
            "name": "Text",
            "texts": [
              {
                "id": "s27ac3eqh",
                "content": [
                  {
                    "children": [
                      {
                        "text": "Ask any question",
                        "fontWeight": "700"
                      },
                      {
                        "text": ", and we'll use the response AI step to provide a contextual response."
                      }
                    ]
                  }
                ]
              }
            ],
            "canvasVisibility": "preview",
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": "6438725382cf9d2273b90590",
                  "id": "6438725382cf9d2273b9058e"
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "6438725382cf9d2273b9058d"
        },
        "6438725382cf9d2273b90590": {
          "type": "captureV2",
          "data": {
            "name": "Capture",
            "intentScope": "GLOBAL",
            "capture": {
              "type": "query",
              "variable": "last_utterance"
            },
            "noReply": null,
            "noMatch": null,
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": "6438725382cf9d2273b9058b",
                  "id": "6438725382cf9d2273b90591",
                  "data": {
                    "points": [
                      {
                        "point": [
                          -667.3584635404925,
                          -461.54329806524055
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": true,
                        "allowedToTop": false
                      },
                      {
                        "point": [
                          -691.3584635404925,
                          -461.54329806524055
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": false
                      },
                      {
                        "point": [
                          -691.3584635404925,
                          -401.83801893781236
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": false
                      },
                      {
                        "point": [
                          -501.59680258692276,
                          -401.83801893781236
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": false
                      },
                      {
                        "point": [
                          -501.59680258692276,
                          -377.83801893781236
                        ],
                        "toTop": true,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": true
                      }
                    ]
                  }
                },
                "else": {
                  "type": "else",
                  "target": null,
                  "id": "6438725382cf9d2273b90592"
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "6438725382cf9d2273b90590"
        },
        "6438725382cf9d2273b90594": {
          "type": "generative",
          "data": {
            "name": "Response AI",
            "prompt": "Based on the users response {{[last_utterance].last_utterance}}, respond to the user",
            "system": "You are a helpful assistant",
            "maxTokens": 100,
            "model": "gpt-4",
            "temperature": 0.7,
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": null,
                  "id": "6438725382cf9d2273b90595",
                  "data": {
                    "points": [
                      {
                        "point": [
                          -335.5969201040813,
                          -275.58805327852497
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": false
                      },
                      {
                        "point": [
                          -295.1503869009563,
                          -275.58805327852497
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": false
                      },
                      {
                        "point": [
                          -295.1503869009563,
                          -631.39591460665
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": false
                      },
                      {
                        "point": [
                          -254.70385369783128,
                          -631.39591460665
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": true
                      }
                    ]
                  }
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "6438725382cf9d2273b90594"
        },
        "643872d482cf9d2273b905df": {
          "type": "block",
          "data": {
            "name": "Option 2",
            "color": "",
            "steps": [
              "643872d482cf9d2273b905e5"
            ]
          },
          "nodeID": "643872d482cf9d2273b905df",
          "coords": [
            -432.02299332274276,
            -334.73425308247994
          ]
        },
        "643872d482cf9d2273b905e1": {
          "type": "block",
          "data": {
            "name": "Start Block",
            "color": "#5b9fd7",
            "steps": [
              "643872d482cf9d2273b905e8",
              "643872d482cf9d2273b905eb"
            ]
          },
          "nodeID": "643872d482cf9d2273b905e1",
          "coords": [
            -845.4801744371416,
            -539.5792694267975
          ]
        },
        "643872d482cf9d2273b905e3": {
          "type": "block",
          "data": {
            "name": "Option 1",
            "color": "",
            "steps": [
              "643872d482cf9d2273b905f0"
            ]
          },
          "nodeID": "643872d482cf9d2273b905e3",
          "coords": [
            -430.5038187460724,
            -569.9756266907931
          ]
        },
        "643872d482cf9d2273b905e5": {
          "type": "text",
          "data": {
            "name": "Text",
            "texts": [
              {
                "id": "lu9tb340d",
                "content": [
                  {
                    "children": [
                      {
                        "text": "Second Option"
                      }
                    ]
                  }
                ]
              }
            ],
            "canvasVisibility": "preview",
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": null,
                  "id": "643872d482cf9d2273b905e6"
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "643872d482cf9d2273b905e5"
        },
        "643872d482cf9d2273b905e8": {
          "type": "text",
          "data": {
            "name": "Text",
            "texts": [
              {
                "id": "929q734a2",
                "content": [
                  {
                    "children": [
                      {
                        "text": "How can I help you?"
                      }
                    ]
                  }
                ]
              }
            ],
            "canvasVisibility": "preview",
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": "643872d482cf9d2273b905eb",
                  "id": "643872d482cf9d2273b905e9"
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "643872d482cf9d2273b905e8"
        },
        "643872d482cf9d2273b905eb": {
          "type": "buttons",
          "data": {
            "name": "Buttons",
            "noMatch": null,
            "buttons": [
              {
                "id": "xr9vd34tj",
                "name": "Path 1",
                "actions": []
              },
              {
                "id": "cl9vs34c7",
                "name": "Path 2",
                "actions": []
              }
            ],
            "noReply": null,
            "intentScope": "GLOBAL",
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "else": {
                  "type": "else",
                  "target": null,
                  "id": "643872d482cf9d2273b905ec"
                }
              },
              "dynamic": [
                {
                  "type": "",
                  "target": "643872d482cf9d2273b905e3",
                  "id": "643872d482cf9d2273b905ed",
                  "data": {
                    "points": [
                      {
                        "point": [
                          -679.4801667002234,
                          -399.32923837159325
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": false
                      },
                      {
                        "point": [
                          -637.4918741411055,
                          -399.32923837159325
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": false
                      },
                      {
                        "point": [
                          -637.4918741411055,
                          -542.9755028741506
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": false
                      },
                      {
                        "point": [
                          -595.5035815819875,
                          -542.9755028741506
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": true
                      }
                    ]
                  }
                },
                {
                  "type": "",
                  "target": "643872d482cf9d2273b905df",
                  "id": "643872d482cf9d2273b905ee",
                  "data": {
                    "points": [
                      {
                        "point": [
                          -679.4801667002234,
                          -344.82921901334083
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": false
                      },
                      {
                        "point": [
                          -638.2515780028617,
                          -344.82921901334083
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": false
                      },
                      {
                        "point": [
                          -638.2515780028617,
                          -307.73401942975823
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": false
                      },
                      {
                        "point": [
                          -597.0229893055001,
                          -307.73401942975823
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": true
                      }
                    ]
                  }
                }
              ]
            }
          },
          "nodeID": "643872d482cf9d2273b905eb"
        },
        "643872d482cf9d2273b905f0": {
          "type": "text",
          "data": {
            "name": "Text",
            "texts": [
              {
                "id": "ky9ry343w",
                "content": [
                  {
                    "children": [
                      {
                        "text": "First Option"
                      }
                    ]
                  }
                ]
              }
            ],
            "canvasVisibility": "preview",
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": null,
                  "id": "643872d482cf9d2273b905f1"
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "643872d482cf9d2273b905f0"
        },
        "643873be82cf9d2273b90673": {
          "type": "block",
          "data": {
            "name": "If userID does not equal 1234",
            "color": "",
            "steps": [
              "643873be82cf9d2273b9067b"
            ]
          },
          "nodeID": "643873be82cf9d2273b90673",
          "coords": [
            -70.18718316214228,
            -25.420796792411338
          ]
        },
        "643873be82cf9d2273b90675": {
          "type": "block",
          "data": {
            "name": "Use Logic to Route",
            "color": "#CB627B",
            "steps": [
              "643873be82cf9d2273b9067e"
            ]
          },
          "nodeID": "643873be82cf9d2273b90675",
          "coords": [
            -471.1075336325476,
            -185.10154694620218
          ]
        },
        "643873be82cf9d2273b90677": {
          "type": "block",
          "data": {
            "name": "If userID equals 1234",
            "color": "",
            "steps": [
              "643873be82cf9d2273b90682"
            ]
          },
          "nodeID": "643873be82cf9d2273b90677",
          "coords": [
            -71.43718316214228,
            -184.17079679241147
          ]
        },
        "643873be82cf9d2273b90679": {
          "type": "block",
          "data": {
            "name": "Capture Information",
            "color": "",
            "steps": [
              "643873be82cf9d2273b90685",
              "643873be82cf9d2273b90688"
            ]
          },
          "nodeID": "643873be82cf9d2273b90679",
          "coords": [
            -882.7180111791258,
            -186.51117186930696
          ]
        },
        "643873be82cf9d2273b9067b": {
          "type": "text",
          "data": {
            "name": "Text",
            "texts": [
              {
                "id": "1jabe34gf",
                "content": [
                  {
                    "children": [
                      {
                        "text": "Welcome to Voiceflow user "
                      },
                      {
                        "id": "user_id",
                        "name": "user_id",
                        "isSlot": false,
                        "type": "variable",
                        "children": [
                          {
                            "text": ""
                          }
                        ]
                      },
                      {
                        "text": " "
                      }
                    ]
                  }
                ]
              }
            ],
            "canvasVisibility": "preview",
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": null,
                  "id": "643873be82cf9d2273b9067c"
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "643873be82cf9d2273b9067b"
        },
        "643873be82cf9d2273b9067e": {
          "type": "ifV2",
          "data": {
            "name": "If",
            "expressions": [
              {
                "type": null,
                "name": "If UserID = 1234",
                "value": [
                  {
                    "logicInterface": "variable",
                    "type": "equals",
                    "value": [
                      {
                        "type": "variable",
                        "value": "user_id"
                      },
                      {
                        "type": "value",
                        "value": "1234"
                      }
                    ]
                  }
                ]
              }
            ],
            "noMatch": {
              "type": "path",
              "pathName": "All other UserIDs"
            },
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "else": {
                  "type": "else",
                  "target": "643873be82cf9d2273b90673",
                  "id": "643873be82cf9d2273b9067f",
                  "data": {
                    "points": [
                      {
                        "point": [
                          -305.10758119605924,
                          -50.851426165918596
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": false
                      },
                      {
                        "point": [
                          -270.147315082778,
                          -50.851426165918596
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": false
                      },
                      {
                        "point": [
                          -270.147315082778,
                          1.57917686142504
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": false
                      },
                      {
                        "point": [
                          -235.18704896949674,
                          1.57917686142504
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": true
                      }
                    ]
                  }
                }
              },
              "dynamic": [
                {
                  "type": "",
                  "target": "643873be82cf9d2273b90677",
                  "id": "643873be82cf9d2273b90680",
                  "data": {
                    "points": [
                      {
                        "point": [
                          -305.10758119605924,
                          -105.35139564834047
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": false
                      },
                      {
                        "point": [
                          -270.7723150827781,
                          -105.35139564834047
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": false
                      },
                      {
                        "point": [
                          -270.7723150827781,
                          -157.17082313857486
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": false
                      },
                      {
                        "point": [
                          -236.43704896949686,
                          -157.17082313857486
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": true
                      }
                    ],
                    "event": {
                      "type": "If UserID = 1234"
                    }
                  }
                }
              ]
            }
          },
          "nodeID": "643873be82cf9d2273b9067e"
        },
        "643873be82cf9d2273b90682": {
          "type": "text",
          "data": {
            "name": "Text",
            "texts": [
              {
                "id": "1jabe34gf",
                "content": [
                  {
                    "children": [
                      {
                        "text": "Welcome back user "
                      },
                      {
                        "id": "user_id",
                        "name": "user_id",
                        "isSlot": false,
                        "type": "variable",
                        "children": [
                          {
                            "text": ""
                          }
                        ]
                      },
                      {
                        "text": " "
                      }
                    ]
                  }
                ]
              }
            ],
            "canvasVisibility": "preview",
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": null,
                  "id": "643873be82cf9d2273b90683"
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "643873be82cf9d2273b90682"
        },
        "643873be82cf9d2273b90685": {
          "type": "text",
          "data": {
            "name": "Text",
            "texts": [
              {
                "id": "s8a30349g",
                "content": [
                  {
                    "children": [
                      {
                        "text": "What is your userID?"
                      }
                    ]
                  }
                ]
              }
            ],
            "canvasVisibility": "preview",
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": "643873be82cf9d2273b90688",
                  "id": "643873be82cf9d2273b90686"
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "643873be82cf9d2273b90685"
        },
        "643873be82cf9d2273b90688": {
          "type": "captureV2",
          "data": {
            "name": "Capture",
            "intentScope": "GLOBAL",
            "capture": {
              "type": "query",
              "variable": "user_id"
            },
            "noReply": null,
            "noMatch": null,
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": "643873be82cf9d2273b90675",
                  "id": "643873be82cf9d2273b90689",
                  "data": {
                    "points": [
                      {
                        "point": [
                          -716.7179552552856,
                          -35.01107937987875
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": false
                      },
                      {
                        "point": [
                          -676.4127121801628,
                          -35.01107937987875
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": false
                      },
                      {
                        "point": [
                          -676.4127121801628,
                          -158.10137487284737
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": false
                      },
                      {
                        "point": [
                          -636.1074691050399,
                          -158.10137487284737
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": true
                      }
                    ]
                  }
                },
                "else": {
                  "type": "else",
                  "target": null,
                  "id": "643873be82cf9d2273b9068a"
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "643873be82cf9d2273b90688"
        },
        "643874b482cf9d2273b90953": {
          "type": "block",
          "data": {
            "name": "Set AI",
            "color": "#56b365",
            "steps": [
              "643874b482cf9d2273b9095b",
              "643874b482cf9d2273b9095e"
            ]
          },
          "nodeID": "643874b482cf9d2273b90953",
          "coords": [
            -321.72987951219045,
            -63.307659112696115
          ]
        },
        "643874b482cf9d2273b90955": {
          "type": "block",
          "data": {
            "name": "Set AI sample",
            "color": "",
            "steps": [
              "643874b482cf9d2273b90961",
              "643874b482cf9d2273b90964",
              "643874b482cf9d2273b90967",
              "643874b482cf9d2273b9096a"
            ]
          },
          "nodeID": "643874b482cf9d2273b90955",
          "coords": [
            -327.19954974607606,
            -531.5846547683695
          ]
        },
        "643874b482cf9d2273b90957": {
          "type": "block",
          "data": {
            "name": "Welcome",
            "color": "#000000",
            "steps": [
              "643874b482cf9d2273b9096e",
              "643874b482cf9d2273b90971",
              "643874b482cf9d2273b90974"
            ]
          },
          "nodeID": "643874b482cf9d2273b90957",
          "coords": [
            -759.89470620039,
            -534.1559019190823
          ]
        },
        "643874b482cf9d2273b90959": {
          "type": "block",
          "data": {
            "name": "AI response output",
            "color": "#56b365",
            "steps": [
              "643874b482cf9d2273b90978"
            ]
          },
          "nodeID": "643874b482cf9d2273b90959",
          "coords": [
            -761.5579531610629,
            -134.2530028839701
          ]
        },
        "643874b482cf9d2273b9095b": {
          "type": "ai_set",
          "data": {
            "name": "AI Set",
            "label": "Classify the users sentiment",
            "sets": [
              {
                "prompt": "using the last response {{[last_response].last_response}}, classify the users sentiment as a single word",
                "variable": "sentiment"
              }
            ],
            "system": "",
            "maxTokens": 10,
            "model": "gpt-4",
            "temperature": 0,
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": "643874b482cf9d2273b9095e",
                  "id": "643874b482cf9d2273b9095c",
                  "data": {}
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "643874b482cf9d2273b9095b"
        },
        "643874b482cf9d2273b9095e": {
          "type": "text",
          "data": {
            "name": "Text",
            "texts": [
              {
                "id": "wm8on3eh5",
                "content": [
                  {
                    "children": [
                      {
                        "text": "Based on your input, I classified your sentiment as: "
                      },
                      {
                        "id": "sentiment",
                        "name": "sentiment",
                        "isSlot": false,
                        "type": "variable",
                        "children": [
                          {
                            "text": ""
                          }
                        ]
                      },
                      {
                        "text": ""
                      }
                    ]
                  }
                ]
              }
            ],
            "canvasVisibility": "preview",
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": null,
                  "id": "643874b482cf9d2273b9095f",
                  "data": {
                    "points": [
                      {
                        "point": [
                          -33.0240778694905,
                          -124.93501293502982
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": true,
                        "allowedToTop": false
                      },
                      {
                        "point": [
                          -57.0240778694905,
                          -124.93501293502982
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": false
                      },
                      {
                        "point": [
                          -57.0240778694905,
                          -50.434861800112
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": false
                      },
                      {
                        "point": [
                          122.77381608300391,
                          -50.434861800112
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": false
                      },
                      {
                        "point": [
                          122.77381608300391,
                          -6.044306016441283
                        ],
                        "toTop": true,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": true
                      }
                    ]
                  }
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "643874b482cf9d2273b9095e"
        },
        "643874b482cf9d2273b90961": {
          "type": "text",
          "data": {
            "name": "Text",
            "texts": [
              {
                "id": "xg77r3eyi",
                "content": [
                  {
                    "children": [
                      {
                        "text": "The 'Set AI' step allows you to set variables from a prompt you define."
                      }
                    ]
                  }
                ]
              }
            ],
            "canvasVisibility": "preview",
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": "643874b482cf9d2273b90964",
                  "id": "643874b482cf9d2273b90962"
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "643874b482cf9d2273b90961"
        },
        "643874b482cf9d2273b90964": {
          "type": "text",
          "data": {
            "name": "Text",
            "texts": [
              {
                "id": "1l9zc3eha",
                "content": [
                  {
                    "children": [
                      {
                        "text": "You might be thinking... \"what in the world does that mean?\". Well, lets just test an example."
                      }
                    ]
                  }
                ]
              }
            ],
            "canvasVisibility": "preview",
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": "643874b482cf9d2273b90967",
                  "id": "643874b482cf9d2273b90965"
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "643874b482cf9d2273b90964"
        },
        "643874b482cf9d2273b90967": {
          "type": "text",
          "data": {
            "name": "Text",
            "texts": [
              {
                "id": "s27ac3eqh",
                "content": [
                  {
                    "children": [
                      {
                        "text": "say anything",
                        "fontWeight": "700"
                      },
                      {
                        "text": ", and we'll use the 'Set AI' step to classify your sentimet, and map it to a variable"
                      }
                    ]
                  }
                ]
              }
            ],
            "canvasVisibility": "preview",
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": "643874b482cf9d2273b9096a",
                  "id": "643874b482cf9d2273b90968"
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "643874b482cf9d2273b90967"
        },
        "643874b482cf9d2273b9096a": {
          "type": "captureV2",
          "data": {
            "name": "Capture",
            "intentScope": "GLOBAL",
            "capture": {
              "type": "query",
              "variable": "last_response"
            },
            "noReply": null,
            "noMatch": null,
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": "643874b482cf9d2273b90953",
                  "id": "643874b482cf9d2273b9096b",
                  "data": {
                    "points": [
                      {
                        "point": [
                          -161.1994343750199,
                          -146.5846603522872
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": false
                      },
                      {
                        "point": [
                          -137.1994343750199,
                          -146.5846603522872
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": false
                      },
                      {
                        "point": [
                          -137.1994343750199,
                          -87.30750455475197
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": false
                      },
                      {
                        "point": [
                          -321.7298913547405,
                          -87.30750455475197
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": false
                      },
                      {
                        "point": [
                          -321.7298913547405,
                          -63.30750455475197
                        ],
                        "toTop": true,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": true
                      }
                    ]
                  }
                },
                "else": {
                  "type": "else",
                  "target": null,
                  "id": "643874b482cf9d2273b9096c"
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "643874b482cf9d2273b9096a"
        },
        "643874b482cf9d2273b9096e": {
          "type": "text",
          "data": {
            "name": "Text",
            "texts": [
              {
                "id": "xg77r3eyi",
                "content": [
                  {
                    "children": [
                      {
                        "text": "The 'Response AI' step allows you to dynamically create responses based on a prompt that you define."
                      }
                    ]
                  }
                ]
              }
            ],
            "canvasVisibility": "preview",
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": "643874b482cf9d2273b90971",
                  "id": "643874b482cf9d2273b9096f"
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "643874b482cf9d2273b9096e"
        },
        "643874b482cf9d2273b90971": {
          "type": "text",
          "data": {
            "name": "Text",
            "texts": [
              {
                "id": "s27ac3eqh",
                "content": [
                  {
                    "children": [
                      {
                        "text": "Ask any question",
                        "fontWeight": "700"
                      },
                      {
                        "text": ", and we'll use the response AI step to provide a contextual response."
                      }
                    ]
                  }
                ]
              }
            ],
            "canvasVisibility": "preview",
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": "643874b482cf9d2273b90974",
                  "id": "643874b482cf9d2273b90972"
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "643874b482cf9d2273b90971"
        },
        "643874b482cf9d2273b90974": {
          "type": "captureV2",
          "data": {
            "name": "Capture",
            "intentScope": "GLOBAL",
            "capture": {
              "type": "query",
              "variable": "last_utterance"
            },
            "noReply": null,
            "noMatch": null,
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": "643874b482cf9d2273b90959",
                  "id": "643874b482cf9d2273b90975",
                  "data": {
                    "points": [
                      {
                        "point": [
                          -925.8947036771242,
                          -232.1558252080962
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": true,
                        "allowedToTop": false
                      },
                      {
                        "point": [
                          -949.8947036771242,
                          -232.1558252080962
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": false
                      },
                      {
                        "point": [
                          -949.8947036771242,
                          -158.25288311712643
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": false
                      },
                      {
                        "point": [
                          -761.5580320167377,
                          -158.25288311712643
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": false
                      },
                      {
                        "point": [
                          -761.5580320167377,
                          -134.25288311712643
                        ],
                        "toTop": true,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": true
                      }
                    ]
                  }
                },
                "else": {
                  "type": "else",
                  "target": null,
                  "id": "643874b482cf9d2273b90976"
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "643874b482cf9d2273b90974"
        },
        "643874b482cf9d2273b90978": {
          "type": "generative",
          "data": {
            "name": "Response AI",
            "prompt": "Based on the users response {{[last_utterance].last_utterance}}, respond to the user",
            "system": "You are a helpful assistant",
            "maxTokens": 100,
            "model": "gpt-4",
            "temperature": 0.7,
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": "643874b482cf9d2273b90955",
                  "id": "643874b482cf9d2273b90979",
                  "data": {
                    "points": [
                      {
                        "point": [
                          -595.5579080797152,
                          -32.00283908686845
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": false
                      },
                      {
                        "point": [
                          -543.8787386317132,
                          -32.00283908686845
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": false
                      },
                      {
                        "point": [
                          -543.8787386317132,
                          -504.584540763932
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": false
                      },
                      {
                        "point": [
                          -492.19956918371133,
                          -504.584540763932
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": true
                      }
                    ]
                  }
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "643874b482cf9d2273b90978"
        },
        "643874d182cf9d2273b909e8": {
          "type": "block",
          "data": {
            "name": "Welcome",
            "color": "#000000",
            "steps": [
              "643874d182cf9d2273b909ec",
              "643874d182cf9d2273b909ef",
              "643874d182cf9d2273b909f2"
            ]
          },
          "nodeID": "643874d182cf9d2273b909e8",
          "coords": [
            -372.37350578661807,
            -483.0309031257145
          ]
        },
        "643874d182cf9d2273b909ea": {
          "type": "block",
          "data": {
            "name": "AI response output",
            "color": "#56b365",
            "steps": [
              "643874d182cf9d2273b909f6"
            ]
          },
          "nodeID": "643874d182cf9d2273b909ea",
          "coords": [
            -374.0367527472909,
            -83.12800409060253
          ]
        },
        "643874d182cf9d2273b909ec": {
          "type": "text",
          "data": {
            "name": "Text",
            "texts": [
              {
                "id": "xg77r3eyi",
                "content": [
                  {
                    "children": [
                      {
                        "text": "The 'Response AI' step allows you to dynamically create responses based on a prompt that you define."
                      }
                    ]
                  }
                ]
              }
            ],
            "canvasVisibility": "preview",
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": "643874d182cf9d2273b909ef",
                  "id": "643874d182cf9d2273b909ed"
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "643874d182cf9d2273b909ec"
        },
        "643874d182cf9d2273b909ef": {
          "type": "text",
          "data": {
            "name": "Text",
            "texts": [
              {
                "id": "s27ac3eqh",
                "content": [
                  {
                    "children": [
                      {
                        "text": "Ask any question",
                        "fontWeight": "700"
                      },
                      {
                        "text": ", and we'll use the response AI step to provide a contextual response."
                      }
                    ]
                  }
                ]
              }
            ],
            "canvasVisibility": "preview",
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": "643874d182cf9d2273b909f2",
                  "id": "643874d182cf9d2273b909f0"
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "643874d182cf9d2273b909ef"
        },
        "643874d182cf9d2273b909f2": {
          "type": "captureV2",
          "data": {
            "name": "Capture",
            "intentScope": "GLOBAL",
            "capture": {
              "type": "query",
              "variable": "last_utterance"
            },
            "noReply": null,
            "noMatch": null,
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": "643874d182cf9d2273b909ea",
                  "id": "643874d182cf9d2273b909f3",
                  "data": {
                    "points": [
                      {
                        "point": [
                          -538.3737632125188,
                          -181.03060602450773
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": true,
                        "allowedToTop": false
                      },
                      {
                        "point": [
                          -562.3737632125188,
                          -181.03060602450773
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": false
                      },
                      {
                        "point": [
                          -562.3737632125188,
                          -107.12783788023637
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": false
                      },
                      {
                        "point": [
                          -374.0367436587356,
                          -107.12783788023637
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": false
                      },
                      {
                        "point": [
                          -374.0367436587356,
                          -83.12783788023637
                        ],
                        "toTop": true,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": true
                      }
                    ]
                  }
                },
                "else": {
                  "type": "else",
                  "target": null,
                  "id": "643874d182cf9d2273b909f4"
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "643874d182cf9d2273b909f2"
        },
        "643874d182cf9d2273b909f6": {
          "type": "generative",
          "data": {
            "name": "Response AI",
            "prompt": "Based on the users response {{[last_utterance].last_utterance}}, respond to the user",
            "system": "You are a helpful assistant",
            "maxTokens": 100,
            "model": "gpt-4",
            "temperature": 0.7,
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": null,
                  "id": "643874d182cf9d2273b909f7",
                  "data": {
                    "points": [
                      {
                        "point": [
                          -203.5519554349242,
                          -274.8466263502904
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": false
                      },
                      {
                        "point": [
                          -163.1054222317992,
                          -274.8466263502904
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": false
                      },
                      {
                        "point": [
                          -163.1054222317992,
                          -630.6544876784154
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": false
                      },
                      {
                        "point": [
                          -122.6588890286742,
                          -630.6544876784154
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": true
                      }
                    ]
                  }
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "643874d182cf9d2273b909f6"
        },
        "643874eb82cf9d2273b909fa": {
          "type": "block",
          "data": {
            "name": "Set AI",
            "color": "#56b365",
            "steps": [
              "643874eb82cf9d2273b909fe",
              "643874eb82cf9d2273b90a01"
            ]
          },
          "nodeID": "643874eb82cf9d2273b909fa",
          "coords": [
            -556.9039789499768,
            -48.940886202522734
          ]
        },
        "643874eb82cf9d2273b909fc": {
          "type": "block",
          "data": {
            "name": "Set AI sample",
            "color": "",
            "steps": [
              "643874eb82cf9d2273b90a04",
              "643874eb82cf9d2273b90a07",
              "643874eb82cf9d2273b90a0a",
              "643874eb82cf9d2273b90a0d"
            ]
          },
          "nodeID": "643874eb82cf9d2273b909fc",
          "coords": [
            -562.3736491838624,
            -517.2178818581958
          ]
        },
        "643874eb82cf9d2273b909fe": {
          "type": "ai_set",
          "data": {
            "name": "AI Set",
            "label": "Classify the users sentiment",
            "sets": [
              {
                "prompt": "using the last response {{[last_response].last_response}}, classify the users sentiment as a single word",
                "variable": "sentiment"
              }
            ],
            "system": "",
            "maxTokens": 10,
            "model": "gpt-4",
            "temperature": 0,
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": "643874eb82cf9d2273b90a01",
                  "id": "643874eb82cf9d2273b909ff",
                  "data": {}
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "643874eb82cf9d2273b909fe"
        },
        "643874eb82cf9d2273b90a01": {
          "type": "text",
          "data": {
            "name": "Text",
            "texts": [
              {
                "id": "wm8on3eh5",
                "content": [
                  {
                    "children": [
                      {
                        "text": "Based on your input, I classified your sentiment as: "
                      },
                      {
                        "id": "sentiment",
                        "name": "sentiment",
                        "isSlot": false,
                        "type": "variable",
                        "children": [
                          {
                            "text": ""
                          }
                        ]
                      },
                      {
                        "text": ""
                      }
                    ]
                  }
                ]
              }
            ],
            "canvasVisibility": "preview",
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": null,
                  "id": "643874eb82cf9d2273b90a02",
                  "data": {
                    "points": [
                      {
                        "point": [
                          -261.0733205415116,
                          -210.31623474557398
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": true,
                        "allowedToTop": false
                      },
                      {
                        "point": [
                          -285.0733205415116,
                          -210.31623474557398
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": false
                      },
                      {
                        "point": [
                          -285.0733205415116,
                          -135.81608361065616
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": false
                      },
                      {
                        "point": [
                          -105.27542658901717,
                          -135.81608361065616
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": false
                      },
                      {
                        "point": [
                          -105.27542658901717,
                          -91.42552782698544
                        ],
                        "toTop": true,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": true
                      }
                    ]
                  }
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "643874eb82cf9d2273b90a01"
        },
        "643874eb82cf9d2273b90a04": {
          "type": "text",
          "data": {
            "name": "Text",
            "texts": [
              {
                "id": "xg77r3eyi",
                "content": [
                  {
                    "children": [
                      {
                        "text": "The 'Set AI' step allows you to set variables from a prompt you define."
                      }
                    ]
                  }
                ]
              }
            ],
            "canvasVisibility": "preview",
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": "643874eb82cf9d2273b90a07",
                  "id": "643874eb82cf9d2273b90a05"
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "643874eb82cf9d2273b90a04"
        },
        "643874eb82cf9d2273b90a07": {
          "type": "text",
          "data": {
            "name": "Text",
            "texts": [
              {
                "id": "1l9zc3eha",
                "content": [
                  {
                    "children": [
                      {
                        "text": "You might be thinking... \"what in the world does that mean?\". Well, lets just test an example."
                      }
                    ]
                  }
                ]
              }
            ],
            "canvasVisibility": "preview",
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": "643874eb82cf9d2273b90a0a",
                  "id": "643874eb82cf9d2273b90a08"
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "643874eb82cf9d2273b90a07"
        },
        "643874eb82cf9d2273b90a0a": {
          "type": "text",
          "data": {
            "name": "Text",
            "texts": [
              {
                "id": "s27ac3eqh",
                "content": [
                  {
                    "children": [
                      {
                        "text": "say anything",
                        "fontWeight": "700"
                      },
                      {
                        "text": ", and we'll use the 'Set AI' step to classify your sentimet, and map it to a variable"
                      }
                    ]
                  }
                ]
              }
            ],
            "canvasVisibility": "preview",
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": "643874eb82cf9d2273b90a0d",
                  "id": "643874eb82cf9d2273b90a0b"
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "643874eb82cf9d2273b90a0a"
        },
        "643874eb82cf9d2273b90a0d": {
          "type": "captureV2",
          "data": {
            "name": "Capture",
            "intentScope": "GLOBAL",
            "capture": {
              "type": "query",
              "variable": "last_response"
            },
            "noReply": null,
            "noMatch": null,
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": "643874eb82cf9d2273b909fa",
                  "id": "643874eb82cf9d2273b90a0e",
                  "data": {
                    "points": [
                      {
                        "point": [
                          -396.3736198152747,
                          -132.21749310519454
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": false
                      },
                      {
                        "point": [
                          -372.3736198152747,
                          -132.21749310519454
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": false
                      },
                      {
                        "point": [
                          -372.3736198152747,
                          -72.94085914775496
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": false
                      },
                      {
                        "point": [
                          -556.9039028482964,
                          -72.94085914775496
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": false
                      },
                      {
                        "point": [
                          -556.9039028482964,
                          -48.94085914775496
                        ],
                        "toTop": true,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": true
                      }
                    ]
                  }
                },
                "else": {
                  "type": "else",
                  "target": null,
                  "id": "643874eb82cf9d2273b90a0f"
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "643874eb82cf9d2273b90a0d"
        },
        "6438784f82cf9d2273b90dd4": {
          "type": "block",
          "data": {
            "name": "Use Logic to Route",
            "color": "#dc8879",
            "steps": [
              "6438784f82cf9d2273b90ddc"
            ]
          },
          "nodeID": "6438784f82cf9d2273b90dd4",
          "coords": [
            -1964.4846386537488,
            -626.9744457114995
          ]
        },
        "6438784f82cf9d2273b90dd6": {
          "type": "block",
          "data": {
            "name": "Capture Information",
            "color": "#dc8879",
            "steps": [
              "6438784f82cf9d2273b90de0",
              "6438784f82cf9d2273b90de3"
            ]
          },
          "nodeID": "6438784f82cf9d2273b90dd6",
          "coords": [
            -2376.095116200327,
            -628.3840706346044
          ]
        },
        "6438784f82cf9d2273b90dd8": {
          "type": "block",
          "data": {
            "name": "Other names",
            "color": "#dc8879",
            "steps": [
              "6438784f82cf9d2273b90de7"
            ]
          },
          "nodeID": "6438784f82cf9d2273b90dd8",
          "coords": [
            -1563.5642881833433,
            -467.2936955577087
          ]
        },
        "6438784f82cf9d2273b90dda": {
          "type": "block",
          "data": {
            "name": "Elon Musk",
            "color": "#dc8879",
            "steps": [
              "6438784f82cf9d2273b90dea"
            ]
          },
          "nodeID": "6438784f82cf9d2273b90dda",
          "coords": [
            -1564.8142881833433,
            -626.0436955577089
          ]
        },
        "6438784f82cf9d2273b90ddc": {
          "type": "ifV2",
          "data": {
            "name": "If",
            "expressions": [
              {
                "type": null,
                "name": "If name is elon musk",
                "value": [
                  {
                    "logicInterface": "variable",
                    "type": "equals",
                    "value": [
                      {
                        "type": "variable",
                        "value": "name"
                      },
                      {
                        "type": "value",
                        "value": "elon musk"
                      }
                    ]
                  }
                ]
              }
            ],
            "noMatch": {
              "type": "path",
              "pathName": "All other names"
            },
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "else": {
                  "type": "else",
                  "target": "6438784f82cf9d2273b90dd8",
                  "id": "6438784f82cf9d2273b90ddd",
                  "data": {
                    "points": [
                      {
                        "point": [
                          -1798.484505972181,
                          -492.72447921623757
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": false
                      },
                      {
                        "point": [
                          -1763.5243607307511,
                          -492.72447921623757
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": false
                      },
                      {
                        "point": [
                          -1763.5243607307511,
                          -440.2937029472216
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": false
                      },
                      {
                        "point": [
                          -1728.5642154893217,
                          -440.2937029472216
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": true
                      }
                    ]
                  }
                }
              },
              "dynamic": [
                {
                  "type": "",
                  "target": "6438784f82cf9d2273b90dda",
                  "id": "6438784f82cf9d2273b90dde",
                  "data": {
                    "points": [
                      {
                        "point": [
                          -1798.484505972181,
                          -547.2244999131336
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": false
                      },
                      {
                        "point": [
                          -1764.1493300508728,
                          -547.2244999131336
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": false
                      },
                      {
                        "point": [
                          -1764.1493300508728,
                          -599.0438504799286
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": false
                      },
                      {
                        "point": [
                          -1729.814154129565,
                          -599.0438504799286
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": true
                      }
                    ],
                    "event": {
                      "type": "If name is elon musk"
                    }
                  }
                }
              ]
            }
          },
          "nodeID": "6438784f82cf9d2273b90ddc"
        },
        "6438784f82cf9d2273b90de0": {
          "type": "text",
          "data": {
            "name": "Text",
            "texts": [
              {
                "id": "s8a30349g",
                "content": [
                  {
                    "children": [
                      {
                        "text": "What is your name?"
                      }
                    ]
                  }
                ]
              }
            ],
            "canvasVisibility": "preview",
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": "6438784f82cf9d2273b90de3",
                  "id": "6438784f82cf9d2273b90de1"
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "6438784f82cf9d2273b90de0"
        },
        "6438784f82cf9d2273b90de3": {
          "type": "captureV2",
          "data": {
            "name": "Capture",
            "intentScope": "GLOBAL",
            "capture": {
              "type": "query",
              "variable": "name"
            },
            "noReply": null,
            "noMatch": null,
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": "6438784f82cf9d2273b90dd4",
                  "id": "6438784f82cf9d2273b90de4",
                  "data": {
                    "points": [
                      {
                        "point": [
                          -2210.0950799471193,
                          -488.1341077200336
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": false
                      },
                      {
                        "point": [
                          -2169.789872823509,
                          -488.1341077200336
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": false
                      },
                      {
                        "point": [
                          -2169.789872823509,
                          -599.9743336839742
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": false
                      },
                      {
                        "point": [
                          -2129.484665699899,
                          -599.9743336839742
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": true
                      }
                    ]
                  }
                },
                "else": {
                  "type": "else",
                  "target": null,
                  "id": "6438784f82cf9d2273b90de5"
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "6438784f82cf9d2273b90de3"
        },
        "6438784f82cf9d2273b90de7": {
          "type": "text",
          "data": {
            "name": "Text",
            "texts": [
              {
                "id": "1jabe34gf",
                "content": [
                  {
                    "children": [
                      {
                        "text": "Hello "
                      },
                      {
                        "id": "name",
                        "name": "name",
                        "isSlot": false,
                        "type": "variable",
                        "children": [
                          {
                            "text": ""
                          }
                        ]
                      },
                      {
                        "text": " !"
                      }
                    ]
                  }
                ]
              }
            ],
            "canvasVisibility": "preview",
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": null,
                  "id": "6438784f82cf9d2273b90de8"
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "6438784f82cf9d2273b90de7"
        },
        "6438784f82cf9d2273b90dea": {
          "type": "text",
          "data": {
            "name": "Text",
            "texts": [
              {
                "id": "1jabe34gf",
                "content": [
                  {
                    "children": [
                      {
                        "text": "Twitter is the best 🐦"
                      }
                    ]
                  }
                ]
              }
            ],
            "canvasVisibility": "preview",
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": null,
                  "id": "6438784f82cf9d2273b90deb"
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "6438784f82cf9d2273b90dea"
        },
        "645d6f1383103cca7a3ce732": {
          "type": "block",
          "data": {
            "name": "Welcome",
            "color": "#56b365",
            "steps": [
              "645d6f1383103cca7a3ce736",
              "645d6f1383103cca7a3ce739",
              "645d6f1383103cca7a3ce73c"
            ]
          },
          "nodeID": "645d6f1383103cca7a3ce732",
          "coords": [
            -535.4719325269735,
            -4.484361157018327
          ]
        },
        "645d6f1383103cca7a3ce734": {
          "type": "block",
          "data": {
            "name": "AI response output",
            "color": "#56b365",
            "steps": [
              "645d6f1383103cca7a3ce740"
            ]
          },
          "nodeID": "645d6f1383103cca7a3ce734",
          "coords": [
            -537.1351794876463,
            395.41853787809356
          ]
        },
        "645d6f1383103cca7a3ce736": {
          "type": "text",
          "data": {
            "name": "Text",
            "texts": [
              {
                "id": "xg77r3eyi",
                "content": [
                  {
                    "children": [
                      {
                        "text": "The 'Response AI' step allows you to dynamically create responses based on a prompt that you define."
                      }
                    ]
                  }
                ]
              }
            ],
            "canvasVisibility": "preview",
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": "645d6f1383103cca7a3ce739",
                  "id": "645d6f1383103cca7a3ce737"
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "645d6f1383103cca7a3ce736"
        },
        "645d6f1383103cca7a3ce739": {
          "type": "text",
          "data": {
            "name": "Text",
            "texts": [
              {
                "id": "s27ac3eqh",
                "content": [
                  {
                    "children": [
                      {
                        "text": "Ask any question",
                        "fontWeight": "700"
                      },
                      {
                        "text": ", and we'll use the response AI step to provide a contextual response."
                      }
                    ]
                  }
                ]
              }
            ],
            "canvasVisibility": "preview",
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": "645d6f1383103cca7a3ce73c",
                  "id": "645d6f1383103cca7a3ce73a"
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "645d6f1383103cca7a3ce739"
        },
        "645d6f1383103cca7a3ce73c": {
          "type": "captureV2",
          "data": {
            "name": "Capture",
            "intentScope": "GLOBAL",
            "capture": {
              "type": "query",
              "variable": "last_utterance"
            },
            "noReply": null,
            "noMatch": null,
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": "645d6f1383103cca7a3ce734",
                  "id": "645d6f1383103cca7a3ce73d",
                  "data": {
                    "points": [
                      {
                        "point": [
                          -701.4692078069633,
                          297.5201460803028
                        ],
                        "reversed": true
                      },
                      {
                        "point": [
                          -725.4692078069633,
                          297.5201460803028
                        ]
                      },
                      {
                        "point": [
                          -725.4692078069633,
                          371.4201460803028
                        ]
                      },
                      {
                        "point": [
                          -537.1392078069632,
                          371.4201460803028
                        ]
                      },
                      {
                        "point": [
                          -537.1392078069632,
                          395.4201460803029
                        ],
                        "toTop": true,
                        "allowedToTop": true
                      }
                    ]
                  }
                },
                "else": {
                  "type": "else",
                  "target": null,
                  "id": "645d6f1383103cca7a3ce73e"
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "645d6f1383103cca7a3ce73c"
        },
        "645d6f1383103cca7a3ce740": {
          "type": "generative",
          "data": {
            "name": "Response AI",
            "prompt": "Based on the users question, respond with two brief sentences.",
            "system": "You are a helpful assistant",
            "maxTokens": 100,
            "model": "gpt-4",
            "temperature": 0.7,
            "mode": "memory_prompt",
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": null,
                  "id": "645d6f1383103cca7a3ce741",
                  "data": {
                    "points": [
                      {
                        "point": [
                          -366.65038217527956,
                          203.69991561840578
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": false
                      },
                      {
                        "point": [
                          -326.20384897215456,
                          203.69991561840578
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": false
                      },
                      {
                        "point": [
                          -326.20384897215456,
                          -152.10794570971922
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": false
                      },
                      {
                        "point": [
                          -285.75731576902956,
                          -152.10794570971922
                        ],
                        "toTop": false,
                        "locked": false,
                        "reversed": false,
                        "allowedToTop": true
                      }
                    ]
                  }
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "645d6f1383103cca7a3ce740"
        },
        "645d718f83103cca7a3cecc1": {
          "type": "block",
          "data": {
            "name": "Fail",
            "color": "#5b9fd7",
            "steps": [
              "645d718f83103cca7a3cecc9"
            ]
          },
          "nodeID": "645d718f83103cca7a3cecc1",
          "coords": [
            -943.7641060825457,
            -726.7018427371622
          ]
        },
        "645d718f83103cca7a3cecc3": {
          "type": "block",
          "data": {
            "name": "API Call",
            "color": "#5b9fd7",
            "steps": [
              "645d718f83103cca7a3ceccc"
            ]
          },
          "nodeID": "645d718f83103cca7a3cecc3",
          "coords": [
            -1337.282813902139,
            -902.1537022731807
          ]
        },
        "645d718f83103cca7a3cecc5": {
          "type": "block",
          "data": {
            "name": "Welcome",
            "color": "#5b9fd7",
            "steps": [
              "645d718f83103cca7a3cecd0",
              "645d718f83103cca7a3cecd3"
            ]
          },
          "nodeID": "645d718f83103cca7a3cecc5",
          "coords": [
            -1722.1832079861151,
            -907.6478276212674
          ]
        },
        "645d718f83103cca7a3cecc7": {
          "type": "block",
          "data": {
            "name": "Success",
            "color": "#5b9fd7",
            "steps": [
              "645d718f83103cca7a3cecd7"
            ]
          },
          "nodeID": "645d718f83103cca7a3cecc7",
          "coords": [
            -944.844860096504,
            -900.8660415973322
          ]
        },
        "645d718f83103cca7a3cecc9": {
          "type": "text",
          "data": {
            "name": "Text",
            "texts": [
              {
                "id": "u08yz372g",
                "content": [
                  {
                    "children": [
                      {
                        "text": "Error"
                      }
                    ]
                  }
                ]
              }
            ],
            "canvasVisibility": "preview",
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": null,
                  "id": "645d718f83103cca7a3cecca"
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "645d718f83103cca7a3cecc9"
        },
        "645d718f83103cca7a3ceccc": {
          "type": "api",
          "data": {
            "name": "",
            "url": "https://api.openai.com/v1/completions",
            "body": [
              {
                "key": "",
                "val": ""
              }
            ],
            "params": [],
            "method": "POST",
            "headers": [
              {
                "key": "Content-Type",
                "val": "application/json"
              },
              {
                "key": "Authorization",
                "val": "Bearer <ADD API KEY HERE>"
              }
            ],
            "content": "{\n  \"model\": \"text-davinci-003\",\n  \"prompt\": \"{last_utterance}\",\n  \"max_tokens\": 7,\n  \"temperature\": 0,\n  \"top_p\": 1,\n  \"n\": 1,\n  \"stream\": false,\n  \"logprobs\": null,\n  \"stop\": \"\\n\"\n}",
            "mappings": [
              {
                "path": "response",
                "var": "response"
              }
            ],
            "bodyType": "rawInput",
            "selectedAction": "Make a POST Request",
            "selectedIntegration": "Custom API",
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": "645d718f83103cca7a3cecd7",
                  "id": "645d718f83103cca7a3cecce",
                  "data": {
                    "points": [
                      {
                        "point": [
                          -1171.2838307947716,
                          -748.4052156062919
                        ]
                      },
                      {
                        "point": [
                          -1141.0638307947715,
                          -748.4052156062919
                        ]
                      },
                      {
                        "point": [
                          -1141.0638307947715,
                          -821.3652156062917
                        ]
                      },
                      {
                        "point": [
                          -1110.8438307947717,
                          -821.3652156062917
                        ],
                        "allowedToTop": false
                      }
                    ]
                  }
                },
                "fail": {
                  "type": "fail",
                  "target": "645d718f83103cca7a3cecc9",
                  "id": "645d718f83103cca7a3ceccd",
                  "data": {
                    "points": [
                      {
                        "point": [
                          -1171.2838307947716,
                          -693.9052156062919
                        ]
                      },
                      {
                        "point": [
                          -1140.5238307947716,
                          -693.9052156062919
                        ]
                      },
                      {
                        "point": [
                          -1140.5238307947716,
                          -647.2052156062919
                        ]
                      },
                      {
                        "point": [
                          -1109.7638307947714,
                          -647.2052156062919
                        ],
                        "allowedToTop": false
                      }
                    ]
                  }
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "645d718f83103cca7a3ceccc"
        },
        "645d718f83103cca7a3cecd0": {
          "type": "text",
          "data": {
            "name": "Text",
            "texts": [
              {
                "id": "xg77r3eyi",
                "content": [
                  {
                    "children": [
                      {
                        "text": "This flow captures a users question and sends it to the OpenAI API"
                      }
                    ]
                  }
                ]
              }
            ],
            "canvasVisibility": "preview",
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": "645d718f83103cca7a3cecd3",
                  "id": "645d718f83103cca7a3cecd1"
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "645d718f83103cca7a3cecd0"
        },
        "645d718f83103cca7a3cecd3": {
          "type": "captureV2",
          "data": {
            "name": "Capture",
            "intentScope": "GLOBAL",
            "capture": {
              "type": "query",
              "variable": "last_utterance"
            },
            "noReply": null,
            "noMatch": null,
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": "645d718f83103cca7a3cecc3",
                  "id": "645d718f83103cca7a3cecd4",
                  "data": {
                    "points": [
                      {
                        "point": [
                          -1556.1838307947714,
                          -733.6452156062919
                        ]
                      },
                      {
                        "point": [
                          -1529.2338307947716,
                          -733.6452156062919
                        ]
                      },
                      {
                        "point": [
                          -1529.2338307947716,
                          -875.1552156062919
                        ]
                      },
                      {
                        "point": [
                          -1502.2838307947716,
                          -875.1552156062919
                        ],
                        "allowedToTop": true
                      }
                    ]
                  }
                },
                "else": {
                  "type": "else",
                  "target": null,
                  "id": "645d718f83103cca7a3cecd5"
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "645d718f83103cca7a3cecd3"
        },
        "645d718f83103cca7a3cecd7": {
          "type": "text",
          "data": {
            "name": "Text",
            "texts": [
              {
                "id": "vh8xb37hw",
                "content": [
                  {
                    "children": [
                      {
                        "text": ""
                      },
                      {
                        "id": "response",
                        "name": "response",
                        "isSlot": false,
                        "type": "variable",
                        "children": [
                          {
                            "text": ""
                          }
                        ]
                      },
                      {
                        "text": " "
                      }
                    ]
                  }
                ]
              }
            ],
            "canvasVisibility": "preview",
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": null,
                  "id": "645d718f83103cca7a3cecd8"
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "645d718f83103cca7a3cecd7"
        }
      },
      "offsetX": 272,
      "offsetY": 204,
      "modified": 1681420883,
      "creatorID": 907467,
      "variables": [],
      "menuItems": [],
      "_id": "65e32e3173cb87b08438da79",
      "diagramID": "643872531e80120007759e05",
      "versionID": "65e32e3173cb87b08438da78"
    },
    "64386e21bb106b044ea34b78": {
      "name": "ROOT",
      "type": "TOPIC",
      "zoom": 100,
      "nodes": {
        "start00000000000000000000": {
          "type": "start",
          "data": {
            "name": "Start",
            "color": "#56b365",
            "steps": [],
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": "65e32f7e4037fc73c197dd8c",
                  "id": "6032afcf359e8c14c06c0319",
                  "data": {
                    "points": [
                      {
                        "point": [
                          -60.83,
                          -704.69
                        ]
                      },
                      {
                        "point": [
                          -35.65,
                          -704.69
                        ]
                      },
                      {
                        "point": [
                          -35.65,
                          -766.94
                        ]
                      },
                      {
                        "point": [
                          -10.47,
                          -766.94
                        ],
                        "allowedToTop": true
                      }
                    ]
                  }
                }
              },
              "dynamic": []
            },
            "label": "Start"
          },
          "nodeID": "start00000000000000000000",
          "coords": [
            -125.47306657576806,
            -726.6861503347151
          ]
        },
        "65e32f7e4037fc73c197dd8c": {
          "type": "block",
          "data": {
            "name": "Greetings",
            "color": "#5b9fd7",
            "steps": [
              "65e32f7e4037fc73c197dd92",
              "65e32fc94037fc73c197ddb0"
            ]
          },
          "nodeID": "65e32f7e4037fc73c197dd8c",
          "coords": [
            154.52693342423188,
            -793.936150334715
          ]
        },
        "65e32f7e4037fc73c197dd92": {
          "type": "text",
          "data": {
            "name": "Text",
            "texts": [
              {
                "id": "eagl3j61",
                "content": [
                  {
                    "children": [
                      {
                        "text": "Welcome to Webb Jenkins, I am Jenny, I will help you to find the right property for you."
                      }
                    ]
                  }
                ]
              }
            ],
            "canvasVisibility": "preview",
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": null,
                  "id": "65e32f7e4037fc73c197dd93"
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "65e32f7e4037fc73c197dd92"
        },
        "65e32fc94037fc73c197ddb0": {
          "type": "buttons",
          "data": {
            "name": "Buttons",
            "buttons": [
              {
                "id": "3mc13fp1",
                "name": "Search Properties",
                "actions": []
              },
              {
                "id": "eeci3fpy",
                "name": "Ask about company",
                "actions": []
              }
            ],
            "intentScope": "GLOBAL",
            "noMatch": {
              "types": [],
              "pathName": "No match",
              "randomize": false,
              "reprompts": []
            },
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "else": {
                  "type": "else",
                  "target": null,
                  "id": "65e32fc94037fc73c197ddb2"
                }
              },
              "dynamic": [
                {
                  "type": "",
                  "target": "65e41c0eba217e1bf7c668d7",
                  "id": "65e32fc94037fc73c197ddb1",
                  "data": {
                    "points": [
                      {
                        "point": [
                          320.53,
                          -615.19
                        ]
                      },
                      {
                        "point": [
                          358.78,
                          -615.19
                        ]
                      },
                      {
                        "point": [
                          358.78,
                          -774.25
                        ]
                      },
                      {
                        "point": [
                          397.03,
                          -774.25
                        ],
                        "allowedToTop": true
                      }
                    ],
                    "color": "#5b9fd7"
                  }
                },
                {
                  "id": "65e32fd24037fc73c197ddb5",
                  "type": "",
                  "target": "65e6c8803d5d8b795108a379",
                  "data": {
                    "points": [
                      {
                        "point": [
                          320.53,
                          -560.94
                        ]
                      },
                      {
                        "point": [
                          383.28,
                          -560.94
                        ]
                      },
                      {
                        "point": [
                          383.28,
                          -379
                        ]
                      },
                      {
                        "point": [
                          446.03,
                          -379
                        ],
                        "allowedToTop": false
                      }
                    ]
                  }
                }
              ]
            }
          },
          "nodeID": "65e32fc94037fc73c197ddb0",
          "coords": [
            0,
            0
          ]
        },
        "65e33d1f4037fc73c197ddb8": {
          "type": "captureV2",
          "data": {
            "name": "Capture",
            "intentScope": "GLOBAL",
            "capture": {
              "type": "query",
              "variable": "last_utterance"
            },
            "noReply": null,
            "noMatch": null,
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": "65e33d4b4037fc73c197ddc2",
                  "id": "65e33d1f4037fc73c197ddb9",
                  "data": {
                    "points": [
                      {
                        "point": [
                          1110.53,
                          -692
                        ]
                      },
                      {
                        "point": [
                          1312.03,
                          -692
                        ]
                      },
                      {
                        "point": [
                          1312.03,
                          -1007.75
                        ]
                      },
                      {
                        "point": [
                          1288.03,
                          -1007.75
                        ],
                        "reversed": true,
                        "allowedToTop": false
                      }
                    ]
                  }
                },
                "else": {
                  "type": "else",
                  "target": null,
                  "id": "65e33d1f4037fc73c197ddba"
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "65e33d1f4037fc73c197ddb8",
          "coords": [
            0,
            0
          ]
        },
        "65e33d1f4037fc73c197ddbb": {
          "type": "block",
          "data": {
            "name": "query",
            "steps": [
              "65e33d1f4037fc73c197ddb8"
            ],
            "color": ""
          },
          "nodeID": "65e33d1f4037fc73c197ddbb",
          "coords": [
            944.5269334242319,
            -780.498650334715
          ]
        },
        "65e33d4b4037fc73c197ddc2": {
          "type": "ai_set",
          "data": {
            "name": "AI Set",
            "label": "AI JSON",
            "sets": [
              {
                "mode": "prompt",
                "prompt": "{{[last_utterance].last_utterance}}",
                "variable": "65e34d2e80c7ff991ab18d62"
              }
            ],
            "system": "You are a JSON Generator for Webb Jenkins Real estate website API. You convert user queries into relevant JSON fields. \n\nCRITICAL: Your responses are always valid.\n\nConstraints: You are only to map VALID fields into JSON. The list of valid, case-sensitive fields and their data types are as follows:\n- trans_type_id\n- min_price\n- max_price\n- no_bedrooms\n\nYou are to ONLY answer with the JSON Structure. For example:\n\nAny query that has no relation with Real Estate or Property Listing:\n\n{\n \"error\": \"invalid query\"\n}\n\nQuery: I am looking for home:\n{\n \"error\": \"no search type found\"\n}\n\nor, if there is no mention of \"rent\" or \"buy\" or \"purchase\" in the first question:\n\n{\n \"error\": \"no search type found\"\n}\n\nQuery: I want to buy a house:\n{\n \"trans_type_id\": 1,\n\"min_price\": \"\",\n\"max_price\": \"\",\n\"min_bedrooms\": \"\"\n}\n\nQuery: I want to house for rent:\n{\n \"trans_type_id\": 2,\n\"min_price\": \"\",\n\"max_price\": \"\",\n\"min_bedrooms\": \"\"\n}\n\nQuery: I want to buy a house of minimum worth 40000:\n\n{\n \"trans_type_id\": 1,\n\"min_price\": \"40000\",\n\"max_price\": \"\",\n\"min_bedrooms\": \"\"\n}\n\nQuery: I want to buy a house with a minimum budget of $50,000.\n\n{\n \"trans_type_id\": 1,\n \"min_price\": \"50000\",\n \"max_price\": \"\",\n \"min_bedrooms\": \"\"\n}\n\nQuery:  Looking to rent an apartment under $2,000 per month\n\n{\n \"trans_type_id\": 2,\n \"min_price\": \"\",\n \"max_price\": \"2000\",\n \"min_bedrooms\": \"\"\n}\n\nQuery: I'm interested in purchasing a property between $100,000 and $300,000 with at least 2 bedrooms.\n\n{\n \"trans_type_id\": 1,\n \"min_price\": \"100000\",\n \"max_price\": \"300000\",\n \"min_bedrooms\": \"2\"\n}\n\nQuery: Find me rentals with 3 or more bedrooms and a max budget of $1,500:\n{\n \"trans_type_id\": 2,\n \"min_price\": \"\",\n \"max_price\": \"1500\",\n \"min_bedrooms\": \"3\"\n}\n\nQuery: I need a 4-bedroom house to buy, no budget limit.\n{\n \"trans_type_id\": 1,\n \"min_price\": \"\",\n \"max_price\": \"\",\n \"min_bedrooms\": \"4\"\n}\n\nQuery: Show me options to rent that don't exceed $1,000, bedroom count doesn't matter.\n\n{\n \"trans_type_id\": 2,\n \"min_price\": \"\",\n \"max_price\": \"1000\",\n \"min_bedrooms\": \"\"\n}\n\nQuery: Buying a home with a budget from $200,000 to $400,000, any number of bedrooms.\n\n{\n \"trans_type_id\": 1,\n \"min_price\": \"200000\",\n \"max_price\": \"400000\",\n \"min_bedrooms\": \"\"\n}",
            "maxTokens": 128,
            "overrideParams": false,
            "model": "gpt-3.5-turbo",
            "temperature": 0.7,
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": "65e41d49ba217e1bf7c668e3",
                  "id": "65e33d4b4037fc73c197ddc3",
                  "data": {
                    "points": [
                      {
                        "point": [
                          1288.03,
                          -1007.5
                        ]
                      },
                      {
                        "point": [
                          1341.28,
                          -1007.5
                        ]
                      },
                      {
                        "point": [
                          1341.28,
                          -943
                        ]
                      },
                      {
                        "point": [
                          1394.53,
                          -943
                        ],
                        "allowedToTop": true
                      }
                    ],
                    "color": "#d68588"
                  }
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "65e33d4b4037fc73c197ddc2"
        },
        "65e33d4b4037fc73c197ddc4": {
          "type": "block",
          "data": {
            "name": "AI Response",
            "steps": [
              "65e33d4b4037fc73c197ddc2"
            ],
            "color": "#dc8879"
          },
          "nodeID": "65e33d4b4037fc73c197ddc4",
          "coords": [
            1122.0269334242319,
            -1086.748650334715
          ]
        },
        "65e41c0eba217e1bf7c668d5": {
          "type": "text",
          "data": {
            "name": "Text",
            "texts": [
              {
                "id": "nl8e38l4",
                "content": [
                  {
                    "children": [
                      {
                        "text": "Sure! you may ask me questions like:"
                      }
                    ]
                  },
                  {
                    "children": [
                      {
                        "text": ""
                      }
                    ]
                  },
                  {
                    "children": [
                      {
                        "text": "- "
                      },
                      {
                        "text": "I want to buy a house with a budget of 300,000 to 500,000.",
                        "italic": true
                      }
                    ]
                  },
                  {
                    "children": [
                      {
                        "italic": true,
                        "text": ""
                      }
                    ]
                  },
                  {
                    "children": [
                      {
                        "italic": true,
                        "text": "- I'm interested in buying a property with a minimum budget of 200,000."
                      }
                    ]
                  },
                  {
                    "children": [
                      {
                        "italic": true,
                        "text": ""
                      }
                    ]
                  },
                  {
                    "children": [
                      {
                        "italic": true,
                        "text": "- Looking to rent an apartment with at least 2 bedrooms."
                      }
                    ]
                  }
                ]
              }
            ],
            "canvasVisibility": "preview",
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": "65e33d1f4037fc73c197ddbb",
                  "id": "65e41c0eba217e1bf7c668d6",
                  "data": {
                    "points": [
                      {
                        "point": [
                          728.03,
                          -628.75
                        ]
                      },
                      {
                        "point": [
                          753.78,
                          -628.75
                        ]
                      },
                      {
                        "point": [
                          753.78,
                          -753.5
                        ]
                      },
                      {
                        "point": [
                          779.53,
                          -753.5
                        ],
                        "allowedToTop": true
                      }
                    ],
                    "color": "#5b9fd7"
                  }
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "65e41c0eba217e1bf7c668d5"
        },
        "65e41c0eba217e1bf7c668d7": {
          "type": "block",
          "data": {
            "name": "Search Examples",
            "steps": [
              "65e41c0eba217e1bf7c668d5"
            ],
            "color": "#5b9fd7"
          },
          "nodeID": "65e41c0eba217e1bf7c668d7",
          "coords": [
            562.0269775390625,
            -801.2485656738281
          ]
        },
        "65e41d49ba217e1bf7c668e0": {
          "type": "code",
          "data": {
            "name": "",
            "code": "ai_response = JSON.parse(ai_response)\nif(ai_response.error) {\n    if(ai_response.error === 'invalid query') {\n      return \"invalid_query\";\n    } else {\n      return \"search_type_not_found\";\n    }\n    \n  } else {\n     search_type = parseInt(ai_response.trans_type_id);\n     min_price = parseInt(ai_response.min_price);\n     max_price = parseInt(ai_response.max_price);\n     min_bedrooms = parseInt(ai_response.min_bedrooms);\n  }\n",
            "paths": [
              {
                "label": "invalid_query",
                "key": "5l1f438cp"
              },
              {
                "label": "search_type_not_found",
                "key": "kw1fl38f8"
              }
            ],
            "portsV2": {
              "byKey": {
                "5l1f438cp": {
                  "id": "65e4211cba217e1bf7c6694a",
                  "target": "65e4214fba217e1bf7c6694e",
                  "type": "",
                  "data": {
                    "points": [
                      {
                        "point": [
                          1725.53,
                          -781.75
                        ]
                      },
                      {
                        "point": [
                          1921.4,
                          -781.75
                        ]
                      },
                      {
                        "point": [
                          1921.4,
                          -660.06
                        ]
                      },
                      {
                        "point": [
                          2117.28,
                          -660.06
                        ],
                        "allowedToTop": false
                      }
                    ],
                    "color": "#CB627B"
                  }
                },
                "kw1fl38f8": {
                  "id": "65e4212dba217e1bf7c6694c",
                  "target": "65e421a7ba217e1bf7c66957",
                  "type": "",
                  "data": {
                    "points": [
                      {
                        "point": [
                          1725.53,
                          -727.25
                        ]
                      },
                      {
                        "point": [
                          1901.4,
                          -727.25
                        ]
                      },
                      {
                        "point": [
                          1901.4,
                          -460.06
                        ]
                      },
                      {
                        "point": [
                          2077.28,
                          -460.06
                        ],
                        "allowedToTop": false
                      }
                    ],
                    "color": "#CB627B"
                  }
                }
              },
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": "65e44825ba217e1bf7c66976",
                  "id": "65e41d49ba217e1bf7c668e1",
                  "data": {
                    "points": [
                      {
                        "point": [
                          1725.53,
                          -836.25
                        ]
                      },
                      {
                        "point": [
                          1791.9,
                          -836.25
                        ]
                      },
                      {
                        "point": [
                          1791.9,
                          -1148.19
                        ]
                      },
                      {
                        "point": [
                          1858.28,
                          -1148.19
                        ],
                        "allowedToTop": true
                      }
                    ],
                    "color": "#d182b3"
                  }
                },
                "fail": {
                  "type": "fail",
                  "target": null,
                  "id": "65e41d49ba217e1bf7c668e2"
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "65e41d49ba217e1bf7c668e0"
        },
        "65e41d49ba217e1bf7c668e3": {
          "type": "block",
          "data": {
            "name": "JS Block",
            "steps": [
              "65e41d49ba217e1bf7c668e0"
            ],
            "color": "#af8dce"
          },
          "nodeID": "65e41d49ba217e1bf7c668e3",
          "coords": [
            1559.5269775390625,
            -969.9985656738281
          ]
        },
        "65e4214fba217e1bf7c6694e": {
          "type": "text",
          "data": {
            "name": "Text",
            "texts": [
              {
                "id": "vd1h438r4",
                "content": [
                  {
                    "children": [
                      {
                        "text": "huh? What it has to do with real estate listing?"
                      }
                    ]
                  }
                ]
              },
              {
                "id": "6d1hz384h",
                "content": [
                  {
                    "children": [
                      {
                        "text": "What does this have to do with real estate listings?"
                      }
                    ]
                  }
                ]
              },
              {
                "id": "4e1iu38m5",
                "content": [
                  {
                    "children": [
                      {
                        "text": "What relevance does this have to real estate listings?"
                      }
                    ]
                  }
                ]
              },
              {
                "id": "4e1iv380m",
                "content": [
                  {
                    "children": [
                      {
                        "text": "How does this relate to real estate listings?"
                      }
                    ]
                  }
                ]
              },
              {
                "id": "4e1iw38iq",
                "content": [
                  {
                    "children": [
                      {
                        "text": "Why is this connected to real estate listings?"
                      }
                    ]
                  }
                ]
              }
            ],
            "canvasVisibility": "preview",
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": "65e4220bba217e1bf7c66961",
                  "id": "65e4214fba217e1bf7c6694f",
                  "data": {}
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "65e4214fba217e1bf7c6694e"
        },
        "65e4214fba217e1bf7c66950": {
          "type": "block",
          "data": {
            "name": "Asking Irrelevant Query",
            "steps": [
              "65e4214fba217e1bf7c6694e"
            ],
            "color": "#CB627B"
          },
          "nodeID": "65e4214fba217e1bf7c66950",
          "coords": [
            2283.2769775390625,
            -739.0611419677734
          ]
        },
        "65e421a7ba217e1bf7c66957": {
          "type": "text",
          "data": {
            "name": "Text",
            "texts": [
              {
                "id": "9h1lm38kx",
                "content": [
                  {
                    "children": [
                      {
                        "text": "You must specify whether you are looking to buy or rent a property. For instance:"
                      }
                    ]
                  },
                  {
                    "children": [
                      {
                        "text": ""
                      }
                    ]
                  },
                  {
                    "children": [
                      {
                        "text": "- I am looking to buy a house.",
                        "italic": true
                      }
                    ]
                  },
                  {
                    "children": [
                      {
                        "text": "- I'm in search of a rental home.",
                        "italic": true
                      }
                    ]
                  }
                ]
              },
              {
                "id": "qr2z438ry",
                "content": [
                  {
                    "children": [
                      {
                        "text": "You need to clarify if you want to purchase or rent a property. For example:"
                      }
                    ]
                  },
                  {
                    "children": [
                      {
                        "text": ""
                      }
                    ]
                  },
                  {
                    "children": [
                      {
                        "text": "- I am looking to buy a house.",
                        "italic": true
                      }
                    ]
                  },
                  {
                    "children": [
                      {
                        "text": "- I'm in search of a rental home.",
                        "italic": true
                      }
                    ]
                  }
                ]
              },
              {
                "id": "qr2z538g9",
                "content": [
                  {
                    "children": [
                      {
                        "text": "Please specify if you are interested in buying or renting a property. For instance:"
                      }
                    ]
                  },
                  {
                    "children": [
                      {
                        "text": ""
                      }
                    ]
                  },
                  {
                    "children": [
                      {
                        "text": "- I am looking to buy a house.",
                        "italic": true
                      }
                    ]
                  },
                  {
                    "children": [
                      {
                        "text": "- I'm in search of a rental home.",
                        "italic": true
                      }
                    ]
                  }
                ]
              },
              {
                "id": "qr2z638be",
                "content": [
                  {
                    "children": [
                      {
                        "text": "It's important to indicate whether you want to buy or rent a property. For example:"
                      }
                    ]
                  },
                  {
                    "children": [
                      {
                        "text": ""
                      }
                    ]
                  },
                  {
                    "children": [
                      {
                        "text": "- I am looking to buy a house.",
                        "italic": true
                      }
                    ]
                  },
                  {
                    "children": [
                      {
                        "text": "- I'm in search of a rental home.",
                        "italic": true
                      }
                    ]
                  }
                ]
              }
            ],
            "canvasVisibility": "preview",
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": "65e42217ba217e1bf7c66967",
                  "id": "65e421a7ba217e1bf7c66958",
                  "data": {}
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "65e421a7ba217e1bf7c66957"
        },
        "65e421a7ba217e1bf7c66959": {
          "type": "block",
          "data": {
            "name": "Mention Search Type",
            "steps": [
              "65e421a7ba217e1bf7c66957"
            ],
            "color": "#CB627B"
          },
          "nodeID": "65e421a7ba217e1bf7c66959",
          "coords": [
            2243.2769775390625,
            -539.0611419677737
          ]
        },
        "65e4220bba217e1bf7c66960": {
          "type": "goToNode",
          "data": {
            "name": "",
            "nodeID": "65e33d1f4037fc73c197ddbb",
            "diagramID": "64386e21bb106b044ea34b78",
            "portsV2": {
              "byKey": {},
              "builtIn": {},
              "dynamic": []
            }
          },
          "nodeID": "65e4220bba217e1bf7c66960"
        },
        "65e4220bba217e1bf7c66961": {
          "type": "actions",
          "data": {
            "name": "",
            "steps": [
              "65e4220bba217e1bf7c66960"
            ]
          },
          "nodeID": "65e4220bba217e1bf7c66961",
          "coords": [
            0,
            0
          ]
        },
        "65e42217ba217e1bf7c66966": {
          "type": "goToNode",
          "data": {
            "name": "",
            "nodeID": "65e33d1f4037fc73c197ddbb",
            "diagramID": "64386e21bb106b044ea34b78",
            "portsV2": {
              "byKey": {},
              "builtIn": {},
              "dynamic": []
            }
          },
          "nodeID": "65e42217ba217e1bf7c66966"
        },
        "65e42217ba217e1bf7c66967": {
          "type": "actions",
          "data": {
            "name": "",
            "steps": [
              "65e42217ba217e1bf7c66966"
            ]
          },
          "nodeID": "65e42217ba217e1bf7c66967",
          "coords": [
            0,
            0
          ]
        },
        "65e44825ba217e1bf7c66976": {
          "type": "block",
          "data": {
            "name": "Please Wait..Finding Properties",
            "color": "",
            "steps": [
              "65e44825ba217e1bf7c66978"
            ]
          },
          "nodeID": "65e44825ba217e1bf7c66976",
          "coords": [
            2023.2769334242316,
            -1175.186150334715
          ]
        },
        "65e44825ba217e1bf7c66978": {
          "type": "text",
          "data": {
            "name": "Text",
            "texts": [
              {
                "id": "56ns3ca0",
                "content": [
                  {
                    "children": [
                      {
                        "text": "Now hang on, let me find properties for you"
                      }
                    ]
                  }
                ]
              }
            ],
            "canvasVisibility": "preview",
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": "65e45207ba217e1bf7c669c7",
                  "id": "65e44825ba217e1bf7c66979",
                  "data": {
                    "points": [
                      {
                        "point": [
                          2189.28,
                          -1086.69
                        ]
                      },
                      {
                        "point": [
                          2267.03,
                          -1084.44
                        ]
                      }
                    ],
                    "color": "#5b9fd7"
                  }
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "65e44825ba217e1bf7c66978"
        },
        "65e45207ba217e1bf7c669c7": {
          "type": "block",
          "data": {
            "name": "API for Fetching Properties",
            "color": "#5b9fd7",
            "steps": [
              "65e45207ba217e1bf7c669c9"
            ]
          },
          "nodeID": "65e45207ba217e1bf7c669c7",
          "coords": [
            2432.0269334242316,
            -1111.436150334715
          ]
        },
        "65e45207ba217e1bf7c669c9": {
          "type": "api",
          "data": {
            "name": "",
            "url": "https://adnansiddiqi.me/chatbot/api/search_ai.php",
            "body": [],
            "params": [
              {
                "key": "search_type",
                "val": "{{[search_type].65e41eaa80c7ff991ab193ae}}"
              },
              {
                "key": "min_price",
                "val": "{{[min_price].65e41ed880c7ff991ab193b2}}"
              },
              {
                "key": "max_price",
                "val": "{{[max_price].65e41f0880c7ff991ab193b3}}"
              },
              {
                "key": "min_bedrooms",
                "val": "{{[min_bedrooms].65e41f2880c7ff991ab193b5}}"
              }
            ],
            "method": "GET",
            "headers": [],
            "content": "",
            "mappings": [
              {
                "path": "response",
                "var": "65e452ea80c7ff991ab19424"
              }
            ],
            "bodyType": "formData",
            "selectedAction": "Make a GET Request",
            "selectedIntegration": "Custom API",
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": "65e45347ba217e1bf7c669dc",
                  "id": "65e45207ba217e1bf7c669cb",
                  "data": {
                    "color": "#5b9fd7"
                  }
                },
                "fail": {
                  "type": "fail",
                  "target": null,
                  "id": "65e45207ba217e1bf7c669ca"
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "65e45207ba217e1bf7c669c9"
        },
        "65e45347ba217e1bf7c669dc": {
          "type": "block",
          "data": {
            "name": "Properties Count Validation",
            "color": "",
            "steps": [
              "65e45347ba217e1bf7c669de"
            ]
          },
          "nodeID": "65e45347ba217e1bf7c669dc",
          "coords": [
            2863.2769334242316,
            -1148.686150334715
          ]
        },
        "65e45347ba217e1bf7c669de": {
          "type": "ifV2",
          "data": {
            "name": "If",
            "expressions": [
              {
                "type": null,
                "name": "Check if Properties Exist",
                "value": [
                  {
                    "id": "wc1wb3azz",
                    "logicInterface": "expression",
                    "type": "advance",
                    "value": "{{[searched_properties].65e452ea80c7ff991ab19424}}.length > 0"
                  }
                ]
              },
              {
                "type": null,
                "name": "Check if Properties Do not Exist",
                "value": [
                  {
                    "id": "lj20g3am6",
                    "logicInterface": "expression",
                    "type": "advance",
                    "value": "{{[searched_properties].65e452ea80c7ff991ab19424}}.length == 0"
                  }
                ]
              }
            ],
            "noMatch": {
              "type": "none",
              "pathName": "No match"
            },
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "else": {
                  "type": "else",
                  "target": null,
                  "id": "65e45347ba217e1bf7c669df"
                }
              },
              "dynamic": [
                {
                  "type": "",
                  "target": "65e45396ba217e1bf7c66a04",
                  "id": "65e45347ba217e1bf7c669e0",
                  "data": {
                    "points": [
                      {
                        "point": [
                          3029.28,
                          -1069.44
                        ]
                      },
                      {
                        "point": [
                          3095.65,
                          -1069.44
                        ]
                      },
                      {
                        "point": [
                          3095.65,
                          -1294.19
                        ]
                      },
                      {
                        "point": [
                          3162.03,
                          -1294.19
                        ],
                        "allowedToTop": true
                      }
                    ]
                  }
                },
                {
                  "type": "",
                  "target": "65e45371ba217e1bf7c669ea",
                  "id": "65e45347ba217e1bf7c669e1",
                  "data": {
                    "points": [
                      {
                        "point": [
                          3029.28,
                          -1005.69
                        ]
                      },
                      {
                        "point": [
                          3127.53,
                          -1005.69
                        ]
                      },
                      {
                        "point": [
                          3127.53,
                          -967.94
                        ]
                      },
                      {
                        "point": [
                          3225.78,
                          -967.94
                        ],
                        "allowedToTop": true
                      }
                    ]
                  }
                }
              ]
            }
          },
          "nodeID": "65e45347ba217e1bf7c669de"
        },
        "65e45371ba217e1bf7c669ea": {
          "type": "block",
          "data": {
            "name": "Search Again?",
            "color": "#dc8879",
            "steps": [
              "65e45371ba217e1bf7c669ee",
              "65e45371ba217e1bf7c669f1"
            ]
          },
          "nodeID": "65e45371ba217e1bf7c669ea",
          "coords": [
            3390.7769334242316,
            -994.9361503347151
          ]
        },
        "65e45371ba217e1bf7c669ee": {
          "type": "text",
          "data": {
            "name": "Text",
            "texts": [
              {
                "id": "bf22p3a3l",
                "content": [
                  {
                    "children": [
                      {
                        "text": "We could not find any properties that matched your criteria. Do you want to search again?"
                      }
                    ]
                  }
                ]
              }
            ],
            "canvasVisibility": "preview",
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": null,
                  "id": "65e45371ba217e1bf7c669ef"
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "65e45371ba217e1bf7c669ee"
        },
        "65e45371ba217e1bf7c669f1": {
          "type": "buttons",
          "data": {
            "name": "Buttons",
            "buttons": [
              {
                "id": "bw25q3a5i",
                "name": "Yes",
                "actions": []
              },
              {
                "id": "xf27b3a80",
                "name": "No",
                "actions": []
              }
            ],
            "intentScope": "GLOBAL",
            "noMatch": {
              "types": [],
              "pathName": "No match",
              "randomize": false,
              "reprompts": []
            },
            "noReply": null,
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "else": {
                  "type": "else",
                  "target": null,
                  "id": "65e45371ba217e1bf7c669f2"
                }
              },
              "dynamic": [
                {
                  "type": "",
                  "target": null,
                  "id": "65e45371ba217e1bf7c669f3",
                  "data": {}
                },
                {
                  "type": "",
                  "target": null,
                  "id": "65e45371ba217e1bf7c669f4",
                  "data": {
                    "points": [
                      {
                        "point": [
                          3188.02342234686,
                          -643.1848628282405
                        ]
                      },
                      {
                        "point": [
                          3487.40342234686,
                          -647.6848628282405
                        ]
                      }
                    ]
                  }
                }
              ]
            }
          },
          "nodeID": "65e45371ba217e1bf7c669f1"
        },
        "65e45396ba217e1bf7c66a04": {
          "type": "block",
          "data": {
            "name": "Carousel Generation",
            "color": "#71a5a0",
            "steps": [
              "65e45396ba217e1bf7c66a06",
              "65e45396ba217e1bf7c66a0a"
            ]
          },
          "nodeID": "65e45396ba217e1bf7c66a04",
          "coords": [
            3327.0269334242316,
            -1321.186150334715
          ]
        },
        "65e45396ba217e1bf7c66a06": {
          "type": "code",
          "data": {
            "name": "",
            "code": "selected_properties = []\n\ncarousel_dynamic = {\n  layout:\"Carousel\",\n  cards : []\n}\n\nfunction createCard(title, image, description) {\n  let cardContent = {\n    \"title\": title,\n    \"description\": {\n      \"text\": description\n    },\n    \"imageUrl\": image,\n    \"buttons\": [\n      {\n        \"name\": \"I am interested\",\n        \"request\": {\n          \"type\": \"property_selected\",\n          \"payload\": {\n            title\n          }\n        }\n      }\n    ]\n  };\n  return cardContent;\n}\n\nfor(let i=0;i< searched_properties.length;i++) {\n  let GBPFormatter = new Intl.NumberFormat('en-US', {\n  style: 'currency',\n  currency: 'GBP',\n  minimumFractionDigits: 0,\n  maximumFractionDigits: 0\n});\n\n  carousel_dynamic.cards.push(createCard(searched_properties[i].title, searched_properties[i].image, GBPFormatter.format(searched_properties[i].price)))  \n}\n\n\ncarousel_dynamic = JSON.stringify(carousel_dynamic)\n    ",
            "paths": [],
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": null,
                  "id": "65e45396ba217e1bf7c66a08"
                },
                "fail": {
                  "type": "fail",
                  "target": null,
                  "id": "65e45396ba217e1bf7c66a07"
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "65e45396ba217e1bf7c66a06"
        },
        "65e45396ba217e1bf7c66a0a": {
          "type": "trace",
          "data": {
            "name": "carousel",
            "_v": 1,
            "paths": [
              {
                "label": "property_selected",
                "isDefault": true
              }
            ],
            "payload": {
              "name": "carousel",
              "body": "{carousel_dynamic}",
              "bodyType": "json",
              "scope": "local",
              "isBlocking": true
            },
            "defaultPath": 0,
            "portsV2": {
              "byKey": {},
              "builtIn": {},
              "dynamic": [
                {
                  "type": "",
                  "target": "65e4f3b7ba217e1bf7c66d46",
                  "id": "65e45396ba217e1bf7c66a0b",
                  "data": {
                    "points": [
                      {
                        "point": [
                          3493.03,
                          -1125.94
                        ]
                      },
                      {
                        "point": [
                          3563.78,
                          -1125.94
                        ]
                      },
                      {
                        "point": [
                          3563.78,
                          -1288.94
                        ]
                      },
                      {
                        "point": [
                          3634.53,
                          -1288.94
                        ],
                        "allowedToTop": true
                      }
                    ],
                    "color": "#70a697"
                  }
                }
              ]
            }
          },
          "nodeID": "65e45396ba217e1bf7c66a0a",
          "coords": [
            0,
            0
          ]
        },
        "65e4f3b7ba217e1bf7c66d46": {
          "type": "block",
          "data": {
            "name": "Setting Selected Properties Array",
            "color": "#5b9fd7",
            "steps": [
              "65e4f3b7ba217e1bf7c66d48"
            ]
          },
          "nodeID": "65e4f3b7ba217e1bf7c66d46",
          "coords": [
            3799.5269334242316,
            -1315.936150334715
          ]
        },
        "65e4f3b7ba217e1bf7c66d48": {
          "type": "code",
          "data": {
            "name": "",
            "code": "selected_properties.push(last_event.payload.title)\nselected_properties_text = selected_properties.join(\"\\n\")\nselected_properties_text = JSON.stringify(selected_properties)\n\n\nif(payload == \"-\") {\n payload = last_event.payload.title\n} else {\n  payload = payload+\"%%\"+last_event.payload.title\n  let propertiesArray = payload.split(\"%%\")\n  selected_properties_text = propertiesArray.map(item => `<li>${item}</li>`).join('')\n}\n\n\n\n\n\n",
            "paths": [],
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": "65e4f951ba217e1bf7c66f42",
                  "id": "65e4f3b7ba217e1bf7c66d4a",
                  "data": {
                    "points": [
                      {
                        "point": [
                          3965.53,
                          -1182.19
                        ]
                      },
                      {
                        "point": [
                          3989.53,
                          -1182.19
                        ]
                      },
                      {
                        "point": [
                          3989.53,
                          -1237.31
                        ]
                      },
                      {
                        "point": [
                          3988.03,
                          -1237.31
                        ]
                      },
                      {
                        "point": [
                          3988.03,
                          -1292.44
                        ]
                      },
                      {
                        "point": [
                          4012.03,
                          -1292.44
                        ],
                        "allowedToTop": true
                      }
                    ]
                  }
                },
                "fail": {
                  "type": "fail",
                  "target": null,
                  "id": "65e4f3b7ba217e1bf7c66d49"
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "65e4f3b7ba217e1bf7c66d48"
        },
        "65e4f951ba217e1bf7c66f42": {
          "type": "block",
          "data": {
            "name": "Select Further",
            "color": "#b5966c",
            "steps": [
              "65e4f951ba217e1bf7c66f44",
              "65e4f951ba217e1bf7c66f47"
            ]
          },
          "nodeID": "65e4f951ba217e1bf7c66f42",
          "coords": [
            4177.026933424231,
            -1319.436150334715
          ]
        },
        "65e4f951ba217e1bf7c66f44": {
          "type": "text",
          "data": {
            "name": "Text",
            "texts": [
              {
                "id": "q8c0n3c6r",
                "content": [
                  {
                    "children": [
                      {
                        "text": "Are you interested in further properties?"
                      }
                    ]
                  }
                ]
              }
            ],
            "canvasVisibility": "preview",
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": null,
                  "id": "65e4f951ba217e1bf7c66f45",
                  "data": {}
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "65e4f951ba217e1bf7c66f44"
        },
        "65e4f951ba217e1bf7c66f47": {
          "type": "buttons",
          "data": {
            "name": "Buttons",
            "buttons": [
              {
                "id": "8xdur3czi",
                "name": "Yes",
                "actions": [],
                "intent": "VF.YES"
              },
              {
                "id": "wldvu3ckz",
                "name": "No",
                "actions": [],
                "intent": "VF.NO"
              }
            ],
            "intentScope": "GLOBAL",
            "noMatch": {
              "types": [],
              "pathName": "No match",
              "randomize": false,
              "reprompts": []
            },
            "noReply": null,
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "else": {
                  "type": "else",
                  "target": null,
                  "id": "65e4f951ba217e1bf7c66f48"
                }
              },
              "dynamic": [
                {
                  "type": "",
                  "target": "65e4f9daba217e1bf7c66f55",
                  "id": "65e4f951ba217e1bf7c66f49",
                  "data": {}
                },
                {
                  "type": "",
                  "target": "65e4fa65ba217e1bf7c66f5c",
                  "id": "65e4f951ba217e1bf7c66f4a",
                  "data": {
                    "points": [
                      {
                        "point": [
                          4343.03,
                          -1106.94
                        ]
                      },
                      {
                        "point": [
                          4459.53,
                          -1103.19
                        ]
                      }
                    ]
                  }
                }
              ]
            }
          },
          "nodeID": "65e4f951ba217e1bf7c66f47"
        },
        "65e4f9daba217e1bf7c66f54": {
          "type": "goToNode",
          "data": {
            "name": "",
            "nodeID": "65e45396ba217e1bf7c66a04",
            "diagramID": "64386e21bb106b044ea34b78",
            "portsV2": {
              "byKey": {},
              "builtIn": {},
              "dynamic": []
            }
          },
          "nodeID": "65e4f9daba217e1bf7c66f54"
        },
        "65e4f9daba217e1bf7c66f55": {
          "type": "actions",
          "data": {
            "name": "",
            "steps": [
              "65e4f9daba217e1bf7c66f54"
            ]
          },
          "nodeID": "65e4f9daba217e1bf7c66f55",
          "coords": [
            0,
            0
          ]
        },
        "65e4fa65ba217e1bf7c66f5c": {
          "type": "block",
          "data": {
            "name": "Display Properties and Asking for Contact Details",
            "color": "#cb81ce",
            "steps": [
              "65e4fa65ba217e1bf7c66f5e",
              "65e4fa65ba217e1bf7c66f61",
              "65e4fa65ba217e1bf7c66f64"
            ]
          },
          "nodeID": "65e4fa65ba217e1bf7c66f5c",
          "coords": [
            4624.5269775390625,
            -1130.1861724853513
          ]
        },
        "65e4fa65ba217e1bf7c66f5e": {
          "type": "text",
          "data": {
            "name": "Text",
            "texts": [
              {
                "id": "mkc533cjy",
                "content": [
                  {
                    "children": [
                      {
                        "text": "You selected the following properties:"
                      }
                    ]
                  },
                  {
                    "children": [
                      {
                        "text": ""
                      }
                    ]
                  },
                  {
                    "children": [
                      {
                        "text": ""
                      },
                      {
                        "id": "65e4f66780c7ff991ab198bf",
                        "name": "selected_properties_text",
                        "isSlot": false,
                        "type": "variable",
                        "children": [
                          {
                            "text": ""
                          }
                        ]
                      },
                      {
                        "text": " "
                      }
                    ]
                  }
                ]
              }
            ],
            "canvasVisibility": "preview",
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": null,
                  "id": "65e4fa65ba217e1bf7c66f5f"
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "65e4fa65ba217e1bf7c66f5e"
        },
        "65e4fa65ba217e1bf7c66f61": {
          "type": "text",
          "data": {
            "name": "Text",
            "texts": [
              {
                "id": "mteow3cvu",
                "content": [
                  {
                    "children": [
                      {
                        "text": "Would you like to provide us your contact details so that we could contact you later?"
                      }
                    ]
                  }
                ]
              }
            ],
            "canvasVisibility": "preview",
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": null,
                  "id": "65e4fa65ba217e1bf7c66f62"
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "65e4fa65ba217e1bf7c66f61"
        },
        "65e4fa65ba217e1bf7c66f64": {
          "type": "buttons",
          "data": {
            "name": "Buttons",
            "buttons": [
              {
                "id": "dfer43c6k",
                "name": "Yes",
                "actions": [],
                "intent": "VF.YES"
              },
              {
                "id": "uqes63csr",
                "name": "No",
                "actions": [],
                "intent": "VF.NO"
              }
            ],
            "intentScope": "GLOBAL",
            "noMatch": {
              "types": [],
              "pathName": "No match",
              "randomize": false,
              "reprompts": []
            },
            "noReply": null,
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "else": {
                  "type": "else",
                  "target": null,
                  "id": "65e4fa65ba217e1bf7c66f65"
                }
              },
              "dynamic": [
                {
                  "type": "",
                  "target": "65e5d8ed29bc9580ae47d07f",
                  "id": "65e4fa65ba217e1bf7c66f66",
                  "data": {
                    "points": [
                      {
                        "point": [
                          4790.53,
                          -838.44
                        ]
                      },
                      {
                        "point": [
                          4824.4,
                          -838.44
                        ]
                      },
                      {
                        "point": [
                          4824.4,
                          -1100.44
                        ]
                      },
                      {
                        "point": [
                          4858.28,
                          -1100.44
                        ],
                        "allowedToTop": true
                      }
                    ]
                  }
                },
                {
                  "type": "",
                  "target": null,
                  "id": "65e4fa65ba217e1bf7c66f67",
                  "data": {
                    "points": [
                      {
                        "point": [
                          4323.527216461691,
                          -946.6827727823108
                        ],
                        "reversed": true
                      },
                      {
                        "point": [
                          4293.517216461691,
                          -946.6827727823108
                        ]
                      },
                      {
                        "point": [
                          4293.517216461691,
                          -855.6027727823107
                        ]
                      },
                      {
                        "point": [
                          4263.497216461691,
                          -855.6027727823107
                        ],
                        "reversed": true,
                        "allowedToTop": true
                      }
                    ]
                  }
                }
              ]
            }
          },
          "nodeID": "65e4fa65ba217e1bf7c66f64",
          "coords": [
            0,
            0
          ]
        },
        "65e5d8ed29bc9580ae47d07f": {
          "type": "block",
          "data": {
            "name": "Name",
            "color": "#56b365",
            "steps": [
              "65e5d8ed29bc9580ae47d081",
              "65e5d8ed29bc9580ae47d084"
            ]
          },
          "nodeID": "65e5d8ed29bc9580ae47d07f",
          "coords": [
            5023.2769775390625,
            -1127.4361724853513
          ]
        },
        "65e5d8ed29bc9580ae47d081": {
          "type": "text",
          "data": {
            "name": "Text",
            "texts": [
              {
                "id": "mcew63cz5",
                "content": [
                  {
                    "children": [
                      {
                        "text": "Please provide your name"
                      }
                    ]
                  }
                ]
              }
            ],
            "canvasVisibility": "preview",
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": null,
                  "id": "65e5d8ed29bc9580ae47d082"
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "65e5d8ed29bc9580ae47d081"
        },
        "65e5d8ed29bc9580ae47d084": {
          "type": "captureV2",
          "data": {
            "name": "Capture",
            "intentScope": "GLOBAL",
            "capture": {
              "type": "intent",
              "intent": {
                "key": "",
                "name": "",
                "inputs": [],
                "slots": [
                  {
                    "id": "65e5d92980c7ff991ab19b23",
                    "dialog": {
                      "prompt": [
                        {
                          "id": "cltd1609p05h23b78ytcklvtj",
                          "content": [
                            {
                              "children": [
                                {
                                  "text": ""
                                }
                              ]
                            }
                          ]
                        }
                      ],
                      "confirm": [],
                      "utterances": [],
                      "confirmEnabled": false
                    },
                    "required": false
                  }
                ]
              }
            },
            "noMatch": {
              "types": [],
              "pathName": "No match",
              "randomize": false,
              "reprompts": []
            },
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": "65e5d9c529bc9580ae47d0a2",
                  "id": "65e5d8ed29bc9580ae47d085",
                  "data": {}
                },
                "else": {
                  "type": "else",
                  "target": null,
                  "id": "65e5d8ed29bc9580ae47d086"
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "65e5d8ed29bc9580ae47d084"
        },
        "65e5d95829bc9580ae47d091": {
          "type": "block",
          "data": {
            "name": "Phone",
            "color": "#56b365",
            "steps": [
              "65e5d95829bc9580ae47d093",
              "65e5d95829bc9580ae47d096"
            ]
          },
          "nodeID": "65e5d95829bc9580ae47d091",
          "coords": [
            5028.2769775390625,
            -929.9361724853516
          ]
        },
        "65e5d95829bc9580ae47d093": {
          "type": "text",
          "data": {
            "name": "Text",
            "texts": [
              {
                "id": "5qf3b3cl1",
                "content": [
                  {
                    "children": [
                      {
                        "text": "Please provide your contact number"
                      }
                    ]
                  }
                ]
              }
            ],
            "canvasVisibility": "preview",
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": null,
                  "id": "65e5d95829bc9580ae47d094"
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "65e5d95829bc9580ae47d093"
        },
        "65e5d95829bc9580ae47d096": {
          "type": "captureV2",
          "data": {
            "name": "Capture",
            "intentScope": "GLOBAL",
            "capture": {
              "type": "intent",
              "intent": {
                "key": "",
                "name": "",
                "inputs": [],
                "slots": [
                  {
                    "id": "65e5d9e280c7ff991ab19b24",
                    "dialog": {
                      "prompt": [
                        {
                          "id": "cltd19ypu05nl3b785lyyuji9",
                          "content": [
                            {
                              "children": [
                                {
                                  "text": ""
                                }
                              ]
                            }
                          ]
                        }
                      ],
                      "confirm": [],
                      "utterances": [],
                      "confirmEnabled": false
                    },
                    "required": false
                  }
                ]
              }
            },
            "noMatch": {
              "types": [
                "reprompt",
                "path"
              ],
              "pathName": "No match",
              "randomize": false,
              "reprompts": [
                {
                  "id": "clq9x50o80f663b7csnp6nvk0",
                  "content": [
                    {
                      "children": [
                        {
                          "text": ""
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": "65e5daec29bc9580ae47d0b3",
                  "id": "65e5d95829bc9580ae47d097",
                  "data": {}
                },
                "else": {
                  "type": "else",
                  "target": "65e5da1b29bc9580ae47d0a9",
                  "id": "65e5d95829bc9580ae47d098",
                  "data": {
                    "points": [
                      {
                        "point": [
                          5194.28,
                          -736.44
                        ]
                      },
                      {
                        "point": [
                          5218.28,
                          -736.44
                        ]
                      },
                      {
                        "point": [
                          5218.28,
                          -673.44
                        ]
                      },
                      {
                        "point": [
                          5050.78,
                          -673.44
                        ]
                      },
                      {
                        "point": [
                          5050.78,
                          -627.44
                        ],
                        "toTop": true,
                        "allowedToTop": true
                      }
                    ]
                  }
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "65e5d95829bc9580ae47d096"
        },
        "65e5d9c529bc9580ae47d0a1": {
          "type": "goToNode",
          "data": {
            "name": "",
            "nodeID": "65e5d95829bc9580ae47d091",
            "diagramID": "64386e21bb106b044ea34b78",
            "portsV2": {
              "byKey": {},
              "builtIn": {},
              "dynamic": []
            }
          },
          "nodeID": "65e5d9c529bc9580ae47d0a1"
        },
        "65e5d9c529bc9580ae47d0a2": {
          "type": "actions",
          "data": {
            "name": "",
            "steps": [
              "65e5d9c529bc9580ae47d0a1"
            ]
          },
          "nodeID": "65e5d9c529bc9580ae47d0a2",
          "coords": [
            0,
            0
          ]
        },
        "65e5da1b29bc9580ae47d0a9": {
          "type": "block",
          "data": {
            "name": "Phone Validation",
            "color": "#CB627B",
            "steps": [
              "65e5da1b29bc9580ae47d0ab"
            ]
          },
          "nodeID": "65e5da1b29bc9580ae47d0a9",
          "coords": [
            5050.7769775390625,
            -626.1861724853514
          ]
        },
        "65e5da1b29bc9580ae47d0ab": {
          "type": "text",
          "data": {
            "name": "Text",
            "texts": [
              {
                "id": "5rfa23chj",
                "content": [
                  {
                    "children": [
                      {
                        "text": "No a Valid Number"
                      }
                    ]
                  }
                ]
              }
            ],
            "canvasVisibility": "preview",
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": null,
                  "id": "65e5da1b29bc9580ae47d0ac",
                  "data": {
                    "points": [
                      {
                        "point": [
                          5116.027216461691,
                          -572.182772782311
                        ],
                        "reversed": true
                      },
                      {
                        "point": [
                          5006.777216461691,
                          -572.182772782311
                        ]
                      },
                      {
                        "point": [
                          5006.777216461691,
                          -939.182772782311
                        ]
                      },
                      {
                        "point": [
                          5030.777216461691,
                          -939.182772782311
                        ],
                        "allowedToTop": true
                      }
                    ]
                  }
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "65e5da1b29bc9580ae47d0ab"
        },
        "65e5daec29bc9580ae47d0b3": {
          "type": "block",
          "data": {
            "name": "Format Contact Details as JSON",
            "color": "#5b9fd7",
            "steps": [
              "65e5daec29bc9580ae47d0b5"
            ]
          },
          "nodeID": "65e5daec29bc9580ae47d0b3",
          "coords": [
            5458.2769775390625,
            -931.1861724853514
          ]
        },
        "65e5daec29bc9580ae47d0b5": {
          "type": "code",
          "data": {
            "name": "",
            "code": "userData = {\n  \"name\": name,\n  \"phone\":phone\n}",
            "paths": [],
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": "65e5db1d29bc9580ae47d0c1",
                  "id": "65e5daec29bc9580ae47d0b7",
                  "data": {
                    "points": [
                      {
                        "point": [
                          5624.28,
                          -797.44
                        ]
                      },
                      {
                        "point": [
                          5649.4,
                          -797.44
                        ]
                      },
                      {
                        "point": [
                          5649.4,
                          -1172.94
                        ]
                      },
                      {
                        "point": [
                          5674.53,
                          -1172.94
                        ],
                        "allowedToTop": true
                      }
                    ]
                  }
                },
                "fail": {
                  "type": "fail",
                  "target": null,
                  "id": "65e5daec29bc9580ae47d0b6"
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "65e5daec29bc9580ae47d0b5"
        },
        "65e5db1d29bc9580ae47d0c1": {
          "type": "block",
          "data": {
            "name": "Sending User Information",
            "color": "#5b9fd7",
            "steps": [
              "65e5db1d29bc9580ae47d0c3"
            ]
          },
          "nodeID": "65e5db1d29bc9580ae47d0c1",
          "coords": [
            5839.5269775390625,
            -1199.9361724853513
          ]
        },
        "65e5db1d29bc9580ae47d0c3": {
          "type": "api",
          "data": {
            "name": "",
            "url": "https://adnansiddiqi.me/chatbot/api/post.php",
            "body": [
              {
                "key": "name",
                "val": "{{[name].65e5d92980c7ff991ab19b23}}"
              },
              {
                "key": "phone",
                "val": "{{[phone].65e5d9e280c7ff991ab19b24}}"
              },
              {
                "key": "selected_properties",
                "val": "{{[selected_properties_text].65e4f66780c7ff991ab198bf}}"
              }
            ],
            "params": [],
            "method": "POST",
            "headers": [],
            "content": "",
            "mappings": [
              {
                "path": "response.chunks[0].content",
                "var": "returnedResponse"
              }
            ],
            "bodyType": "formData",
            "selectedAction": "Make a POST Request",
            "selectedIntegration": "Custom API",
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": "65e5db9f29bc9580ae47d0ce",
                  "id": "65e5db1d29bc9580ae47d0c5",
                  "data": {}
                },
                "fail": {
                  "type": "fail",
                  "target": null,
                  "id": "65e5db1d29bc9580ae47d0c4"
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "65e5db1d29bc9580ae47d0c3"
        },
        "65e5db9f29bc9580ae47d0ce": {
          "type": "block",
          "data": {
            "name": "Thanks",
            "color": "",
            "steps": [
              "65e5db9f29bc9580ae47d0d0"
            ]
          },
          "nodeID": "65e5db9f29bc9580ae47d0ce",
          "coords": [
            6234.5269775390625,
            -1152.4361724853513
          ]
        },
        "65e5db9f29bc9580ae47d0d0": {
          "type": "text",
          "data": {
            "name": "Text",
            "texts": [
              {
                "id": "x7fco3c44",
                "content": [
                  {
                    "children": [
                      {
                        "text": "Thank you for providing the information,**"
                      },
                      {
                        "id": "65e5d92980c7ff991ab19b23",
                        "name": "name",
                        "isSlot": true,
                        "type": "variable",
                        "children": [
                          {
                            "text": ""
                          }
                        ]
                      },
                      {
                        "text": "**. One of our staff members will contact you soon"
                      }
                    ]
                  }
                ]
              }
            ],
            "canvasVisibility": "preview",
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": "65e5dbdd29bc9580ae47d0d9",
                  "id": "65e5db9f29bc9580ae47d0d1",
                  "data": {}
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "65e5db9f29bc9580ae47d0d0"
        },
        "65e5dbdd29bc9580ae47d0d8": {
          "type": "exit",
          "data": {
            "name": "",
            "portsV2": {
              "byKey": {},
              "builtIn": {},
              "dynamic": []
            }
          },
          "nodeID": "65e5dbdd29bc9580ae47d0d8"
        },
        "65e5dbdd29bc9580ae47d0d9": {
          "type": "actions",
          "data": {
            "name": "",
            "steps": [
              "65e5dbdd29bc9580ae47d0d8"
            ]
          },
          "nodeID": "65e5dbdd29bc9580ae47d0d9",
          "coords": [
            0,
            0
          ]
        },
        "65e6c8803d5d8b795108a379": {
          "type": "text",
          "data": {
            "name": "Text",
            "texts": [
              {
                "id": "ul1e638bt",
                "content": [
                  {
                    "children": [
                      {
                        "text": "Sure, what do you want to know?"
                      }
                    ]
                  }
                ]
              }
            ],
            "canvasVisibility": "preview",
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": "65e6cc69461294f4c1753d15",
                  "id": "65e6c8803d5d8b795108a37a",
                  "data": {}
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "65e6c8803d5d8b795108a379"
        },
        "65e6c8803d5d8b795108a37b": {
          "type": "block",
          "data": {
            "name": "KB Query",
            "steps": [
              "65e6c8803d5d8b795108a379"
            ],
            "color": "#cd8c6d"
          },
          "nodeID": "65e6c8803d5d8b795108a37b",
          "coords": [
            612.0269334242319,
            -457.998650334715
          ]
        },
        "65e6c8a23d5d8b795108a382": {
          "type": "captureV2",
          "data": {
            "name": "Capture",
            "intentScope": "GLOBAL",
            "capture": {
              "type": "query",
              "variable": "last_utterance"
            },
            "noReply": null,
            "noMatch": null,
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": "65e6c8ab3d5d8b795108a388",
                  "id": "65e6c8a23d5d8b795108a383",
                  "data": {
                    "points": [
                      {
                        "point": [
                          806.78,
                          -179.25
                        ]
                      },
                      {
                        "point": [
                          897.03,
                          -179.25
                        ]
                      },
                      {
                        "point": [
                          897.03,
                          -269
                        ]
                      },
                      {
                        "point": [
                          987.28,
                          -269
                        ],
                        "allowedToTop": false
                      }
                    ]
                  }
                },
                "else": {
                  "type": "else",
                  "target": null,
                  "id": "65e6c8a23d5d8b795108a384"
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "65e6c8a23d5d8b795108a382"
        },
        "65e6c8ab3d5d8b795108a388": {
          "type": "generative",
          "data": {
            "name": "Response AI",
            "mode": "prompt",
            "prompt": "{{[last_utterance].last_utterance}}",
            "system": "You are a helpful real estate agent who responds query in precise format. You also use bullet points format where needd",
            "maxTokens": 500,
            "model": "gpt-3.5-turbo",
            "temperature": 0.5,
            "notFoundPath": true,
            "overrideParams": true,
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": "65e6c8a23d5d8b795108a382",
                  "id": "65e6c8ab3d5d8b795108a389",
                  "data": {
                    "points": [
                      {
                        "point": [
                          987.28,
                          -268.75
                        ],
                        "reversed": true
                      },
                      {
                        "point": [
                          897.03,
                          -268.75
                        ]
                      },
                      {
                        "point": [
                          897.03,
                          -188.75
                        ]
                      },
                      {
                        "point": [
                          806.78,
                          -188.75
                        ],
                        "reversed": true,
                        "allowedToTop": false
                      }
                    ]
                  }
                },
                "else": {
                  "type": "else",
                  "target": "65e6cc94461294f4c1753d1f",
                  "id": "65e6c8ab3d5d8b795108a38a",
                  "data": {
                    "points": [
                      {
                        "point": [
                          1319.28,
                          -214.5
                        ]
                      },
                      {
                        "point": [
                          1343.28,
                          -214.5
                        ]
                      },
                      {
                        "point": [
                          1343.28,
                          -222.4
                        ]
                      },
                      {
                        "point": [
                          1303.28,
                          -222.4
                        ]
                      },
                      {
                        "point": [
                          1303.28,
                          -230.31
                        ]
                      },
                      {
                        "point": [
                          1327.28,
                          -230.31
                        ],
                        "allowedToTop": false
                      }
                    ]
                  }
                }
              },
              "dynamic": []
            },
            "source": "knowledge_base",
            "instruction": "You are a helpful real estate agent who answers queries in simple and concise language. Respond in bullet points format where possible"
          },
          "nodeID": "65e6c8ab3d5d8b795108a388"
        },
        "65e6c8ab3d5d8b795108a38b": {
          "type": "block",
          "data": {
            "name": "KB response",
            "steps": [
              "65e6c8ab3d5d8b795108a388"
            ],
            "color": ""
          },
          "nodeID": "65e6c8ab3d5d8b795108a38b",
          "coords": [
            1153.2769334242319,
            -347.998650334715
          ]
        },
        "65e6cc69461294f4c1753d15": {
          "type": "block",
          "data": {
            "name": "Asking from KB",
            "steps": [
              "65e6c8a23d5d8b795108a382"
            ],
            "color": ""
          },
          "nodeID": "65e6cc69461294f4c1753d15",
          "coords": [
            640.7769334242319,
            -267.74865033471497
          ]
        },
        "65e6cc94461294f4c1753d1f": {
          "type": "text",
          "data": {
            "name": "Text",
            "texts": [
              {
                "id": "rd10z38ab",
                "content": [
                  {
                    "children": [
                      {
                        "text": "Could not find answer. Do you wanna ask something else?"
                      }
                    ]
                  }
                ]
              }
            ],
            "canvasVisibility": "preview",
            "portsV2": {
              "byKey": {},
              "builtIn": {
                "next": {
                  "type": "next",
                  "target": "65e6cca9461294f4c1753d29",
                  "id": "65e6cc94461294f4c1753d20",
                  "data": {}
                }
              },
              "dynamic": []
            }
          },
          "nodeID": "65e6cc94461294f4c1753d1f"
        },
        "65e6cc94461294f4c1753d21": {
          "type": "block",
          "data": {
            "name": "New Block 25",
            "steps": [
              "65e6cc94461294f4c1753d1f"
            ]
          },
          "nodeID": "65e6cc94461294f4c1753d21",
          "coords": [
            1493.2769334242316,
            -309.31115033471497
          ]
        },
        "65e6cca9461294f4c1753d28": {
          "type": "goToNode",
          "data": {
            "name": "",
            "nodeID": "65e6cc69461294f4c1753d15",
            "diagramID": "64386e21bb106b044ea34b78",
            "portsV2": {
              "byKey": {},
              "builtIn": {},
              "dynamic": []
            }
          },
          "nodeID": "65e6cca9461294f4c1753d28"
        },
        "65e6cca9461294f4c1753d29": {
          "type": "actions",
          "data": {
            "name": "",
            "steps": [
              "65e6cca9461294f4c1753d28"
            ]
          },
          "nodeID": "65e6cca9461294f4c1753d29",
          "coords": [
            0,
            0
          ]
        }
      },
      "offsetX": 660.3784532606145,
      "offsetY": 881.3489202677721,
      "modified": 1681419809,
      "creatorID": 907467,
      "variables": [],
      "menuItems": [
        {
          "type": "NODE",
          "sourceID": "start00000000000000000000"
        }
      ],
      "menuNodeIDs": [],
      "intentStepIDs": [],
      "_id": "65e32e3173cb87b08438da7a",
      "diagramID": "64386e21bb106b044ea34b78",
      "versionID": "65e32e3173cb87b08438da78"
    }
  },
  "flows": [],
  "entities": [
    {
      "id": "65e5d9e280c7ff991ab19b24",
      "name": "phone",
      "description": null,
      "color": "#DC8879",
      "classifier": "VF.PHONENUMBER",
      "isArray": false,
      "createdAt": "2024-03-04T14:25:38.000Z",
      "updatedAt": "2024-03-04T14:25:38.000Z",
      "folderID": null,
      "updatedByID": 907467,
      "createdByID": 907467
    },
    {
      "id": "65e5d92980c7ff991ab19b23",
      "name": "name",
      "description": null,
      "color": "#CB627B",
      "classifier": "VF.NAME",
      "isArray": false,
      "createdAt": "2024-03-04T14:22:34.000Z",
      "updatedAt": "2024-03-04T14:22:34.000Z",
      "folderID": null,
      "updatedByID": 907467,
      "createdByID": 907467
    }
  ],
  "entityVariants": [],
  "intents": [
    {
      "id": "6579c6bf984565862f64b783",
      "name": "Yes",
      "description": null,
      "automaticReprompt": false,
      "entityOrder": [],
      "createdAt": "2024-03-02T13:48:33.000Z",
      "updatedAt": "2024-03-02T13:48:33.000Z",
      "folderID": null,
      "updatedByID": 907467,
      "createdByID": 907467
    },
    {
      "id": "6579c778dd3cca0fe0e0b152",
      "name": "No",
      "description": null,
      "automaticReprompt": false,
      "entityOrder": [],
      "createdAt": "2024-03-02T13:48:33.000Z",
      "updatedAt": "2024-03-02T13:48:33.000Z",
      "folderID": null,
      "updatedByID": 907467,
      "createdByID": 907467
    },
    {
      "id": "None",
      "name": "None",
      "description": null,
      "automaticReprompt": false,
      "entityOrder": [],
      "createdAt": "2024-03-02T13:48:33.000Z",
      "updatedAt": "2024-03-02T13:48:33.000Z",
      "folderID": null,
      "updatedByID": 907467,
      "createdByID": 907467
    }
  ],
  "utterances": [
    {
      "id": "65d72a6aa845250f3bd1b9af",
      "text": [
        {
          "text": [
            "sure"
          ]
        }
      ],
      "language": "en-us",
      "createdAt": "2024-03-02T13:48:33.000Z",
      "intentID": "6579c6bf984565862f64b783"
    },
    {
      "id": "65d72a6aa845250f3bd1b9b0",
      "text": [
        {
          "text": [
            "certainly"
          ]
        }
      ],
      "language": "en-us",
      "createdAt": "2024-03-02T13:48:33.000Z",
      "intentID": "6579c6bf984565862f64b783"
    },
    {
      "id": "65d72a6aa845250f3bd1b9b1",
      "text": [
        {
          "text": [
            "affirmative"
          ]
        }
      ],
      "language": "en-us",
      "createdAt": "2024-03-02T13:48:33.000Z",
      "intentID": "6579c6bf984565862f64b783"
    },
    {
      "id": "65d72a6aa845250f3bd1b9b2",
      "text": [
        {
          "text": [
            "okay"
          ]
        }
      ],
      "language": "en-us",
      "createdAt": "2024-03-02T13:48:33.000Z",
      "intentID": "6579c6bf984565862f64b783"
    },
    {
      "id": "65d72a6aa845250f3bd1b9b3",
      "text": [
        {
          "text": [
            "ok"
          ]
        }
      ],
      "language": "en-us",
      "createdAt": "2024-03-02T13:48:33.000Z",
      "intentID": "6579c6bf984565862f64b783"
    },
    {
      "id": "65d72a6aa845250f3bd1b9b4",
      "text": [
        {
          "text": [
            "ya"
          ]
        }
      ],
      "language": "en-us",
      "createdAt": "2024-03-02T13:48:33.000Z",
      "intentID": "6579c6bf984565862f64b783"
    },
    {
      "id": "65d72a6aa845250f3bd1b9b5",
      "text": [
        {
          "text": [
            "yep"
          ]
        }
      ],
      "language": "en-us",
      "createdAt": "2024-03-02T13:48:33.000Z",
      "intentID": "6579c6bf984565862f64b783"
    },
    {
      "id": "65d72a6aa845250f3bd1b9b6",
      "text": [
        {
          "text": [
            "yup"
          ]
        }
      ],
      "language": "en-us",
      "createdAt": "2024-03-02T13:48:33.000Z",
      "intentID": "6579c6bf984565862f64b783"
    },
    {
      "id": "65d72a6aa845250f3bd1b9b7",
      "text": [
        {
          "text": [
            "yea"
          ]
        }
      ],
      "language": "en-us",
      "createdAt": "2024-03-02T13:48:33.000Z",
      "intentID": "6579c6bf984565862f64b783"
    },
    {
      "id": "65d72a6aa845250f3bd1b9b8",
      "text": [
        {
          "text": [
            "yes"
          ]
        }
      ],
      "language": "en-us",
      "createdAt": "2024-03-02T13:48:33.000Z",
      "intentID": "6579c6bf984565862f64b783"
    },
    {
      "id": "65d72a6aa845250f3bd1b9b9",
      "text": [
        {
          "text": [
            "negative"
          ]
        }
      ],
      "language": "en-us",
      "createdAt": "2024-03-02T13:48:33.000Z",
      "intentID": "6579c778dd3cca0fe0e0b152"
    },
    {
      "id": "65d72a6aa845250f3bd1b9ba",
      "text": [
        {
          "text": [
            "nevermind"
          ]
        }
      ],
      "language": "en-us",
      "createdAt": "2024-03-02T13:48:33.000Z",
      "intentID": "6579c778dd3cca0fe0e0b152"
    },
    {
      "id": "65d72a6aa845250f3bd1b9bb",
      "text": [
        {
          "text": [
            "not"
          ]
        }
      ],
      "language": "en-us",
      "createdAt": "2024-03-02T13:48:33.000Z",
      "intentID": "6579c778dd3cca0fe0e0b152"
    },
    {
      "id": "65d72a6aa845250f3bd1b9bc",
      "text": [
        {
          "text": [
            "no thanks"
          ]
        }
      ],
      "language": "en-us",
      "createdAt": "2024-03-02T13:48:33.000Z",
      "intentID": "6579c778dd3cca0fe0e0b152"
    },
    {
      "id": "65d72a6aa845250f3bd1b9bd",
      "text": [
        {
          "text": [
            "no way"
          ]
        }
      ],
      "language": "en-us",
      "createdAt": "2024-03-02T13:48:33.000Z",
      "intentID": "6579c778dd3cca0fe0e0b152"
    },
    {
      "id": "65d72a6aa845250f3bd1b9be",
      "text": [
        {
          "text": [
            "not now"
          ]
        }
      ],
      "language": "en-us",
      "createdAt": "2024-03-02T13:48:33.000Z",
      "intentID": "6579c778dd3cca0fe0e0b152"
    },
    {
      "id": "65d72a6aa845250f3bd1b9bf",
      "text": [
        {
          "text": [
            "nah"
          ]
        }
      ],
      "language": "en-us",
      "createdAt": "2024-03-02T13:48:33.000Z",
      "intentID": "6579c778dd3cca0fe0e0b152"
    },
    {
      "id": "65d72a6aa845250f3bd1b9c0",
      "text": [
        {
          "text": [
            "nay"
          ]
        }
      ],
      "language": "en-us",
      "createdAt": "2024-03-02T13:48:33.000Z",
      "intentID": "6579c778dd3cca0fe0e0b152"
    },
    {
      "id": "65d72a6aa845250f3bd1b9c1",
      "text": [
        {
          "text": [
            "nope"
          ]
        }
      ],
      "language": "en-us",
      "createdAt": "2024-03-02T13:48:33.000Z",
      "intentID": "6579c778dd3cca0fe0e0b152"
    },
    {
      "id": "65d72a6aa845250f3bd1b9c2",
      "text": [
        {
          "text": [
            "no"
          ]
        }
      ],
      "language": "en-us",
      "createdAt": "2024-03-02T13:48:33.000Z",
      "intentID": "6579c778dd3cca0fe0e0b152"
    }
  ],
  "requiredEntities": [],
  "folders": [],
  "responses": [],
  "responseVariants": [],
  "responseAttachments": [],
  "responseDiscriminators": [],
  "variables": [
    {
      "id": "65e5809980c7ff991ab19a25",
      "name": "payload",
      "color": "#515A63",
      "isArray": false,
      "isSystem": false,
      "datatype": "any",
      "description": "",
      "defaultValue": "-",
      "createdAt": "2024-03-04T08:04:41.000Z",
      "updatedAt": "2024-03-04T13:40:34.000Z",
      "folderID": null,
      "updatedByID": 907467,
      "createdByID": 907467
    },
    {
      "id": "65e4f66780c7ff991ab198bf",
      "name": "selected_properties_text",
      "color": "#515A63",
      "isArray": false,
      "isSystem": false,
      "datatype": "any",
      "description": "displaying the selected properties",
      "defaultValue": null,
      "createdAt": "2024-03-03T22:15:03.000Z",
      "updatedAt": "2024-03-03T22:15:03.000Z",
      "folderID": null,
      "updatedByID": 907467,
      "createdByID": 907467
    },
    {
      "id": "65e4677980c7ff991ab1946d",
      "name": "count",
      "color": "#515A63",
      "isArray": false,
      "isSystem": false,
      "datatype": "any",
      "description": "",
      "defaultValue": null,
      "createdAt": "2024-03-03T12:05:13.000Z",
      "updatedAt": "2024-03-03T12:05:13.000Z",
      "folderID": null,
      "updatedByID": 907467,
      "createdByID": 907467
    },
    {
      "id": "65e453dc80c7ff991ab19426",
      "name": "carousel_dynamic",
      "color": "#515A63",
      "isArray": false,
      "isSystem": false,
      "datatype": "any",
      "description": "",
      "defaultValue": null,
      "createdAt": "2024-03-03T10:41:32.000Z",
      "updatedAt": "2024-03-03T10:41:32.000Z",
      "folderID": null,
      "updatedByID": 907467,
      "createdByID": 907467
    },
    {
      "id": "65e453c980c7ff991ab19425",
      "name": "selected_properties",
      "color": "#515A63",
      "isArray": false,
      "isSystem": false,
      "datatype": "any",
      "description": "Properties Selected By User",
      "defaultValue": "[]",
      "createdAt": "2024-03-03T10:41:13.000Z",
      "updatedAt": "2024-03-04T08:02:28.000Z",
      "folderID": null,
      "updatedByID": 907467,
      "createdByID": 907467
    },
    {
      "id": "65e452ea80c7ff991ab19424",
      "name": "searched_properties",
      "color": "#a691ce",
      "isArray": false,
      "isSystem": false,
      "datatype": "any",
      "description": "",
      "defaultValue": null,
      "createdAt": "2024-03-03T10:37:30.000Z",
      "updatedAt": "2024-03-03T10:37:30.000Z",
      "folderID": null,
      "updatedByID": 907467,
      "createdByID": 907467
    },
    {
      "id": "65e41f2880c7ff991ab193b5",
      "name": "min_bedrooms",
      "color": "#5B9FD7",
      "isArray": false,
      "isSystem": false,
      "datatype": "any",
      "description": "No of bedrooms",
      "defaultValue": " ",
      "createdAt": "2024-03-03T06:56:41.000Z",
      "updatedAt": "2024-03-03T21:28:39.000Z",
      "folderID": null,
      "updatedByID": 907467,
      "createdByID": 907467
    },
    {
      "id": "65e41f0880c7ff991ab193b3",
      "name": "max_price",
      "color": "#5B9FD7",
      "isArray": false,
      "isSystem": false,
      "datatype": "any",
      "description": "Setting Maximum Price",
      "defaultValue": " ",
      "createdAt": "2024-03-03T06:56:08.000Z",
      "updatedAt": "2024-03-03T21:28:05.000Z",
      "folderID": null,
      "updatedByID": 907467,
      "createdByID": 907467
    },
    {
      "id": "65e41ed880c7ff991ab193b2",
      "name": "min_price",
      "color": "#5B9FD7",
      "isArray": false,
      "isSystem": false,
      "datatype": "any",
      "description": "Setting Minimum Price",
      "defaultValue": " ",
      "createdAt": "2024-03-03T06:55:21.000Z",
      "updatedAt": "2024-03-03T21:27:51.000Z",
      "folderID": null,
      "updatedByID": 907467,
      "createdByID": 907467
    },
    {
      "id": "65e41eaa80c7ff991ab193ae",
      "name": "search_type",
      "color": "#5B9FD7",
      "isArray": false,
      "isSystem": false,
      "datatype": "any",
      "description": "Setting whether it is rent or buy",
      "defaultValue": null,
      "createdAt": "2024-03-03T06:54:35.000Z",
      "updatedAt": "2024-03-03T06:54:35.000Z",
      "folderID": null,
      "updatedByID": 907467,
      "createdByID": 907467
    },
    {
      "id": "65e34d2e80c7ff991ab18d62",
      "name": "ai_response",
      "color": "#CB627B",
      "isArray": false,
      "isSystem": false,
      "datatype": "any",
      "description": "The JSON output generated by GPT",
      "defaultValue": null,
      "createdAt": "2024-03-02T16:00:46.000Z",
      "updatedAt": "2024-03-03T06:51:50.000Z",
      "folderID": null,
      "updatedByID": 907467,
      "createdByID": 907467
    },
    {
      "id": "last_event",
      "name": "last_event",
      "color": "#515A63",
      "isArray": false,
      "isSystem": true,
      "datatype": "any",
      "description": "The object containing the last event that the user client has triggered.",
      "defaultValue": null,
      "createdAt": "2024-03-02T13:48:35.000Z",
      "updatedAt": "2024-03-02T13:48:35.000Z",
      "folderID": null,
      "updatedByID": 907467,
      "createdByID": 907467
    },
    {
      "id": "vf_memory",
      "name": "vf_memory",
      "color": "#515A63",
      "isArray": false,
      "isSystem": true,
      "datatype": "text",
      "description": "Last 10 user inputs and agent responses in a string (e.g. \"agent: How can i help?\"\nuser: What's the weather today?).",
      "defaultValue": null,
      "createdAt": "2024-03-02T13:48:35.000Z",
      "updatedAt": "2024-03-02T13:48:35.000Z",
      "folderID": null,
      "updatedByID": 907467,
      "createdByID": 907467
    },
    {
      "id": "platform",
      "name": "platform",
      "color": "#515A63",
      "isArray": false,
      "isSystem": true,
      "datatype": "text",
      "description": "The platform your agent is running on (e.g. \"voiceflow\").",
      "defaultValue": null,
      "createdAt": "2024-03-02T13:48:35.000Z",
      "updatedAt": "2024-03-02T13:48:35.000Z",
      "folderID": null,
      "updatedByID": 907467,
      "createdByID": 907467
    },
    {
      "id": "last_response",
      "name": "last_response",
      "color": "#515A63",
      "isArray": false,
      "isSystem": true,
      "datatype": "text",
      "description": "The agent's last response (text/speak) in a string.",
      "defaultValue": null,
      "createdAt": "2024-03-02T13:48:35.000Z",
      "updatedAt": "2024-03-02T13:48:35.000Z",
      "folderID": null,
      "updatedByID": 907467,
      "createdByID": 907467
    },
    {
      "id": "user_id",
      "name": "user_id",
      "color": "#515A63",
      "isArray": false,
      "isSystem": true,
      "datatype": "text",
      "description": "The user's unique ID.",
      "defaultValue": null,
      "createdAt": "2024-03-02T13:48:33.000Z",
      "updatedAt": "2024-03-02T13:48:33.000Z",
      "folderID": null,
      "updatedByID": 907467,
      "createdByID": 907467
    },
    {
      "id": "sessions",
      "name": "sessions",
      "color": "#515A63",
      "isArray": false,
      "isSystem": true,
      "datatype": "number",
      "description": "The number of times a particular user has opened the app.",
      "defaultValue": null,
      "createdAt": "2024-03-02T13:48:33.000Z",
      "updatedAt": "2024-03-02T13:48:33.000Z",
      "folderID": null,
      "updatedByID": 907467,
      "createdByID": 907467
    },
    {
      "id": "timestamp",
      "name": "timestamp",
      "color": "#515A63",
      "isArray": false,
      "isSystem": true,
      "datatype": "number",
      "description": "UNIX timestamp (number of seconds since January 1st, 1970 at UTC).",
      "defaultValue": null,
      "createdAt": "2024-03-02T13:48:33.000Z",
      "updatedAt": "2024-03-02T13:48:33.000Z",
      "folderID": null,
      "updatedByID": 907467,
      "createdByID": 907467
    },
    {
      "id": "locale",
      "name": "locale",
      "color": "#515A63",
      "isArray": false,
      "isSystem": true,
      "datatype": "text",
      "description": "The locale of the user (eg. en-US, en-CA, it-IT, fr-FR, ...).",
      "defaultValue": null,
      "createdAt": "2024-03-02T13:48:33.000Z",
      "updatedAt": "2024-03-02T13:48:33.000Z",
      "folderID": null,
      "updatedByID": 907467,
      "createdByID": 907467
    },
    {
      "id": "last_utterance",
      "name": "last_utterance",
      "color": "#515A63",
      "isArray": false,
      "isSystem": true,
      "datatype": "text",
      "description": "The user's last utterance in a text string.",
      "defaultValue": null,
      "createdAt": "2024-03-02T13:48:33.000Z",
      "updatedAt": "2024-03-02T13:48:33.000Z",
      "folderID": null,
      "updatedByID": 907467,
      "createdByID": 907467
    },
    {
      "id": "intent_confidence",
      "name": "intent_confidence",
      "color": "#515A63",
      "isArray": false,
      "isSystem": true,
      "datatype": "number",
      "description": "The confidence interval (measured as a value from 0 to 100) for the most recently matched intent.",
      "defaultValue": null,
      "createdAt": "2024-03-02T13:48:33.000Z",
      "updatedAt": "2024-03-02T13:48:33.000Z",
      "folderID": null,
      "updatedByID": 907467,
      "createdByID": 907467
    }
  ],
  "attachments": [],
  "cardButtons": [],
  "functions": [],
  "functionPaths": [],
  "functionVariables": [],
  "project": {
    "type": "chat",
    "name": "Webb Jenkins Conversational Assistant",
    "image": "https://cm4-production-assets.s3.amazonaws.com/1709387305030-home.jpeg",
    "teamID": "D8na2VgrEo",
    "members": [],
    "privacy": "private",
    "platform": "webchat",
    "_version": 1.2,
    "linkType": "STRAIGHT",
    "creatorID": 907467,
    "updatedBy": 907467,
    "apiPrivacy": "public",
    "platformData": {
      "invocationName": "template project general"
    },
    "customThemes": [],
    "aiAssistSettings": {
      "aiPlayground": true
    },
    "_id": "65e32e3173cb87b08438da77",
    "updatedAt": "2024-03-05T07:34:46.029Z",
    "knowledgeBase": {
      "settings": {
        "chunkStrategy": {
          "type": "recursive_text_splitter",
          "size": 1200,
          "overlap": 200
        },
        "search": {
          "limit": 3,
          "metric": "IP"
        },
        "summarization": {
          "prompt": "",
          "mode": "prompt",
          "model": "gpt-3.5-turbo",
          "temperature": 0.1,
          "system": "You are an FAQ AI chat assistant. Information will be provided to help answer the user's questions. Always summarize your response to be as brief as possible and be extremely concise. Your responses should be fewer than a couple of sentences."
        }
      },
      "documents": {
        "65e6c86aad8fa15835b3bad3": {
          "status": {
            "type": "SUCCESS",
            "data": null
          },
          "data": {
            "url": "https://www.webbjenkins.co.uk/property-services",
            "name": "webbjenkins.co.uk/property-services",
            "type": "url",
            "refreshRate": "never"
          },
          "updatedAt": "2024-03-05T07:23:22.988Z",
          "creatorID": 907467,
          "documentID": "65e6c86aad8fa15835b3bad3",
          "tags": []
        },
        "65e6c94bad8fa15835b3bad4": {
          "status": {
            "type": "SUCCESS",
            "data": null
          },
          "data": {
            "url": "https://www.webbjenkins.co.uk/our-team",
            "name": "webbjenkins.co.uk/our-team",
            "type": "url",
            "refreshRate": "never"
          },
          "updatedAt": "2024-03-05T07:27:07.779Z",
          "creatorID": 907467,
          "documentID": "65e6c94bad8fa15835b3bad4",
          "tags": []
        },
        "65e6c970ad8fa15835b3bad5": {
          "status": {
            "type": "SUCCESS",
            "data": null
          },
          "data": {
            "url": "https://www.webbjenkins.co.uk/contact",
            "name": "webbjenkins.co.uk/contact",
            "type": "url",
            "refreshRate": "never"
          },
          "updatedAt": "2024-03-05T07:27:44.214Z",
          "creatorID": 907467,
          "documentID": "65e6c970ad8fa15835b3bad5",
          "tags": []
        },
        "65e6c970ad8fa15835b3bad6": {
          "status": {
            "type": "SUCCESS",
            "data": null
          },
          "data": {
            "url": "https://www.webbjenkins.co.uk/sellers",
            "name": "webbjenkins.co.uk/sellers",
            "type": "url",
            "refreshRate": "never"
          },
          "updatedAt": "2024-03-05T07:27:44.233Z",
          "creatorID": 907467,
          "documentID": "65e6c970ad8fa15835b3bad6",
          "tags": []
        },
        "65e6c970ad8fa15835b3bad7": {
          "status": {
            "type": "SUCCESS",
            "data": null
          },
          "data": {
            "url": "https://www.webbjenkins.co.uk/landlords",
            "name": "webbjenkins.co.uk/landlords",
            "type": "url",
            "refreshRate": "never"
          },
          "updatedAt": "2024-03-05T07:27:44.391Z",
          "creatorID": 907467,
          "documentID": "65e6c970ad8fa15835b3bad7",
          "tags": []
        },
        "65e6c98aad8fa15835b3bad8": {
          "status": {
            "type": "SUCCESS",
            "data": null
          },
          "data": {
            "url": "https://www.webbjenkins.co.uk/buyers",
            "name": "webbjenkins.co.uk/buyers",
            "type": "url",
            "refreshRate": "never"
          },
          "updatedAt": "2024-03-05T07:28:10.583Z",
          "creatorID": 907467,
          "documentID": "65e6c98aad8fa15835b3bad8",
          "tags": []
        }
      }
    },
    "devVersion": "65e32e3173cb87b08438da78",
    "liveVersion": "65e6c554992123401c2d5f54"
  },
  "_version": "1.2",
  "variableStates": []
}