{
  "startParamMap": [
    {
      "isNotRequired": false,
      "key": "contacts",
      "type": "textarea",
      "value": [
        ""
      ],
      "label": "联系人",
      "placeholder": "每行一个好友用户名或号码",
      "helpText": "将按顺序在 WhatsApp 中搜索并发送私信。"
    },
    {
      "isNotRequired": false,
      "key": "message",
      "type": "string",
      "value": "",
      "label": "私信内容",
      "placeholder": "请输入要发送的文本",
      "helpText": "将发送给所选联系人的私信正文。"
    }
  ],
  "contents": [
    {
      "name": "等待时间",
      "type": "waitTime",
      "config": {
        "timeoutType": "randomInterval",
        "timeout": 2000,
        "timeoutMax": 2500,
        "timeoutMin": 1500
      }
    },
    {
      "position": {
        "x": 473,
        "y": 12
      },
      "config": {
        "filterType": "equal",
        "filters": [
          {
            "type": "desc",
            "content": ""
          }
        ],
        "hiddenChildren": false,
        "searchTime": 7000,
        "serial": 1,
        "serialType": "fixedValue",
        "operator": "",
        "operatorNum": 0,
        "variable": "isSearch",
        "filterCollection": [
          [
            {
              "type": "id",
              "content": "com.whatsapp:id/my_search_bar",
              "filterType": "equal"
            }
          ]
        ]
      },
      "name": "等待元素",
      "type": "waitEle"
    },
    {
      "position": {
        "x": 771,
        "y": 35
      },
      "config": {
        "conditionV3": [
          [
            {
              "relation": "exist",
              "useVariable": "isSearch"
            }
          ]
        ],
        "children": [
          {
            "position": {
              "x": 1001,
              "y": 279
            },
            "config": {
              "content": [
                "${contacts}"
              ],
              "reversal": false,
              "variable": "name",
              "variableIndex": "index",
              "children": [
                {
                  "position": {
                    "x": 1231,
                    "y": 397
                  },
                  "config": {
                    "filterType": "equal",
                    "filterCollection": [
                      [
                        {
                          "type": "id",
                          "content": "com.whatsapp:id/my_search_bar",
                          "filterType": "equal"
                        }
                      ]
                    ],
                    "hiddenChildren": false,
                    "randomDistance": 0,
                    "searchTime": 3000,
                    "serial": 1,
                    "serialType": "fixedValue",
                    "operator": "",
                    "operatorNum": 0,
                    "useOffset": false,
                    "error": false,
                    "doubleClick": false,
                    "variable": "",
                    "varName": "",
                    "description": ""
                  },
                  "name": "点击元素",
                  "type": "click"
                },
                {
                  "position": {
                    "x": 1504,
                    "y": 415
                  },
                  "config": {
                    "message": "${index}: 正在发送给 ${name}",
                    "level": "info"
                  },
                  "name": "日志",
                  "type": "log"
                },
                {
                  "position": {
                    "x": 1800,
                    "y": 423
                  },
                  "config": {
                    "timeoutType": "randomInterval",
                    "timeout": 800,
                    "timeoutMax": 1200,
                    "timeoutMin": 400
                  },
                  "name": "等待时间",
                  "type": "waitTime"
                },
                {
                  "position": {
                    "x": 2049,
                    "y": 397
                  },
                  "config": {
                    "content": [
                      "${name}"
                    ],
                    "clearBefore": true,
                    "waitTime": 300,
                    "hiddenChildren": false,
                    "serialType": "fixedValue",
                    "serial": 1,
                    "operator": "",
                    "operatorNum": 0,
                    "searchTime": 3000,
                    "inputType": "custom",
                    "filterType": "equal",
                    "filterCollection": [
                      [
                        {
                          "type": "id",
                          "content": "com.whatsapp:id/search_input",
                          "filterType": "equal"
                        }
                      ]
                    ],
                    "sourceType": "selector",
                    "variable": "",
                    "clear": true
                  },
                  "name": "输入内容",
                  "type": "inputContent"
                },
                {
                  "position": {
                    "x": 2322,
                    "y": 423
                  },
                  "config": {
                    "timeoutType": "randomInterval",
                    "timeout": 2000,
                    "timeoutMax": 2500,
                    "timeoutMin": 1500
                  },
                  "name": "等待时间",
                  "type": "waitTime"
                },
                {
                  "position": {
                    "x": 2578,
                    "y": 389
                  },
                  "config": {
                    "filterType": "equal",
                    "filters": [
                      {
                        "type": "desc",
                        "content": ""
                      }
                    ],
                    "hiddenChildren": false,
                    "searchTime": 8000,
                    "serial": 1,
                    "serialType": "fixedValue",
                    "operator": "",
                    "operatorNum": 0,
                    "variable": "isRow",
                    "filterCollection": [
                      [
                        {
                          "type": "id",
                          "content": "com.whatsapp:id/contact_row_container",
                          "filterType": "equal"
                        }
                      ]
                    ]
                  },
                  "name": "等待元素",
                  "type": "waitEle"
                },
                {
                  "position": {
                    "x": 2876,
                    "y": 412
                  },
                  "config": {
                    "conditionV3": [
                      [
                        {
                          "relation": "exist",
                          "useVariable": "isRow"
                        }
                      ]
                    ],
                    "children": [
                      {
                        "position": {
                          "x": 3106,
                          "y": 697
                        },
                        "config": {
                          "filterType": "equal",
                          "filterCollection": [
                            [
                              {
                                "type": "id",
                                "content": "com.whatsapp:id/contact_row_container",
                                "filterType": "equal"
                              }
                            ]
                          ],
                          "hiddenChildren": false,
                          "randomDistance": 3,
                          "searchTime": 5000,
                          "serial": 1,
                          "serialType": "fixedValue",
                          "operator": "",
                          "operatorNum": 0,
                          "useOffset": false,
                          "error": true,
                          "doubleClick": false,
                          "variable": "",
                          "varName": "",
                          "description": ""
                        },
                        "name": "点击元素",
                        "type": "click"
                      },
                      {
                        "position": {
                          "x": 3379,
                          "y": 689
                        },
                        "config": {
                          "filterType": "equal",
                          "filters": [
                            {
                              "type": "desc",
                              "content": ""
                            }
                          ],
                          "hiddenChildren": false,
                          "searchTime": 5000,
                          "serial": 1,
                          "serialType": "fixedValue",
                          "operator": "",
                          "operatorNum": 0,
                          "variable": "",
                          "filterCollection": [
                            [
                              {
                                "type": "id",
                                "content": "com.whatsapp:id/entry",
                                "filterType": "equal"
                              }
                            ]
                          ]
                        },
                        "name": "等待元素",
                        "type": "waitEle"
                      },
                      {
                        "position": {
                          "x": 3677,
                          "y": 723
                        },
                        "config": {
                          "timeoutType": "randomInterval",
                          "timeout": 1000,
                          "timeoutMax": 1500,
                          "timeoutMin": 600
                        },
                        "name": "等待时间",
                        "type": "waitTime"
                      },
                      {
                        "position": {
                          "x": 3926,
                          "y": 697
                        },
                        "config": {
                          "content": [
                            "${message}"
                          ],
                          "clearBefore": true,
                          "waitTime": 300,
                          "hiddenChildren": false,
                          "serialType": "fixedValue",
                          "serial": 1,
                          "operator": "",
                          "operatorNum": 0,
                          "searchTime": 3000,
                          "inputType": "custom",
                          "filterType": "equal",
                          "filterCollection": [
                            [
                              {
                                "type": "id",
                                "content": "com.whatsapp:id/entry",
                                "filterType": "equal"
                              }
                            ]
                          ],
                          "sourceType": "selector",
                          "variable": "",
                          "clear": true
                        },
                        "name": "输入内容",
                        "type": "inputContent"
                      },
                      {
                        "position": {
                          "x": 4199,
                          "y": 723
                        },
                        "config": {
                          "timeoutType": "randomInterval",
                          "timeout": 1000,
                          "timeoutMax": 2500,
                          "timeoutMin": 1500
                        },
                        "name": "等待时间",
                        "type": "waitTime"
                      },
                      {
                        "position": {
                          "x": 4448,
                          "y": 697
                        },
                        "config": {
                          "filterType": "equal",
                          "filters": [
                            {
                              "type": "desc",
                              "content": ""
                            }
                          ],
                          "hiddenChildren": false,
                          "searchTime": 3000,
                          "serial": 1,
                          "serialType": "fixedValue",
                          "operator": "",
                          "operatorNum": 0,
                          "variable": "",
                          "filterCollection": [
                            [
                              {
                                "type": "id",
                                "content": "com.whatsapp:id/send",
                                "filterType": "equal"
                              }
                            ]
                          ]
                        },
                        "name": "等待元素",
                        "type": "waitEle"
                      },
                      {
                        "position": {
                          "x": 4679,
                          "y": 697
                        },
                        "config": {
                          "filterType": "equal",
                          "filterCollection": [
                            [
                              {
                                "type": "id",
                                "content": "com.whatsapp:id/send",
                                "filterType": "equal"
                              }
                            ]
                          ],
                          "hiddenChildren": false,
                          "randomDistance": 4,
                          "searchTime": 3000,
                          "serial": 1,
                          "serialType": "fixedValue",
                          "operator": "",
                          "operatorNum": 0,
                          "useOffset": false,
                          "error": false,
                          "doubleClick": false,
                          "variable": "",
                          "varName": "",
                          "description": ""
                        },
                        "name": "点击元素",
                        "type": "click"
                      },
                      {
                        "position": {
                          "x": 4910,
                          "y": 723
                        },
                        "config": {
                          "timeoutType": "randomInterval",
                          "timeout": 2000,
                          "timeoutMax": 1500,
                          "timeoutMin": 500
                        },
                        "name": "等待时间",
                        "type": "waitTime"
                      },
                      {
                        "position": {
                          "x": 5159,
                          "y": 697
                        },
                        "config": {
                          "filterType": "equal",
                          "filterCollection": [
                            [
                              {
                                "type": "desc",
                                "content": "Back",
                                "filterType": "equal"
                              }
                            ]
                          ],
                          "hiddenChildren": false,
                          "randomDistance": 3,
                          "searchTime": 3000,
                          "serial": 1,
                          "serialType": "fixedValue",
                          "operator": "",
                          "operatorNum": 0,
                          "useOffset": false,
                          "error": false,
                          "doubleClick": false,
                          "variable": "",
                          "varName": "",
                          "description": ""
                        },
                        "name": "点击元素",
                        "type": "click"
                      },
                      {
                        "position": {
                          "x": 5389,
                          "y": 689
                        },
                        "config": {
                          "filterType": "equal",
                          "filters": [
                            {
                              "type": "desc",
                              "content": ""
                            }
                          ],
                          "hiddenChildren": false,
                          "searchTime": 5000,
                          "serial": 1,
                          "serialType": "fixedValue",
                          "operator": "",
                          "operatorNum": 0,
                          "variable": "",
                          "filterCollection": [
                            [
                              {
                                "type": "id",
                                "content": "com.whatsapp:id/search_input",
                                "filterType": "equal"
                              }
                            ]
                          ]
                        },
                        "name": "等待元素",
                        "type": "waitEle"
                      },
                      {
                        "position": {
                          "x": 5687,
                          "y": 723
                        },
                        "config": {
                          "timeoutType": "randomInterval",
                          "timeout": 3000,
                          "timeoutMax": 1500,
                          "timeoutMin": 500
                        },
                        "name": "等待时间",
                        "type": "waitTime"
                      }
                    ],
                    "other": [
                      {
                        "name": "日志",
                        "type": "log",
                        "config": {
                          "message": "[ERR] 未找到联系人 ${name}，跳过发送",
                          "level": "warn"
                        }
                      },
                      {
                        "position": {
                          "x": 3128,
                          "y": 477
                        },
                        "config": {
                          "filterType": "equal",
                          "filterCollection": [
                            [
                              {
                                "type": "desc",
                                "content": "Back",
                                "filterType": "equal"
                              }
                            ]
                          ],
                          "hiddenChildren": false,
                          "randomDistance": 0,
                          "searchTime": 3000,
                          "serial": 1,
                          "serialType": "fixedValue",
                          "operator": "",
                          "operatorNum": 0,
                          "useOffset": false,
                          "error": false,
                          "doubleClick": false,
                          "variable": "",
                          "varName": "",
                          "description": ""
                        },
                        "name": "点击元素",
                        "type": "click"
                      },
                      {
                        "position": {
                          "x": 3379,
                          "y": 503
                        },
                        "config": {
                          "timeoutType": "randomInterval",
                          "timeout": 3000,
                          "timeoutMax": 1500,
                          "timeoutMin": 500
                        },
                        "name": "等待时间",
                        "type": "waitTime"
                      }
                    ]
                  },
                  "name": "IF条件",
                  "type": "ifElse"
                }
              ]
            },
            "name": "For循环数据",
            "type": "forData"
          }
        ],
        "other": [
          {
            "position": {
              "x": 1001,
              "y": 140
            },
            "config": {
              "description": ""
            },
            "name": "结束任务",
            "type": "endTask"
          }
        ]
      },
      "name": "IF条件",
      "type": "ifElse"
    }
  ],
  "otherContents": {
    "startNode": {
      "position": {
        "x": 13,
        "y": 22
      },
      "config": {},
      "type": "start",
      "id": "init-node"
    },
    "contents": [],
    "edges": [],
    "otherFunctionNode": []
  },
  "contentType": "phone",
  "errorType": "pause"
}