{
  "format": "chatigram-workflow",
  "version": 1,
  "metadata": {
    "sourceName": "Build a gym and studio booking assistant",
    "importHelp": {
      "note": "Import, customize the messages, and assign to a test Line. This starter collects a request in the conversation; it does not create, update, or cancel a Calendar event. Add and configure Google Calendar nodes through the picker before enabling automatic bookings."
    }
  },
  "workflow": {
    "instruction": null,
    "multiLanguageSupport": null,
    "properties": [],
    "trigger": {
      "$tag": "Trigger",
      "type": "CONVERSATION_CREATED",
      "data": {}
    },
    "nodes": [
      {
        "$tag": "Node",
        "id": "d0c00000-0000-4000-8000-000000000001",
        "name": "bookingMenu",
        "parentId": null,
        "branchIndex": 0,
        "type": "ASK_MULTIPLE_CHOICE_QUESTION",
        "data": {
          "question": [
            {
              "$tag": "Constant",
              "value": "What would you like to request?"
            }
          ],
          "answerOptions": [
            "Personal training",
            "Group class"
          ]
        }
      },
      {
        "$tag": "Node",
        "id": "d0c00000-0000-4000-8000-000000000002",
        "name": "ask1",
        "parentId": "d0c00000-0000-4000-8000-000000000001",
        "branchIndex": 0,
        "type": "SEND_TEXT_MESSAGE",
        "data": {
          "message": [
            {
              "$tag": "Constant",
              "value": "Please share your preferred date/time and trainer, if you have a preference."
            }
          ]
        }
      },
      {
        "$tag": "Node",
        "id": "d0c00000-0000-4000-8000-000000000003",
        "name": "request1",
        "parentId": "d0c00000-0000-4000-8000-000000000002",
        "branchIndex": 0,
        "type": "RECEIVE_MESSAGE",
        "data": {
          "receiveText": true,
          "receiveAudio": false,
          "receiveImage": false,
          "receiveVideo": false,
          "receiveFile": false
        }
      },
      {
        "$tag": "Node",
        "id": "d0c00000-0000-4000-8000-000000000004",
        "name": "received1",
        "parentId": "d0c00000-0000-4000-8000-000000000003",
        "branchIndex": 0,
        "type": "SEND_TEXT_MESSAGE",
        "data": {
          "message": [
            {
              "$tag": "Constant",
              "value": "Thank you. Your request is in this conversation. The appointment or change is not confirmed yet; our team needs to review it."
            }
          ]
        }
      },
      {
        "$tag": "Node",
        "id": "d0c00000-0000-4000-8000-000000000005",
        "name": "ask2",
        "parentId": "d0c00000-0000-4000-8000-000000000001",
        "branchIndex": 1,
        "type": "SEND_TEXT_MESSAGE",
        "data": {
          "message": [
            {
              "$tag": "Constant",
              "value": "Please share the class name and preferred session date/time."
            }
          ]
        }
      },
      {
        "$tag": "Node",
        "id": "d0c00000-0000-4000-8000-000000000006",
        "name": "request2",
        "parentId": "d0c00000-0000-4000-8000-000000000005",
        "branchIndex": 0,
        "type": "RECEIVE_MESSAGE",
        "data": {
          "receiveText": true,
          "receiveAudio": false,
          "receiveImage": false,
          "receiveVideo": false,
          "receiveFile": false
        }
      },
      {
        "$tag": "Node",
        "id": "d0c00000-0000-4000-8000-000000000007",
        "name": "received2",
        "parentId": "d0c00000-0000-4000-8000-000000000006",
        "branchIndex": 0,
        "type": "SEND_TEXT_MESSAGE",
        "data": {
          "message": [
            {
              "$tag": "Constant",
              "value": "Thank you. Your request is in this conversation. The appointment or change is not confirmed yet; our team needs to review it."
            }
          ]
        }
      }
    ],
    "gotos": []
  }
}
