{
  "apiVersion": 66,
  "assignments": [
    {
      "name": "Copy_1_of_set_auto_convert_lead",
      "label": "set auto convert lead false",
      "locationX": 0,
      "locationY": 0,
      "assignmentItems": [
        {
          "assignToReference": "$Record.Need_Create_Opportunity__c",
          "operator": "Assign",
          "value": {
            "booleanValue": false
          }
        }
      ]
    },
    {
      "name": "set_auto_convert_lead",
      "label": "set auto convert lead",
      "locationX": 0,
      "locationY": 0,
      "assignmentItems": [
        {
          "assignToReference": "$Record.Need_Create_Opportunity__c",
          "operator": "Assign",
          "value": {
            "booleanValue": true
          }
        }
      ]
    }
  ],
  "decisions": [
    {
      "name": "lead_convert_opportunity_tag",
      "label": "lead convert opportunity tag",
      "locationX": 0,
      "locationY": 0,
      "defaultConnector": {
        "targetReference": "Copy_1_of_set_auto_convert_lead"
      },
      "defaultConnectorLabel": "Default Outcome",
      "rules": [
        {
          "name": "need_convert_opportunity",
          "conditionLogic": "and",
          "conditions": [
            {
              "leftValueReference": "$Record.Opportunity_Name__c",
              "operator": "IsBlank",
              "rightValue": {
                "booleanValue": false
              }
            }
          ],
          "connector": {
            "targetReference": "set_auto_convert_lead"
          },
          "label": "need convert opportunity"
        }
      ]
    }
  ],
  "label": "lead convert opportunity",
  "processType": "AutoLaunchedFlow",
  "start": {
    "locationX": 0,
    "locationY": 0,
    "connector": {
      "targetReference": "lead_convert_opportunity_tag"
    },
    "object": "Lead",
    "recordTriggerType": "CreateAndUpdate",
    "triggerType": "RecordBeforeSave"
  },
  "status": "Active"
}
