{
  "SurveyEntry": {
    "SurveyID": "SV_SYNTHETIC_FLOW",
    "SurveyName": "Team journey · fictional flow example",
    "SurveyLanguage": "EN",
    "SurveyStatus": "Inactive",
    "SurveyDescription": "Synthetic routing illustration, not import-tested in Qualtrics."
  },
  "SurveyElements": [
    {
      "Element": "SQ",
      "PrimaryAttribute": "QID_INTRO",
      "Payload": {
        "QuestionID": "QID_INTRO",
        "QuestionText": "Welcome to our fictional team survey",
        "QuestionType": "DB",
        "Selector": "TB"
      }
    },
    {
      "Element": "SQ",
      "PrimaryAttribute": "QID1",
      "Payload": {
        "QuestionID": "QID1",
        "QuestionText": "Which department do you work in?",
        "QuestionDescription": "Which department do you work in?",
        "QuestionType": "MC",
        "Selector": "SAVR",
        "SubSelector": "TX",
        "Choices": {
          "1": {
            "Display": "Sales"
          },
          "2": {
            "Display": "Engineering"
          },
          "3": {
            "Display": "Prefer not to say"
          }
        },
        "ChoiceOrder": [
          1,
          2,
          3
        ],
        "DataExportTag": "QID1"
      }
    },
    {
      "Element": "SQ",
      "PrimaryAttribute": "QID2",
      "Payload": {
        "QuestionID": "QID2",
        "QuestionText": "Which sales task needs more support?",
        "QuestionDescription": "Which sales task needs more support?",
        "QuestionType": "MC",
        "Selector": "SAVR",
        "SubSelector": "TX",
        "Choices": {
          "1": {
            "Display": "Finding leads"
          },
          "2": {
            "Display": "Preparing proposals"
          },
          "3": {
            "Display": "Follow-up"
          }
        },
        "ChoiceOrder": [
          1,
          2,
          3
        ],
        "DataExportTag": "QID2"
      }
    },
    {
      "Element": "SQ",
      "PrimaryAttribute": "QID3",
      "Payload": {
        "QuestionID": "QID3",
        "QuestionText": "Which engineering task needs more support?",
        "QuestionDescription": "Which engineering task needs more support?",
        "QuestionType": "MC",
        "Selector": "SAVR",
        "SubSelector": "TX",
        "Choices": {
          "1": {
            "Display": "Planning"
          },
          "2": {
            "Display": "Code review"
          },
          "3": {
            "Display": "Testing"
          }
        },
        "ChoiceOrder": [
          1,
          2,
          3
        ],
        "DataExportTag": "QID3"
      }
    },
    {
      "Element": "SQ",
      "PrimaryAttribute": "QID4",
      "Payload": {
        "QuestionID": "QID4",
        "QuestionText": "How useful is concept A?",
        "QuestionDescription": "How useful is concept A?",
        "QuestionType": "MC",
        "Selector": "SAVR",
        "SubSelector": "TX",
        "Choices": {
          "1": {
            "Display": "Very useful"
          },
          "2": {
            "Display": "Somewhat useful"
          },
          "3": {
            "Display": "Not useful"
          }
        },
        "ChoiceOrder": [
          1,
          2,
          3
        ],
        "DataExportTag": "QID4"
      }
    },
    {
      "Element": "SQ",
      "PrimaryAttribute": "QID5",
      "Payload": {
        "QuestionID": "QID5",
        "QuestionText": "How useful is concept B?",
        "QuestionDescription": "How useful is concept B?",
        "QuestionType": "MC",
        "Selector": "SAVR",
        "SubSelector": "TX",
        "Choices": {
          "1": {
            "Display": "Very useful"
          },
          "2": {
            "Display": "Somewhat useful"
          },
          "3": {
            "Display": "Not useful"
          }
        },
        "ChoiceOrder": [
          1,
          2,
          3
        ],
        "DataExportTag": "QID5"
      }
    },
    {
      "Element": "SQ",
      "PrimaryAttribute": "QID6",
      "Payload": {
        "QuestionID": "QID6",
        "QuestionText": "Would you like a follow-up conversation?",
        "QuestionDescription": "Would you like a follow-up conversation?",
        "QuestionType": "MC",
        "Selector": "SAVR",
        "SubSelector": "TX",
        "Choices": {
          "1": {
            "Display": "Yes"
          },
          "2": {
            "Display": "No"
          }
        },
        "ChoiceOrder": [
          1,
          2
        ],
        "DataExportTag": "QID6"
      }
    },
    {
      "Element": "BL",
      "Payload": {
        "BL_WELCOME": {
          "ID": "BL_WELCOME",
          "Type": "Standard",
          "Description": "Welcome and department",
          "BlockElements": [
            {
              "Type": "Question",
              "QuestionID": "QID_INTRO"
            },
            {
              "Type": "Question",
              "QuestionID": "QID1"
            }
          ]
        },
        "BL_SALES": {
          "ID": "BL_SALES",
          "Type": "Standard",
          "Description": "Sales follow-up",
          "BlockElements": [
            {
              "Type": "Question",
              "QuestionID": "QID2"
            }
          ]
        },
        "BL_ENGINEERING": {
          "ID": "BL_ENGINEERING",
          "Type": "Standard",
          "Description": "Engineering follow-up",
          "BlockElements": [
            {
              "Type": "Question",
              "QuestionID": "QID3"
            }
          ]
        },
        "BL_CONCEPT_A": {
          "ID": "BL_CONCEPT_A",
          "Type": "Standard",
          "Description": "Concept A",
          "BlockElements": [
            {
              "Type": "Question",
              "QuestionID": "QID4"
            }
          ]
        },
        "BL_CONCEPT_B": {
          "ID": "BL_CONCEPT_B",
          "Type": "Standard",
          "Description": "Concept B",
          "BlockElements": [
            {
              "Type": "Question",
              "QuestionID": "QID5"
            }
          ]
        },
        "BL_CLOSE": {
          "ID": "BL_CLOSE",
          "Type": "Standard",
          "Description": "Keep in touch",
          "BlockElements": [
            {
              "Type": "Question",
              "QuestionID": "QID6"
            }
          ]
        }
      }
    },
    {
      "Element": "FL",
      "Payload": {
        "Type": "Root",
        "Flow": [
          {
            "Type": "Block",
            "ID": "BL_WELCOME",
            "FlowID": "FL_2"
          },
          {
            "Type": "Branch",
            "BranchLogic": {
              "Type": "BooleanExpression",
              "0": {
                "Type": "If",
                "0": {
                  "Type": "Expression",
                  "LogicType": "Question",
                  "QuestionID": "QID1",
                  "ChoiceLocator": "q://QID1/SelectableChoice/3",
                  "Operator": "Selected"
                }
              }
            },
            "Flow": [
              {
                "Type": "EndSurvey",
                "EndingType": "Default",
                "FlowID": "FL_4"
              }
            ],
            "FlowID": "FL_3"
          },
          {
            "Type": "Branch",
            "BranchLogic": {
              "Type": "BooleanExpression",
              "0": {
                "Type": "If",
                "0": {
                  "Type": "Expression",
                  "LogicType": "Question",
                  "QuestionID": "QID1",
                  "ChoiceLocator": "q://QID1/SelectableChoice/1",
                  "Operator": "Selected"
                }
              }
            },
            "Flow": [
              {
                "Type": "EmbeddedData",
                "EmbeddedData": [
                  {
                    "Field": "Team",
                    "Value": "Sales",
                    "Type": "Custom"
                  }
                ],
                "FlowID": "FL_6"
              },
              {
                "Type": "Block",
                "ID": "BL_SALES",
                "FlowID": "FL_7"
              }
            ],
            "FlowID": "FL_5"
          },
          {
            "Type": "Branch",
            "BranchLogic": {
              "Type": "BooleanExpression",
              "0": {
                "Type": "If",
                "0": {
                  "Type": "Expression",
                  "LogicType": "Question",
                  "QuestionID": "QID1",
                  "ChoiceLocator": "q://QID1/SelectableChoice/2",
                  "Operator": "Selected"
                }
              }
            },
            "Flow": [
              {
                "Type": "EmbeddedData",
                "EmbeddedData": [
                  {
                    "Field": "Team",
                    "Value": "Engineering",
                    "Type": "Custom"
                  }
                ],
                "FlowID": "FL_9"
              },
              {
                "Type": "Block",
                "ID": "BL_ENGINEERING",
                "FlowID": "FL_10"
              }
            ],
            "FlowID": "FL_8"
          },
          {
            "Type": "BlockRandomizer",
            "SubSet": 1,
            "EvenPresentation": true,
            "Flow": [
              {
                "Type": "Group",
                "Description": "Try concept A",
                "Flow": [
                  {
                    "Type": "Block",
                    "ID": "BL_CONCEPT_A",
                    "FlowID": "FL_13"
                  }
                ],
                "FlowID": "FL_12"
              },
              {
                "Type": "Group",
                "Description": "Try concept B",
                "Flow": [
                  {
                    "Type": "Block",
                    "ID": "BL_CONCEPT_B",
                    "FlowID": "FL_15"
                  }
                ],
                "FlowID": "FL_14"
              }
            ],
            "FlowID": "FL_11"
          },
          {
            "Type": "Block",
            "ID": "BL_CLOSE",
            "FlowID": "FL_16"
          },
          {
            "Type": "Branch",
            "BranchLogic": {
              "Type": "BooleanExpression",
              "0": {
                "Type": "If",
                "0": {
                  "Type": "Expression",
                  "LogicType": "Question",
                  "QuestionID": "QID6",
                  "ChoiceLocator": "q://QID6/SelectableChoice/1",
                  "Operator": "Selected"
                }
              }
            },
            "Flow": [
              {
                "Type": "WebService",
                "Description": "Request a follow-up conversation",
                "FlowID": "FL_18"
              }
            ],
            "FlowID": "FL_17"
          },
          {
            "Type": "EndSurvey",
            "EndingType": "Default",
            "FlowID": "FL_19"
          }
        ],
        "FlowID": "FL_1"
      }
    }
  ]
}