"node_type": "QUESTION_FORM",
"text": "<label for the field>",
"failMsg": "<Error msg when validation fails>",
"input_type": "NAME",//used when asking for name
"actions": [//array of actions to run after getting response
"type": "SET_NAME"//this action sets name to user's profile
"skip": false//whether user can skip this field
"text": "<label for the field>",
"failMsg": "<Error msg when validation fails>",
"input_type": "REGEX",//used to take single line input with regex based validation
"actions": [//array of actions to run after getting response
"skip": false,//whether user can skip this field
"regex_pattern": "^[a-zA-Z ]*quot;//regex to validat the input
"text": "<label for the field>",
"failMsg": "<Error msg when email validation fails>",
"input_type": "EMAIL",//used to take email as input
"actions": [//array of actions to run after getting response
"type": "SET_EMAIL"//action to set email to user's profile
"text": "<label for the field>",
"failMsg": "<Error msg when email validation fails>",
"input_type": "PHONE",//used to take phone as input
"actions": [//array of actions to run after getting response
"type": "SET_PHONE"//action to set phone to user's profile
"text": "<label for the field>",
"failMsg": "<Error msg when email validation fails>",
"input_type": "TEXT",//used to take input using multi-line text area
"actions": []//array of actions to run after getting response
"txt_b4_questions": "<message before the form or null>",
"txt_after_questions": "<message after the form or null>",