{
  "type": "workflow_collections",
  "macros": [],
  "exported_tags": [
    "Microsoft",
    "ediscovery",
    "microsoft-purview-ediscovery-v2"
  ],
  "data": [
    {
      "@type": "WorkflowCollection",
      "name": "Microsoft Purview eDiscovery v2 playbooks - 2.0.1",
      "description": "Sample playbooks for the \"Microsoft Purview eDiscovery\" connector. If you are planning to use the sample playbooks in your environment, ensure that you clone those playbooks and move them to a different collection, since the sample playbook collection gets deleted during connector upgrade and delete.",
      "visible": true,
      "image": null,
      "uuid": "e636bf55-4524-526e-9648-9aa08ae2926b",
      "recordTags": [
        "microsoft-purview-ediscovery-v2",
        "Microsoft",
        "ediscovery"
      ],
      "workflows": [
        {
          "@type": "Workflow",
          "name": "EDiscovery Multi Mailbox Search and Triage",
          "aliasName": null,
          "tag": "",
          "recordTags": [],
          "description": "One playbook for the \"these mailboxes may hold the phishing campaign\" report: it finds or opens the Purview eDiscovery case by name, adds the reported users as custodians with legal hold, adds each new custodian's mailbox and OneDrive as data sources, creates the KQL search over those sources, waits for the estimate statistics to finish, and then asks a human to choose the response through a manual-input card that shows exactly how many items matched. Soft purge moves the matched items to the recoverable items folder, hard purge deletes them permanently, export packages them for download, and \"no action\" keeps the case and the search for review in the Purview portal. The search created by this run is deleted again on the way out (a reused search is kept), and the run's outcome is written back onto the reported incident when one was supplied.\nWhy find-or-create on both the case and the search: re-runs over the same incident must not pile up duplicate cases or duplicate searches. Both adopt an existing resource by exact display name first and record whether this run created it; the cleanup step only deletes a search this run created, so a pre-existing search definition survives every run.\nWhy create_custodians (the bulk op) instead of one call per user: the op matches each address against the case's existing custodians first, so a re-run reports those as already present instead of failing on the duplicate, and one bad address never aborts the batch - its failure is captured on that address's own result row.\nWhy the estimate runs through wait_for_search_statistics: a fresh search has no statistics until an estimateStatistics action finishes, and the counts are the whole point of the triage - the op kicks the estimate when the search has none and polls until it is done, so the card never shows zeros from an estimate that is still running.\nInputs: case_name (the eDiscovery case to find or open - default \"Phishing incident response\"), user_upns (comma-separated custodian UPNs, which are their SMTP addresses in the common case - default alice@example.com, bob@example.com), kql_query (the Keyword Query Language search - default subject:\"payroll update\", the same campaign the Purge Reported Phishing Mail scenario sweeps for), search_display_name (the search to find or create; the default adds a timestamp so concurrent runs never collide), purge_choice (soft, hard, export or none - a preselected choice for unattended runs; none, the default, asks the analyst), incident_id (optional FortiSOAR incident id to write the outcome back onto), approver (Teams recipient for the response card - default soc-oncall@example.com). Outputs: outcome (purged_recoverable, purged_permanent, exported, no_action or no_hits), case_id, case_auto_created, search_id, search_auto_created, action, indexed_items, unindexed_items, total_items, mailboxes, sites, operation_id, export_files, download_url.\nLive prerequisites: the connector configured with eDiscovery.ReadWrite. All admin consented and a tenant licensed for Purview eDiscovery (Premium); the run needs the case-management role for create_case. The manual-input card is delivered through the \"Microsoft Teams\" external channel (the wiring the FortiSOAR-for-Microsoft-Teams solution pack uses); the picklist IRI is tenant-local, so it is selected on the prompt after cloning - the choice routing itself is channel-agnostic.",
          "isActive": false,
          "debug": true,
          "singleRecordExecution": false,
          "remoteExecutableFlag": 0,
          "parameters": [
            "approver",
            "case_name",
            "user_upns",
            "kql_query",
            "search_display_name",
            "purge_choice",
            "incident_id"
          ],
          "synchronous": false,
          "triggerStep": "/api/3/workflow_steps/47d82b84-0ef2-5a53-9d6a-65b6e2b5039a",
          "steps": [
            {
              "@type": "WorkflowStep",
              "name": "Start",
              "description": null,
              "arguments": {
                "inputVariables": [
                  {
                    "name": "approver",
                    "type": "string",
                    "label": "Approver"
                  },
                  {
                    "name": "case_name",
                    "type": "string",
                    "label": "Case Name"
                  },
                  {
                    "name": "user_upns",
                    "type": "string",
                    "label": "User UPNs"
                  },
                  {
                    "name": "kql_query",
                    "type": "string",
                    "label": "KQL Query"
                  },
                  {
                    "name": "search_display_name",
                    "type": "string",
                    "label": "Search Display Name"
                  },
                  {
                    "name": "purge_choice",
                    "type": "string",
                    "label": "Purge Choice"
                  },
                  {
                    "name": "incident_id",
                    "type": "string",
                    "label": "Incident ID"
                  }
                ],
                "title": "Run eDiscovery Triage",
                "resources": [
                  "incidents"
                ],
                "route": "b46e1b7e-df8f-5d18-818f-513332d6e5d2",
                "step_variables": {
                  "input": {
                    "params": {
                      "approver": "{{vars.request.data[\"approver\"]}}",
                      "case_name": "{{vars.request.data[\"case_name\"]}}",
                      "user_upns": "{{vars.request.data[\"user_upns\"]}}",
                      "kql_query": "{{vars.request.data[\"kql_query\"]}}",
                      "search_display_name": "{{vars.request.data[\"search_display_name\"]}}",
                      "purge_choice": "{{vars.request.data[\"purge_choice\"]}}",
                      "incident_id": "{{vars.request.data[\"incident_id\"]}}"
                    },
                    "records": "{{vars.input.records}}"
                  }
                },
                "triggerOnSource": true,
                "triggerOnReplicate": false,
                "noRecordExecution": true,
                "singleRecordExecution": false,
                "__triggerLimit": true,
                "executeButtonText": "Execute",
                "showToasterMessage": {
                  "visible": false,
                  "messageVisible": true
                },
                "displayConditions": {
                  "incidents": {
                    "sort": [],
                    "limit": 30,
                    "logic": "AND",
                    "filters": []
                  }
                }
              },
              "status": null,
              "top": "120",
              "left": "200",
              "stepType": "/api/3/workflow_step_types/f414d039-bb0d-4e59-9c39-a8f1e880b18a",
              "group": null,
              "uuid": "47d82b84-0ef2-5a53-9d6a-65b6e2b5039a"
            },
            {
              "@type": "WorkflowStep",
              "name": "Resolve Inputs",
              "description": null,
              "arguments": {
                "approver": "{{ vars.input.params.approver | default(vars.approver, true) | default('soc-oncall@example.com', true) }}",
                "case_name": "{{ vars.input.params.case_name | default(vars.case_name, true) | default('Phishing incident response', true) }}",
                "user_upns": "{{ vars.input.params.user_upns | default(vars.user_upns, true) | default('alice@example.com, bob@example.com', true) }}",
                "kql_query": "{{ vars.input.params.kql_query | default(vars.kql_query, true) | default('subject:\"payroll update\"', true) }}",
                "search_display_name": "{{ vars.input.params.search_display_name | default(vars.search_display_name, true) | default('', true) }}",
                "search_name_stamp": "{{ get_current_datetime() }}",
                "purge_choice": "{{ vars.input.params.purge_choice | default(vars.purge_choice, true) | default('none', true) }}",
                "incident_id": "{{ vars.input.params.incident_id | default(vars.incident_id, true) | default('', true) }}"
              },
              "status": null,
              "top": "250",
              "left": "200",
              "stepType": "/api/3/workflow_step_types/04d0cf46-b6a8-42c4-8683-60a7eaa69e8f",
              "group": null,
              "uuid": "f4770e34-92a9-5a78-83ce-8ddf52431a13"
            },
            {
              "@type": "WorkflowStep",
              "name": "Stamp Search Name",
              "description": null,
              "arguments": {
                "search_display_name": "{{ (vars.search_display_name | default('', true)) or ('Phishing incident response - search ' ~ vars.search_name_stamp) }}"
              },
              "status": null,
              "top": "380",
              "left": "200",
              "stepType": "/api/3/workflow_step_types/04d0cf46-b6a8-42c4-8683-60a7eaa69e8f",
              "group": null,
              "uuid": "b0f7034a-a7f5-5a6e-9406-594624767030"
            },
            {
              "@type": "WorkflowStep",
              "name": "List Cases",
              "description": null,
              "arguments": {
                "connector": "microsoft-purview-ediscovery-v2",
                "operation": "list_cases",
                "config": "",
                "params": {},
                "version": "2.0.1",
                "name": "Microsoft Purview eDiscovery v2",
                "operationTitle": "List Cases",
                "step_variables": [],
                "pickFromTenant": false
              },
              "status": null,
              "top": "510",
              "left": "200",
              "stepType": "/api/3/workflow_step_types/0bfed618-0316-11e7-93ae-92361f002671",
              "group": null,
              "uuid": "8631d912-ec60-508d-b84c-5b1d58987bf1"
            },
            {
              "@type": "WorkflowStep",
              "name": "Find Case",
              "description": null,
              "arguments": {
                "case_id": "{{ ((vars.steps.List_Cases.data['items'] | default([], true)) | selectattr('displayName', 'equalto', vars.case_name) | list | first | default(none, true)).id | default('', true) }}"
              },
              "status": null,
              "top": "640",
              "left": "200",
              "stepType": "/api/3/workflow_step_types/04d0cf46-b6a8-42c4-8683-60a7eaa69e8f",
              "group": null,
              "uuid": "2080fdb8-3f33-5619-96b5-7816f041643b"
            },
            {
              "@type": "WorkflowStep",
              "name": "Case Exists",
              "description": null,
              "arguments": {
                "conditions": [
                  {
                    "option": "Case found",
                    "condition": "{{ vars.case_id | default('', true) | length > 0 }}",
                    "step_iri": "/api/3/workflow_steps/56734510-ae03-5e46-ab17-ee2a63b80412",
                    "step_name": "Adopt Case"
                  },
                  {
                    "option": "Create a new case",
                    "default": true,
                    "step_iri": "/api/3/workflow_steps/4ff212ce-513e-5ff5-8c96-845a7f1d7b8a",
                    "step_name": "Create Case"
                  }
                ]
              },
              "status": null,
              "top": "770",
              "left": "200",
              "stepType": "/api/3/workflow_step_types/12254cf5-5db7-4b1a-8cb1-3af081924b28",
              "group": null,
              "uuid": "b7dca9ec-7dc9-52cc-ae8c-1d67d0aa9379"
            },
            {
              "@type": "WorkflowStep",
              "name": "Adopt Case",
              "description": null,
              "arguments": {
                "case_auto_created": false
              },
              "status": null,
              "top": "900",
              "left": "200",
              "stepType": "/api/3/workflow_step_types/04d0cf46-b6a8-42c4-8683-60a7eaa69e8f",
              "group": null,
              "uuid": "56734510-ae03-5e46-ab17-ee2a63b80412"
            },
            {
              "@type": "WorkflowStep",
              "name": "Create Case",
              "description": null,
              "arguments": {
                "connector": "microsoft-purview-ediscovery-v2",
                "operation": "create_case",
                "config": "",
                "params": {
                  "display_name": "{{ vars.case_name }}",
                  "description": "Opened by the EDiscovery Multi Mailbox Search and Triage playbook for query {{ vars.kql_query }}."
                },
                "version": "2.0.1",
                "name": "Microsoft Purview eDiscovery v2",
                "operationTitle": "Create Case",
                "step_variables": [],
                "pickFromTenant": false
              },
              "status": null,
              "top": "900",
              "left": "540",
              "stepType": "/api/3/workflow_step_types/0bfed618-0316-11e7-93ae-92361f002671",
              "group": null,
              "uuid": "4ff212ce-513e-5ff5-8c96-845a7f1d7b8a"
            },
            {
              "@type": "WorkflowStep",
              "name": "Case Created",
              "description": null,
              "arguments": {
                "case_id": "{{ vars.steps.Create_Case.data.id }}",
                "case_auto_created": true
              },
              "status": null,
              "top": "1030",
              "left": "540",
              "stepType": "/api/3/workflow_step_types/04d0cf46-b6a8-42c4-8683-60a7eaa69e8f",
              "group": null,
              "uuid": "ab9de3ea-4d01-521d-8ea0-9159d338c63f"
            },
            {
              "@type": "WorkflowStep",
              "name": "Add Custodians",
              "description": null,
              "arguments": {
                "connector": "microsoft-purview-ediscovery-v2",
                "operation": "create_custodians",
                "config": "",
                "params": {
                  "case_id": "{{ vars.case_id }}",
                  "emails": "{{ vars.user_upns }}",
                  "apply_hold_to_sources": true
                },
                "version": "2.0.1",
                "name": "Microsoft Purview eDiscovery v2",
                "operationTitle": "Create Custodians",
                "step_variables": [],
                "pickFromTenant": false
              },
              "status": null,
              "top": "1160",
              "left": "200",
              "stepType": "/api/3/workflow_step_types/0bfed618-0316-11e7-93ae-92361f002671",
              "group": null,
              "uuid": "8a5bb391-469c-5932-a278-03860d659f9a"
            },
            {
              "@type": "WorkflowStep",
              "name": "Create Mailbox Sources",
              "description": null,
              "arguments": {
                "connector": "microsoft-purview-ediscovery-v2",
                "operation": "create_custodian_user_source",
                "config": "",
                "params": {
                  "case_id": "{{ vars.case_id }}",
                  "custodian_id": "{{ vars.item.custodian_id }}",
                  "email": "{{ vars.item.email }}"
                },
                "version": "2.0.1",
                "name": "Microsoft Purview eDiscovery v2",
                "operationTitle": "Create Custodian User Source",
                "step_variables": [],
                "pickFromTenant": false,
                "for_each": {
                  "item": "{{ (vars.steps.Add_Custodians.data.results | default([], true)) | selectattr('status', 'equalto', 'created') | list }}",
                  "parallel": false,
                  "condition": ""
                }
              },
              "status": null,
              "top": "1290",
              "left": "200",
              "stepType": "/api/3/workflow_step_types/0bfed618-0316-11e7-93ae-92361f002671",
              "group": null,
              "uuid": "44d0eaff-0ebf-5dc3-988c-2cd8ad7cb2b7"
            },
            {
              "@type": "WorkflowStep",
              "name": "List Searches",
              "description": null,
              "arguments": {
                "connector": "microsoft-purview-ediscovery-v2",
                "operation": "list_searches",
                "config": "",
                "params": {
                  "case_id": "{{ vars.case_id }}"
                },
                "version": "2.0.1",
                "name": "Microsoft Purview eDiscovery v2",
                "operationTitle": "List Searches",
                "step_variables": [],
                "pickFromTenant": false
              },
              "status": null,
              "top": "1420",
              "left": "200",
              "stepType": "/api/3/workflow_step_types/0bfed618-0316-11e7-93ae-92361f002671",
              "group": null,
              "uuid": "f3f77672-5484-5d95-b02e-991515cdeff1"
            },
            {
              "@type": "WorkflowStep",
              "name": "Find Search",
              "description": null,
              "arguments": {
                "search_id": "{{ ((vars.steps.List_Searches.data['items'] | default([], true)) | selectattr('displayName', 'equalto', vars.search_display_name) | list | first | default(none, true)).id | default('', true) }}"
              },
              "status": null,
              "top": "1550",
              "left": "200",
              "stepType": "/api/3/workflow_step_types/04d0cf46-b6a8-42c4-8683-60a7eaa69e8f",
              "group": null,
              "uuid": "473b7196-5b00-5d64-b8f3-76e2ee918f38"
            },
            {
              "@type": "WorkflowStep",
              "name": "Search Exists",
              "description": null,
              "arguments": {
                "conditions": [
                  {
                    "option": "Search found",
                    "condition": "{{ vars.search_id | default('', true) | length > 0 }}",
                    "step_iri": "/api/3/workflow_steps/0cfa6464-1185-5328-b7e7-9f27e1768f10",
                    "step_name": "Adopt Search"
                  },
                  {
                    "option": "Create a new search",
                    "default": true,
                    "step_iri": "/api/3/workflow_steps/41344a49-4bf4-51b4-aa3e-6bb77a1812bf",
                    "step_name": "Create Search"
                  }
                ]
              },
              "status": null,
              "top": "1680",
              "left": "200",
              "stepType": "/api/3/workflow_step_types/12254cf5-5db7-4b1a-8cb1-3af081924b28",
              "group": null,
              "uuid": "6ded73f6-4687-52b7-a0f5-4fe095dc179a"
            },
            {
              "@type": "WorkflowStep",
              "name": "Adopt Search",
              "description": null,
              "arguments": {
                "search_auto_created": false
              },
              "status": null,
              "top": "1810",
              "left": "200",
              "stepType": "/api/3/workflow_step_types/04d0cf46-b6a8-42c4-8683-60a7eaa69e8f",
              "group": null,
              "uuid": "0cfa6464-1185-5328-b7e7-9f27e1768f10"
            },
            {
              "@type": "WorkflowStep",
              "name": "Create Search",
              "description": null,
              "arguments": {
                "connector": "microsoft-purview-ediscovery-v2",
                "operation": "create_search",
                "config": "",
                "params": {
                  "case_id": "{{ vars.case_id }}",
                  "display_name": "{{ vars.search_display_name }}",
                  "description": "Triage search opened by the EDiscovery Multi Mailbox Search and Triage playbook (query: {{ vars.kql_query }}).",
                  "content_query": "{{ vars.kql_query }}",
                  "data_source_scopes": "none",
                  "custodian_ids": "{{ (vars.steps.Add_Custodians.data.results | default([], true)) | map(attribute='custodian_id') | select | join(',') }}"
                },
                "version": "2.0.1",
                "name": "Microsoft Purview eDiscovery v2",
                "operationTitle": "Create Search",
                "step_variables": [],
                "pickFromTenant": false
              },
              "status": null,
              "top": "1810",
              "left": "540",
              "stepType": "/api/3/workflow_step_types/0bfed618-0316-11e7-93ae-92361f002671",
              "group": null,
              "uuid": "41344a49-4bf4-51b4-aa3e-6bb77a1812bf"
            },
            {
              "@type": "WorkflowStep",
              "name": "Search Created",
              "description": null,
              "arguments": {
                "search_id": "{{ vars.steps.Create_Search.data.search.id }}",
                "search_auto_created": true
              },
              "status": null,
              "top": "1940",
              "left": "540",
              "stepType": "/api/3/workflow_step_types/04d0cf46-b6a8-42c4-8683-60a7eaa69e8f",
              "group": null,
              "uuid": "f9aa4be7-3b9a-5ea1-bc36-d19a85b8ff0d"
            },
            {
              "@type": "WorkflowStep",
              "name": "Wait For Statistics",
              "description": null,
              "arguments": {
                "connector": "microsoft-purview-ediscovery-v2",
                "operation": "wait_for_search_statistics",
                "config": "",
                "params": {
                  "case_id": "{{ vars.case_id }}",
                  "search_id": "{{ vars.search_id }}",
                  "timeout_seconds": 300
                },
                "version": "2.0.1",
                "name": "Microsoft Purview eDiscovery v2",
                "operationTitle": "Wait For Search Statistics",
                "step_variables": [],
                "pickFromTenant": false
              },
              "status": null,
              "top": "2070",
              "left": "200",
              "stepType": "/api/3/workflow_step_types/0bfed618-0316-11e7-93ae-92361f002671",
              "group": null,
              "uuid": "83c5244c-cb43-509d-a663-53df5175bb92"
            },
            {
              "@type": "WorkflowStep",
              "name": "Statistics Summary",
              "description": null,
              "arguments": {
                "indexed_items": "{{ vars.steps.Wait_For_Statistics.data.lastEstimateStatistics.indexedItemCount | default(0, true) }}",
                "unindexed_items": "{{ vars.steps.Wait_For_Statistics.data.lastEstimateStatistics.unindexedItemCount | default(0, true) }}",
                "total_items": "{{ vars.steps.Wait_For_Statistics.data.lastEstimateStatistics.indexedItemCount | default(0, true) }}",
                "total_size_mb": "{{ (((vars.steps.Wait_For_Statistics.data.lastEstimateStatistics.indexedItemsSize | default(0, true)) + (vars.steps.Wait_For_Statistics.data.lastEstimateStatistics.unindexedItemsSize | default(0, true))) / 1048576) | round(2) }}",
                "mailbox_count": "{{ vars.steps.Wait_For_Statistics.data.lastEstimateStatistics.mailboxCount | default(0, true) }}",
                "site_count": "{{ vars.steps.Wait_For_Statistics.data.lastEstimateStatistics.siteCount | default(0, true) }}"
              },
              "status": null,
              "top": "2200",
              "left": "200",
              "stepType": "/api/3/workflow_step_types/04d0cf46-b6a8-42c4-8683-60a7eaa69e8f",
              "group": null,
              "uuid": "19c80d4b-e49d-5c6f-8c37-6bb50aa08a04"
            },
            {
              "@type": "WorkflowStep",
              "name": "Summarize Statistics",
              "description": null,
              "arguments": {
                "stats_summary": "Search \"{{ vars.search_display_name }}\" matched {{ vars.indexed_items }} indexed item(s) across {{ vars.mailbox_count }} mailbox(es) and {{ vars.site_count }} site(s); {{ vars.unindexed_items }} unindexed item(s) (about {{ vars.total_size_mb }} MB in total) could not be evaluated by the index and are not counted as hits."
              },
              "status": null,
              "top": "2330",
              "left": "200",
              "stepType": "/api/3/workflow_step_types/04d0cf46-b6a8-42c4-8683-60a7eaa69e8f",
              "group": null,
              "uuid": "d3b9d38b-9521-5af8-b587-8a345b3e8eb6"
            },
            {
              "@type": "WorkflowStep",
              "name": "Hits Found",
              "description": null,
              "arguments": {
                "conditions": [
                  {
                    "option": "Hits found",
                    "condition": "{{ vars.indexed_items | default(0, true) | int > 0 }}",
                    "step_iri": "/api/3/workflow_steps/90447880-fbdf-5533-8aad-8a975e190c5a",
                    "step_name": "Response Mode"
                  },
                  {
                    "option": "Recheck the index once",
                    "condition": "{{ vars.unindexed_items | default(0, true) | int > 0 }}",
                    "step_iri": "/api/3/workflow_steps/b900febb-95d6-51dd-bd3d-9c92ec17009d",
                    "step_name": "Recheck Index"
                  },
                  {
                    "option": "No hits",
                    "default": true,
                    "step_iri": "/api/3/workflow_steps/adf195ec-6926-57fc-beac-401137786748",
                    "step_name": "Mark No Hits"
                  }
                ]
              },
              "status": null,
              "top": "2460",
              "left": "200",
              "stepType": "/api/3/workflow_step_types/12254cf5-5db7-4b1a-8cb1-3af081924b28",
              "group": null,
              "uuid": "c16f0edd-d680-5a8b-b3c4-f645a99470c3"
            },
            {
              "@type": "WorkflowStep",
              "name": "Recheck Index",
              "description": null,
              "arguments": {
                "connector": "microsoft-purview-ediscovery-v2",
                "operation": "run_estimate_statistics",
                "config": "",
                "params": {
                  "case_id": "{{ vars.case_id }}",
                  "search_id": "{{ vars.search_id }}"
                },
                "version": "2.0.1",
                "name": "Microsoft Purview eDiscovery v2",
                "operationTitle": "Run Estimate Statistics",
                "step_variables": [],
                "pickFromTenant": false
              },
              "status": null,
              "top": "2590",
              "left": "540",
              "stepType": "/api/3/workflow_step_types/0bfed618-0316-11e7-93ae-92361f002671",
              "group": null,
              "uuid": "b900febb-95d6-51dd-bd3d-9c92ec17009d"
            },
            {
              "@type": "WorkflowStep",
              "name": "Wait Recheck Index",
              "description": null,
              "arguments": {
                "connector": "microsoft-purview-ediscovery-v2",
                "operation": "wait_for_search_statistics",
                "config": "",
                "params": {
                  "case_id": "{{ vars.case_id }}",
                  "search_id": "{{ vars.search_id }}",
                  "timeout_seconds": 300
                },
                "version": "2.0.1",
                "name": "Microsoft Purview eDiscovery v2",
                "operationTitle": "Wait For Search Statistics",
                "step_variables": [],
                "pickFromTenant": false
              },
              "status": null,
              "top": "2720",
              "left": "540",
              "stepType": "/api/3/workflow_step_types/0bfed618-0316-11e7-93ae-92361f002671",
              "group": null,
              "uuid": "e09d21df-fdb8-5703-80ee-6a4a005e26de"
            },
            {
              "@type": "WorkflowStep",
              "name": "Recheck Summary",
              "description": null,
              "arguments": {
                "index_rechecked": true,
                "indexed_items": "{{ vars.steps.Wait_Recheck_Index.data.lastEstimateStatistics.indexedItemCount | default(0, true) }}",
                "unindexed_items": "{{ vars.steps.Wait_Recheck_Index.data.lastEstimateStatistics.unindexedItemCount | default(0, true) }}",
                "total_items": "{{ vars.steps.Wait_Recheck_Index.data.lastEstimateStatistics.indexedItemCount | default(0, true) }}",
                "mailbox_count": "{{ vars.steps.Wait_Recheck_Index.data.lastEstimateStatistics.mailboxCount | default(0, true) }}",
                "site_count": "{{ vars.steps.Wait_Recheck_Index.data.lastEstimateStatistics.siteCount | default(0, true) }}"
              },
              "status": null,
              "top": "2850",
              "left": "540",
              "stepType": "/api/3/workflow_step_types/04d0cf46-b6a8-42c4-8683-60a7eaa69e8f",
              "group": null,
              "uuid": "819c9146-294c-5c33-9a08-d712c671b827"
            },
            {
              "@type": "WorkflowStep",
              "name": "Summarize Recheck",
              "description": null,
              "arguments": {
                "stats_summary": "Search \"{{ vars.search_display_name }}\" matched {{ vars.indexed_items }} indexed item(s) across {{ vars.mailbox_count }} mailbox(es) after one recheck of the index; {{ vars.unindexed_items }} unindexed item(s) still could not be evaluated by the index and are not counted as hits."
              },
              "status": null,
              "top": "2980",
              "left": "540",
              "stepType": "/api/3/workflow_step_types/04d0cf46-b6a8-42c4-8683-60a7eaa69e8f",
              "group": null,
              "uuid": "1997bb42-0e3f-594a-9e51-fa5dbbdf4dbf"
            },
            {
              "@type": "WorkflowStep",
              "name": "Hits After Recheck",
              "description": null,
              "arguments": {
                "conditions": [
                  {
                    "option": "Hits found after recheck",
                    "condition": "{{ vars.indexed_items | default(0, true) | int > 0 }}",
                    "step_iri": "/api/3/workflow_steps/90447880-fbdf-5533-8aad-8a975e190c5a",
                    "step_name": "Response Mode"
                  },
                  {
                    "option": "No hits",
                    "default": true,
                    "step_iri": "/api/3/workflow_steps/adf195ec-6926-57fc-beac-401137786748",
                    "step_name": "Mark No Hits"
                  }
                ]
              },
              "status": null,
              "top": "3110",
              "left": "540",
              "stepType": "/api/3/workflow_step_types/12254cf5-5db7-4b1a-8cb1-3af081924b28",
              "group": null,
              "uuid": "10fe7f8c-b2f0-5755-8097-2aed254ce7f4"
            },
            {
              "@type": "WorkflowStep",
              "name": "Response Mode",
              "description": null,
              "arguments": {
                "conditions": [
                  {
                    "option": "Preselected soft purge",
                    "condition": "{{ vars.purge_choice | default('none', true) == 'soft' }}",
                    "step_iri": "/api/3/workflow_steps/68de6e91-fc7c-58ba-9b67-a2d5f8b92716",
                    "step_name": "Soft Purge"
                  },
                  {
                    "option": "Preselected hard purge",
                    "condition": "{{ vars.purge_choice | default('none', true) == 'hard' }}",
                    "step_iri": "/api/3/workflow_steps/845b9a7c-58cf-588a-82be-78f0a996f8b7",
                    "step_name": "Hard Purge"
                  },
                  {
                    "option": "Preselected export",
                    "condition": "{{ vars.purge_choice | default('none', true) == 'export' }}",
                    "step_iri": "/api/3/workflow_steps/a0681d04-4828-5c29-aef1-61258f227206",
                    "step_name": "Export Results"
                  },
                  {
                    "option": "Ask the analyst",
                    "default": true,
                    "step_iri": "/api/3/workflow_steps/fbcd4ddc-045b-5c5b-893f-693b6b3ffa60",
                    "step_name": "Analyst Gate"
                  }
                ]
              },
              "status": null,
              "top": "3240",
              "left": "200",
              "stepType": "/api/3/workflow_step_types/12254cf5-5db7-4b1a-8cb1-3af081924b28",
              "group": null,
              "uuid": "90447880-fbdf-5533-8aad-8a975e190c5a"
            },
            {
              "@type": "WorkflowStep",
              "name": "Analyst Gate",
              "description": "{{ vars.stats_summary }}<br><br> Case \"{{ vars.case_name }}\" ({{ vars.case_id }}), query {{ vars.kql_query }}. Choose the response:<br> <b>soft purge</b> - matched items move to the mailbox's recoverable items folder (recoverable during the retention window);<br> <b>hard purge</b> - matched items are permanently deleted (Teams messages are always permanently deleted);<br> <b>export</b> - the matched items are packaged for download (PST);<br> <b>no action</b> - the case and the search stay as they are for review in the Purview portal.<br><br> At most 100 items per location are purged, and the search itself is removed again on the way out unless it existed before this run.",
              "arguments": {
                "owner_detail": {
                  "isAssigned": false,
                  "externalRecipients": "{{ vars.approver }}"
                },
                "inputInternalUsers": true,
                "inline_channel_list": [
                  "/api/3/picklists/c7c35e25-9c26-4a43-a984-4f57d2027111"
                ],
                "unauthenticated_input": true,
                "type": "DecisionBased",
                "input": {
                  "schema": {
                    "title": "Choose the response for '{{ vars.search_display_name }}' ({{ vars.total_items }} items)",
                    "description": "{{ vars.stats_summary }}<br><br> Case \"{{ vars.case_name }}\" ({{ vars.case_id }}), query {{ vars.kql_query }}. Choose the response:<br> <b>soft purge</b> - matched items move to the mailbox's recoverable items folder (recoverable during the retention window);<br> <b>hard purge</b> - matched items are permanently deleted (Teams messages are always permanently deleted);<br> <b>export</b> - the matched items are packaged for download (PST);<br> <b>no action</b> - the case and the search stay as they are for review in the Purview portal.<br><br> At most 100 items per location are purged, and the search itself is removed again on the way out unless it existed before this run.",
                    "inputVariables": []
                  }
                },
                "record": "",
                "is_approval": false,
                "isRecordLinked": false,
                "step_variables": [],
                "response_mapping": {
                  "options": [
                    {
                      "option": "soft purge",
                      "primary": true,
                      "step_iri": "/api/3/workflow_steps/68de6e91-fc7c-58ba-9b67-a2d5f8b92716"
                    },
                    {
                      "option": "hard purge",
                      "step_iri": "/api/3/workflow_steps/845b9a7c-58cf-588a-82be-78f0a996f8b7"
                    },
                    {
                      "option": "export",
                      "step_iri": "/api/3/workflow_steps/a0681d04-4828-5c29-aef1-61258f227206"
                    },
                    {
                      "option": "no action",
                      "step_iri": "/api/3/workflow_steps/f657190b-47d0-52d2-9e39-898b0ed0fa66"
                    }
                  ],
                  "duplicateOption": false,
                  "customSuccessMessage": "Awaiting Playbook resumed successfully."
                },
                "email_notification": {
                  "enabled": false,
                  "smtpParameters": []
                },
                "external_channel_list": []
              },
              "status": null,
              "top": "3370",
              "left": "1220",
              "stepType": "/api/3/workflow_step_types/fc04082a-d7dc-4299-96fb-6837b1baa0fe",
              "group": null,
              "uuid": "fbcd4ddc-045b-5c5b-893f-693b6b3ffa60"
            },
            {
              "@type": "WorkflowStep",
              "name": "Soft Purge",
              "description": null,
              "arguments": {
                "connector": "microsoft-purview-ediscovery-v2",
                "operation": "purge_data",
                "config": "",
                "params": {
                  "case_id": "{{ vars.case_id }}",
                  "search_id": "{{ vars.search_id }}",
                  "purge_type": "recoverable",
                  "purge_areas": "mailboxes"
                },
                "version": "2.0.1",
                "name": "Microsoft Purview eDiscovery v2",
                "operationTitle": "Purge Data",
                "step_variables": [],
                "pickFromTenant": false
              },
              "status": null,
              "top": "3500",
              "left": "200",
              "stepType": "/api/3/workflow_step_types/0bfed618-0316-11e7-93ae-92361f002671",
              "group": null,
              "uuid": "68de6e91-fc7c-58ba-9b67-a2d5f8b92716"
            },
            {
              "@type": "WorkflowStep",
              "name": "Wait Soft Purge",
              "description": null,
              "arguments": {
                "connector": "microsoft-purview-ediscovery-v2",
                "operation": "wait_for_operation",
                "config": "",
                "params": {
                  "case_id": "{{ vars.case_id }}",
                  "operation_id": "{{ vars.steps.Soft_Purge.data.id }}",
                  "timeout_seconds": 240
                },
                "version": "2.0.1",
                "name": "Microsoft Purview eDiscovery v2",
                "operationTitle": "Wait For Operation",
                "step_variables": [],
                "pickFromTenant": false
              },
              "status": null,
              "top": "3630",
              "left": "200",
              "stepType": "/api/3/workflow_step_types/0bfed618-0316-11e7-93ae-92361f002671",
              "group": null,
              "uuid": "d123ed7f-18c1-53b9-a680-f97d5619eb79"
            },
            {
              "@type": "WorkflowStep",
              "name": "Mark Soft Purge",
              "description": null,
              "arguments": {
                "branch_outcome": "purged_recoverable",
                "action": "soft purge (recoverable items folder)",
                "operation_id": "{{ vars.steps.Soft_Purge.data.id }}",
                "export_files": "",
                "download_url": ""
              },
              "status": null,
              "top": "3760",
              "left": "200",
              "stepType": "/api/3/workflow_step_types/04d0cf46-b6a8-42c4-8683-60a7eaa69e8f",
              "group": null,
              "uuid": "3f663ea0-9409-55b7-81ae-29018a047110"
            },
            {
              "@type": "WorkflowStep",
              "name": "Hard Purge",
              "description": null,
              "arguments": {
                "connector": "microsoft-purview-ediscovery-v2",
                "operation": "purge_data",
                "config": "",
                "params": {
                  "case_id": "{{ vars.case_id }}",
                  "search_id": "{{ vars.search_id }}",
                  "purge_type": "permanentlyDelete",
                  "purge_areas": "mailboxes"
                },
                "version": "2.0.1",
                "name": "Microsoft Purview eDiscovery v2",
                "operationTitle": "Purge Data",
                "step_variables": [],
                "pickFromTenant": false
              },
              "status": null,
              "top": "3500",
              "left": "540",
              "stepType": "/api/3/workflow_step_types/0bfed618-0316-11e7-93ae-92361f002671",
              "group": null,
              "uuid": "845b9a7c-58cf-588a-82be-78f0a996f8b7"
            },
            {
              "@type": "WorkflowStep",
              "name": "Wait Hard Purge",
              "description": null,
              "arguments": {
                "connector": "microsoft-purview-ediscovery-v2",
                "operation": "wait_for_operation",
                "config": "",
                "params": {
                  "case_id": "{{ vars.case_id }}",
                  "operation_id": "{{ vars.steps.Hard_Purge.data.id }}",
                  "timeout_seconds": 240
                },
                "version": "2.0.1",
                "name": "Microsoft Purview eDiscovery v2",
                "operationTitle": "Wait For Operation",
                "step_variables": [],
                "pickFromTenant": false
              },
              "status": null,
              "top": "3630",
              "left": "540",
              "stepType": "/api/3/workflow_step_types/0bfed618-0316-11e7-93ae-92361f002671",
              "group": null,
              "uuid": "db7dccdd-6c77-56be-a824-1d95850e3467"
            },
            {
              "@type": "WorkflowStep",
              "name": "Mark Hard Purge",
              "description": null,
              "arguments": {
                "branch_outcome": "purged_permanent",
                "action": "hard purge (permanently deleted)",
                "operation_id": "{{ vars.steps.Hard_Purge.data.id }}",
                "export_files": "",
                "download_url": ""
              },
              "status": null,
              "top": "3760",
              "left": "540",
              "stepType": "/api/3/workflow_step_types/04d0cf46-b6a8-42c4-8683-60a7eaa69e8f",
              "group": null,
              "uuid": "5e386ea1-8fcd-5776-9eec-d196caeee8bd"
            },
            {
              "@type": "WorkflowStep",
              "name": "Residual Check",
              "description": null,
              "arguments": {
                "connector": "microsoft-purview-ediscovery-v2",
                "operation": "residual_copies",
                "config": "",
                "params": {
                  "case_id": "{{ vars.case_id }}",
                  "search_id": "{{ vars.search_id }}"
                },
                "version": "2.0.1",
                "name": "Microsoft Purview eDiscovery v2",
                "operationTitle": "Residual Copies",
                "step_variables": [],
                "pickFromTenant": false
              },
              "status": null,
              "top": "3890",
              "left": "200",
              "stepType": "/api/3/workflow_step_types/0bfed618-0316-11e7-93ae-92361f002671",
              "group": null,
              "uuid": "223f2fb7-8f12-5cf1-9d9b-68a67e192892"
            },
            {
              "@type": "WorkflowStep",
              "name": "Verify Residual",
              "description": null,
              "arguments": {
                "residual_copies": "{{ vars.steps.Residual_Check.data.residual_total | default(0, true) }}",
                "residual_custodians": "{{ (vars.steps.Residual_Check.data.custodians | default([], true)) | selectattr('residual_copies', 'gt', 0) | map(attribute='email') | join(', ') }}",
                "branch_outcome": "{{ 'purged_with_residual' if (vars.steps.Residual_Check.data.residual_total | default(0, true) | int) > 0 else vars.branch_outcome }}"
              },
              "status": null,
              "top": "4020",
              "left": "200",
              "stepType": "/api/3/workflow_step_types/04d0cf46-b6a8-42c4-8683-60a7eaa69e8f",
              "group": null,
              "uuid": "6db1bcf1-6fa3-576c-9811-4ee38bd4edd2"
            },
            {
              "@type": "WorkflowStep",
              "name": "Export Results",
              "description": null,
              "arguments": {
                "connector": "microsoft-purview-ediscovery-v2",
                "operation": "export_result",
                "config": "",
                "params": {
                  "case_id": "{{ vars.case_id }}",
                  "search_id": "{{ vars.search_id }}",
                  "display_name": "Export of {{ vars.search_display_name }}",
                  "description": "Export of the triage search results for case {{ vars.case_name }} (query: {{ vars.kql_query }}).",
                  "export_format": "pst",
                  "export_location": "responsiveLocations"
                },
                "version": "2.0.1",
                "name": "Microsoft Purview eDiscovery v2",
                "operationTitle": "Export Result",
                "step_variables": [],
                "pickFromTenant": false
              },
              "status": null,
              "top": "3500",
              "left": "880",
              "stepType": "/api/3/workflow_step_types/0bfed618-0316-11e7-93ae-92361f002671",
              "group": null,
              "uuid": "a0681d04-4828-5c29-aef1-61258f227206"
            },
            {
              "@type": "WorkflowStep",
              "name": "Wait For Export",
              "description": null,
              "arguments": {
                "connector": "microsoft-purview-ediscovery-v2",
                "operation": "wait_for_operation",
                "config": "",
                "params": {
                  "case_id": "{{ vars.case_id }}",
                  "operation_id": "{{ vars.steps.Export_Results.data.id }}",
                  "timeout_seconds": 240
                },
                "version": "2.0.1",
                "name": "Microsoft Purview eDiscovery v2",
                "operationTitle": "Wait For Operation",
                "step_variables": [],
                "pickFromTenant": false
              },
              "status": null,
              "top": "3630",
              "left": "880",
              "stepType": "/api/3/workflow_step_types/0bfed618-0316-11e7-93ae-92361f002671",
              "group": null,
              "uuid": "c15d6d67-6077-5e90-8138-a6365de94ad7"
            },
            {
              "@type": "WorkflowStep",
              "name": "Record Export",
              "description": null,
              "arguments": {
                "branch_outcome": "exported",
                "action": "export (PST, responsive locations)",
                "operation_id": "{{ vars.steps.Export_Results.data.id }}",
                "export_files": "{{ (vars.steps.Wait_For_Export.data.operation.exportFileMetadata | default([], true)) | map(attribute='fileName') | join(', ') }}",
                "download_url": "{{ ((vars.steps.Wait_For_Export.data.operation.exportFileMetadata | default([], true)) | first | default(none, true)).downloadUrl | default('', true) }}"
              },
              "status": null,
              "top": "3760",
              "left": "880",
              "stepType": "/api/3/workflow_step_types/04d0cf46-b6a8-42c4-8683-60a7eaa69e8f",
              "group": null,
              "uuid": "43139eed-1c2e-54be-ab09-5d46570a1b04"
            },
            {
              "@type": "WorkflowStep",
              "name": "No Action",
              "description": null,
              "arguments": {
                "branch_outcome": "no_action",
                "action": "none",
                "operation_id": "",
                "export_files": "",
                "download_url": ""
              },
              "status": null,
              "top": "3500",
              "left": "2240",
              "stepType": "/api/3/workflow_step_types/04d0cf46-b6a8-42c4-8683-60a7eaa69e8f",
              "group": null,
              "uuid": "f657190b-47d0-52d2-9e39-898b0ed0fa66"
            },
            {
              "@type": "WorkflowStep",
              "name": "Mark No Hits",
              "description": null,
              "arguments": {
                "branch_outcome": "no_hits",
                "action": "none",
                "operation_id": "",
                "export_files": "",
                "download_url": ""
              },
              "status": null,
              "top": "3240",
              "left": "880",
              "stepType": "/api/3/workflow_step_types/04d0cf46-b6a8-42c4-8683-60a7eaa69e8f",
              "group": null,
              "uuid": "adf195ec-6926-57fc-beac-401137786748"
            },
            {
              "@type": "WorkflowStep",
              "name": "No Hits Cleanup",
              "description": null,
              "arguments": {
                "when": "{{ vars.search_auto_created }}",
                "connector": "microsoft-purview-ediscovery-v2",
                "operation": "delete_search",
                "config": "",
                "params": {
                  "case_id": "{{ vars.case_id }}",
                  "search_id": "{{ vars.search_id }}"
                },
                "version": "2.0.1",
                "name": "Microsoft Purview eDiscovery v2",
                "operationTitle": "Delete Search",
                "step_variables": [],
                "pickFromTenant": false
              },
              "status": null,
              "top": "3370",
              "left": "880",
              "stepType": "/api/3/workflow_step_types/0bfed618-0316-11e7-93ae-92361f002671",
              "group": null,
              "uuid": "e7eef206-81a2-506d-877a-244d9863b84d"
            },
            {
              "@type": "WorkflowStep",
              "name": "Cleanup Search",
              "description": null,
              "arguments": {
                "when": "{{ vars.search_auto_created }}",
                "connector": "microsoft-purview-ediscovery-v2",
                "operation": "delete_search",
                "config": "",
                "params": {
                  "case_id": "{{ vars.case_id }}",
                  "search_id": "{{ vars.search_id }}"
                },
                "version": "2.0.1",
                "name": "Microsoft Purview eDiscovery v2",
                "operationTitle": "Delete Search",
                "step_variables": [],
                "pickFromTenant": false
              },
              "status": null,
              "top": "4150",
              "left": "2240",
              "stepType": "/api/3/workflow_step_types/0bfed618-0316-11e7-93ae-92361f002671",
              "group": null,
              "uuid": "9c7f9360-8848-59c6-b800-05e8a6018914"
            },
            {
              "@type": "WorkflowStep",
              "name": "Record Case File",
              "description": null,
              "arguments": {
                "when": "{{ vars.incident_id | default('', true) | length > 0 }}",
                "operation": "Append",
                "resource": {
                  "description": "eDiscovery triage complete: case \"{{ vars.case_name }}\" ({{ vars.case_id }}), search \"{{ vars.search_display_name }}\" ({{ vars.search_id }}) matched {{ vars.indexed_items }} indexed item(s) across {{ vars.mailbox_count }} mailbox(es), with {{ vars.unindexed_items }} unindexed item(s) not evaluated. Response: {{ vars.action }}."
                },
                "collectionType": "/api/3/incidents",
                "collection": "/api/3/incidents/{{ vars.incident_id }}"
              },
              "status": null,
              "top": "4280",
              "left": "880",
              "stepType": "/api/3/workflow_step_types/b593663d-7d13-40ce-a3a3-96dece928722",
              "group": null,
              "uuid": "6e539996-a0a1-5e15-8720-0cf292ccad0a"
            },
            {
              "@type": "WorkflowStep",
              "name": "Summarize Run",
              "description": null,
              "arguments": {
                "outcome": "{{ vars.branch_outcome }}",
                "case_id": "{{ vars.case_id }}",
                "case_auto_created": "{{ vars.case_auto_created }}",
                "search_id": "{{ vars.search_id }}",
                "search_auto_created": "{{ vars.search_auto_created }}",
                "action": "{{ vars.action }}",
                "indexed_items": "{{ vars.indexed_items }}",
                "unindexed_items": "{{ vars.unindexed_items }}",
                "total_items": "{{ vars.total_items }}",
                "mailboxes": "{{ vars.mailbox_count }}",
                "sites": "{{ vars.site_count }}",
                "operation_id": "{{ vars.operation_id }}",
                "export_files": "{{ vars.export_files }}",
                "download_url": "{{ vars.download_url }}"
              },
              "status": null,
              "top": "4410",
              "left": "880",
              "stepType": "/api/3/workflow_step_types/04d0cf46-b6a8-42c4-8683-60a7eaa69e8f",
              "group": null,
              "uuid": "a4e0f6bc-bb66-52d7-8c44-9f8193d2b0f3"
            }
          ],
          "routes": [
            {
              "@type": "WorkflowRoute",
              "name": "Start -> Resolve Inputs",
              "targetStep": "/api/3/workflow_steps/f4770e34-92a9-5a78-83ce-8ddf52431a13",
              "sourceStep": "/api/3/workflow_steps/47d82b84-0ef2-5a53-9d6a-65b6e2b5039a",
              "label": null,
              "isExecuted": false,
              "group": null,
              "uuid": "9e3d4e2c-63c9-57c5-a5f5-6f9fbfc7961f"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Resolve Inputs -> Stamp Search Name",
              "targetStep": "/api/3/workflow_steps/b0f7034a-a7f5-5a6e-9406-594624767030",
              "sourceStep": "/api/3/workflow_steps/f4770e34-92a9-5a78-83ce-8ddf52431a13",
              "label": null,
              "isExecuted": false,
              "group": null,
              "uuid": "2a77502d-3d68-52cc-beca-9255703d82b7"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Stamp Search Name -> List Cases",
              "targetStep": "/api/3/workflow_steps/8631d912-ec60-508d-b84c-5b1d58987bf1",
              "sourceStep": "/api/3/workflow_steps/b0f7034a-a7f5-5a6e-9406-594624767030",
              "label": null,
              "isExecuted": false,
              "group": null,
              "uuid": "ef666fa5-4b4e-5df0-bc34-df00a09a4f08"
            },
            {
              "@type": "WorkflowRoute",
              "name": "List Cases -> Find Case",
              "targetStep": "/api/3/workflow_steps/2080fdb8-3f33-5619-96b5-7816f041643b",
              "sourceStep": "/api/3/workflow_steps/8631d912-ec60-508d-b84c-5b1d58987bf1",
              "label": null,
              "isExecuted": false,
              "group": null,
              "uuid": "cd892099-e208-53f7-9198-b92c8e97ec06"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Find Case -> Case Exists",
              "targetStep": "/api/3/workflow_steps/b7dca9ec-7dc9-52cc-ae8c-1d67d0aa9379",
              "sourceStep": "/api/3/workflow_steps/2080fdb8-3f33-5619-96b5-7816f041643b",
              "label": null,
              "isExecuted": false,
              "group": null,
              "uuid": "7311863f-e198-5ce6-ac73-e5fa47b37435"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Case Exists -> Adopt Case",
              "targetStep": "/api/3/workflow_steps/56734510-ae03-5e46-ab17-ee2a63b80412",
              "sourceStep": "/api/3/workflow_steps/b7dca9ec-7dc9-52cc-ae8c-1d67d0aa9379",
              "label": "Case found",
              "isExecuted": false,
              "group": null,
              "uuid": "a3023039-cb7f-5159-b60e-9979d7c842c6"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Case Exists -> Create Case",
              "targetStep": "/api/3/workflow_steps/4ff212ce-513e-5ff5-8c96-845a7f1d7b8a",
              "sourceStep": "/api/3/workflow_steps/b7dca9ec-7dc9-52cc-ae8c-1d67d0aa9379",
              "label": "Create a new case",
              "isExecuted": false,
              "group": null,
              "uuid": "af76c45e-86d3-5f1b-a369-4e4b090788ac"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Adopt Case -> Add Custodians",
              "targetStep": "/api/3/workflow_steps/8a5bb391-469c-5932-a278-03860d659f9a",
              "sourceStep": "/api/3/workflow_steps/56734510-ae03-5e46-ab17-ee2a63b80412",
              "label": null,
              "isExecuted": false,
              "group": null,
              "uuid": "4a663493-486d-5f5c-917f-8165ccf7cfe4"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Create Case -> Case Created",
              "targetStep": "/api/3/workflow_steps/ab9de3ea-4d01-521d-8ea0-9159d338c63f",
              "sourceStep": "/api/3/workflow_steps/4ff212ce-513e-5ff5-8c96-845a7f1d7b8a",
              "label": null,
              "isExecuted": false,
              "group": null,
              "uuid": "f24cc4c8-b3d6-5cc2-97a3-28842b6a78ca"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Case Created -> Add Custodians",
              "targetStep": "/api/3/workflow_steps/8a5bb391-469c-5932-a278-03860d659f9a",
              "sourceStep": "/api/3/workflow_steps/ab9de3ea-4d01-521d-8ea0-9159d338c63f",
              "label": null,
              "isExecuted": false,
              "group": null,
              "uuid": "39ffec64-fa22-543f-b75c-798952d646d5"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Add Custodians -> Create Mailbox Sources",
              "targetStep": "/api/3/workflow_steps/44d0eaff-0ebf-5dc3-988c-2cd8ad7cb2b7",
              "sourceStep": "/api/3/workflow_steps/8a5bb391-469c-5932-a278-03860d659f9a",
              "label": null,
              "isExecuted": false,
              "group": null,
              "uuid": "53d861c9-f163-5663-b499-8a578b1756f1"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Create Mailbox Sources -> List Searches",
              "targetStep": "/api/3/workflow_steps/f3f77672-5484-5d95-b02e-991515cdeff1",
              "sourceStep": "/api/3/workflow_steps/44d0eaff-0ebf-5dc3-988c-2cd8ad7cb2b7",
              "label": null,
              "isExecuted": false,
              "group": null,
              "uuid": "1dbf3967-de55-53d3-bea7-07105e77ee0a"
            },
            {
              "@type": "WorkflowRoute",
              "name": "List Searches -> Find Search",
              "targetStep": "/api/3/workflow_steps/473b7196-5b00-5d64-b8f3-76e2ee918f38",
              "sourceStep": "/api/3/workflow_steps/f3f77672-5484-5d95-b02e-991515cdeff1",
              "label": null,
              "isExecuted": false,
              "group": null,
              "uuid": "73ce1046-e5e9-5c1f-b5a6-d8ba8434cdd8"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Find Search -> Search Exists",
              "targetStep": "/api/3/workflow_steps/6ded73f6-4687-52b7-a0f5-4fe095dc179a",
              "sourceStep": "/api/3/workflow_steps/473b7196-5b00-5d64-b8f3-76e2ee918f38",
              "label": null,
              "isExecuted": false,
              "group": null,
              "uuid": "c9310ca8-6a21-5e5c-ba83-95692c2bb8e1"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Search Exists -> Adopt Search",
              "targetStep": "/api/3/workflow_steps/0cfa6464-1185-5328-b7e7-9f27e1768f10",
              "sourceStep": "/api/3/workflow_steps/6ded73f6-4687-52b7-a0f5-4fe095dc179a",
              "label": "Search found",
              "isExecuted": false,
              "group": null,
              "uuid": "6f286a9f-591c-59b8-99c5-67f14321b54c"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Search Exists -> Create Search",
              "targetStep": "/api/3/workflow_steps/41344a49-4bf4-51b4-aa3e-6bb77a1812bf",
              "sourceStep": "/api/3/workflow_steps/6ded73f6-4687-52b7-a0f5-4fe095dc179a",
              "label": "Create a new search",
              "isExecuted": false,
              "group": null,
              "uuid": "378c44dc-f1e8-5860-b7cd-2dea0a052624"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Adopt Search -> Wait For Statistics",
              "targetStep": "/api/3/workflow_steps/83c5244c-cb43-509d-a663-53df5175bb92",
              "sourceStep": "/api/3/workflow_steps/0cfa6464-1185-5328-b7e7-9f27e1768f10",
              "label": null,
              "isExecuted": false,
              "group": null,
              "uuid": "2128f641-613f-57a5-9f50-e5ca0c3aa5b1"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Create Search -> Search Created",
              "targetStep": "/api/3/workflow_steps/f9aa4be7-3b9a-5ea1-bc36-d19a85b8ff0d",
              "sourceStep": "/api/3/workflow_steps/41344a49-4bf4-51b4-aa3e-6bb77a1812bf",
              "label": null,
              "isExecuted": false,
              "group": null,
              "uuid": "56deecc9-7701-5948-ab8b-575f357c3417"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Search Created -> Wait For Statistics",
              "targetStep": "/api/3/workflow_steps/83c5244c-cb43-509d-a663-53df5175bb92",
              "sourceStep": "/api/3/workflow_steps/f9aa4be7-3b9a-5ea1-bc36-d19a85b8ff0d",
              "label": null,
              "isExecuted": false,
              "group": null,
              "uuid": "cdc450dd-649f-5853-96db-1552d7ed45a1"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Wait For Statistics -> Statistics Summary",
              "targetStep": "/api/3/workflow_steps/19c80d4b-e49d-5c6f-8c37-6bb50aa08a04",
              "sourceStep": "/api/3/workflow_steps/83c5244c-cb43-509d-a663-53df5175bb92",
              "label": null,
              "isExecuted": false,
              "group": null,
              "uuid": "dda1b586-34a5-5089-8b36-005a1d89d9b5"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Statistics Summary -> Summarize Statistics",
              "targetStep": "/api/3/workflow_steps/d3b9d38b-9521-5af8-b587-8a345b3e8eb6",
              "sourceStep": "/api/3/workflow_steps/19c80d4b-e49d-5c6f-8c37-6bb50aa08a04",
              "label": null,
              "isExecuted": false,
              "group": null,
              "uuid": "14fea9b6-d1bf-5fac-a359-9f08ab4ac8df"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Summarize Statistics -> Hits Found",
              "targetStep": "/api/3/workflow_steps/c16f0edd-d680-5a8b-b3c4-f645a99470c3",
              "sourceStep": "/api/3/workflow_steps/d3b9d38b-9521-5af8-b587-8a345b3e8eb6",
              "label": null,
              "isExecuted": false,
              "group": null,
              "uuid": "c63f3f4d-a3ce-5057-8769-2c1ab9b0fddb"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Hits Found -> Response Mode",
              "targetStep": "/api/3/workflow_steps/90447880-fbdf-5533-8aad-8a975e190c5a",
              "sourceStep": "/api/3/workflow_steps/c16f0edd-d680-5a8b-b3c4-f645a99470c3",
              "label": "Hits found",
              "isExecuted": false,
              "group": null,
              "uuid": "50c19145-fd22-5e2a-97fd-f8d23a49f573"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Hits Found -> Recheck Index",
              "targetStep": "/api/3/workflow_steps/b900febb-95d6-51dd-bd3d-9c92ec17009d",
              "sourceStep": "/api/3/workflow_steps/c16f0edd-d680-5a8b-b3c4-f645a99470c3",
              "label": "Recheck the index once",
              "isExecuted": false,
              "group": null,
              "uuid": "c3935069-1b19-5e0c-b771-394d7f937c83"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Hits Found -> Mark No Hits",
              "targetStep": "/api/3/workflow_steps/adf195ec-6926-57fc-beac-401137786748",
              "sourceStep": "/api/3/workflow_steps/c16f0edd-d680-5a8b-b3c4-f645a99470c3",
              "label": "No hits",
              "isExecuted": false,
              "group": null,
              "uuid": "8cdf4367-5ef2-5fc7-83d6-7cbc599c3dbb"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Recheck Index -> Wait Recheck Index",
              "targetStep": "/api/3/workflow_steps/e09d21df-fdb8-5703-80ee-6a4a005e26de",
              "sourceStep": "/api/3/workflow_steps/b900febb-95d6-51dd-bd3d-9c92ec17009d",
              "label": null,
              "isExecuted": false,
              "group": null,
              "uuid": "c9bccc2d-96fb-5880-a6e5-bed1848c5d53"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Wait Recheck Index -> Recheck Summary",
              "targetStep": "/api/3/workflow_steps/819c9146-294c-5c33-9a08-d712c671b827",
              "sourceStep": "/api/3/workflow_steps/e09d21df-fdb8-5703-80ee-6a4a005e26de",
              "label": null,
              "isExecuted": false,
              "group": null,
              "uuid": "09093596-dada-53d5-a3cc-9b11787f2c1f"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Recheck Summary -> Summarize Recheck",
              "targetStep": "/api/3/workflow_steps/1997bb42-0e3f-594a-9e51-fa5dbbdf4dbf",
              "sourceStep": "/api/3/workflow_steps/819c9146-294c-5c33-9a08-d712c671b827",
              "label": null,
              "isExecuted": false,
              "group": null,
              "uuid": "28f263f9-0165-54db-8dd3-c35c4ac0e23e"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Summarize Recheck -> Hits After Recheck",
              "targetStep": "/api/3/workflow_steps/10fe7f8c-b2f0-5755-8097-2aed254ce7f4",
              "sourceStep": "/api/3/workflow_steps/1997bb42-0e3f-594a-9e51-fa5dbbdf4dbf",
              "label": null,
              "isExecuted": false,
              "group": null,
              "uuid": "8613919d-6ce7-52a1-90bd-2b25980a3247"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Hits After Recheck -> Response Mode",
              "targetStep": "/api/3/workflow_steps/90447880-fbdf-5533-8aad-8a975e190c5a",
              "sourceStep": "/api/3/workflow_steps/10fe7f8c-b2f0-5755-8097-2aed254ce7f4",
              "label": "Hits found after recheck",
              "isExecuted": false,
              "group": null,
              "uuid": "c4dd2da9-e757-52f8-bb27-08bccd93f0f5"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Hits After Recheck -> Mark No Hits",
              "targetStep": "/api/3/workflow_steps/adf195ec-6926-57fc-beac-401137786748",
              "sourceStep": "/api/3/workflow_steps/10fe7f8c-b2f0-5755-8097-2aed254ce7f4",
              "label": "No hits",
              "isExecuted": false,
              "group": null,
              "uuid": "130157bc-1754-5f0c-a5ca-6e745c60d50c"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Response Mode -> Soft Purge",
              "targetStep": "/api/3/workflow_steps/68de6e91-fc7c-58ba-9b67-a2d5f8b92716",
              "sourceStep": "/api/3/workflow_steps/90447880-fbdf-5533-8aad-8a975e190c5a",
              "label": "Preselected soft purge",
              "isExecuted": false,
              "group": null,
              "uuid": "2265be16-8234-5fa5-8b7a-d5a01cb5f9cd"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Response Mode -> Hard Purge",
              "targetStep": "/api/3/workflow_steps/845b9a7c-58cf-588a-82be-78f0a996f8b7",
              "sourceStep": "/api/3/workflow_steps/90447880-fbdf-5533-8aad-8a975e190c5a",
              "label": "Preselected hard purge",
              "isExecuted": false,
              "group": null,
              "uuid": "e5dae141-7eb5-5e0f-b411-6059ecd5e3b6"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Response Mode -> Export Results",
              "targetStep": "/api/3/workflow_steps/a0681d04-4828-5c29-aef1-61258f227206",
              "sourceStep": "/api/3/workflow_steps/90447880-fbdf-5533-8aad-8a975e190c5a",
              "label": "Preselected export",
              "isExecuted": false,
              "group": null,
              "uuid": "ca728b17-1b2a-5a4d-ac96-07c702efa8f0"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Response Mode -> Analyst Gate",
              "targetStep": "/api/3/workflow_steps/fbcd4ddc-045b-5c5b-893f-693b6b3ffa60",
              "sourceStep": "/api/3/workflow_steps/90447880-fbdf-5533-8aad-8a975e190c5a",
              "label": "Ask the analyst",
              "isExecuted": false,
              "group": null,
              "uuid": "74e6d8e2-6e64-5959-a238-862c1e44f5e5"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Analyst Gate -> Soft Purge",
              "targetStep": "/api/3/workflow_steps/68de6e91-fc7c-58ba-9b67-a2d5f8b92716",
              "sourceStep": "/api/3/workflow_steps/fbcd4ddc-045b-5c5b-893f-693b6b3ffa60",
              "label": "soft purge",
              "isExecuted": false,
              "group": null,
              "uuid": "2301092f-8bec-5366-b680-1c63bcbef38a"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Analyst Gate -> Hard Purge",
              "targetStep": "/api/3/workflow_steps/845b9a7c-58cf-588a-82be-78f0a996f8b7",
              "sourceStep": "/api/3/workflow_steps/fbcd4ddc-045b-5c5b-893f-693b6b3ffa60",
              "label": "hard purge",
              "isExecuted": false,
              "group": null,
              "uuid": "e9f04f17-098d-53ba-b291-014145ef447e"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Analyst Gate -> Export Results",
              "targetStep": "/api/3/workflow_steps/a0681d04-4828-5c29-aef1-61258f227206",
              "sourceStep": "/api/3/workflow_steps/fbcd4ddc-045b-5c5b-893f-693b6b3ffa60",
              "label": "export",
              "isExecuted": false,
              "group": null,
              "uuid": "d90d6eb7-6047-5481-bec1-3b04d71efd6e"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Analyst Gate -> No Action",
              "targetStep": "/api/3/workflow_steps/f657190b-47d0-52d2-9e39-898b0ed0fa66",
              "sourceStep": "/api/3/workflow_steps/fbcd4ddc-045b-5c5b-893f-693b6b3ffa60",
              "label": "no action",
              "isExecuted": false,
              "group": null,
              "uuid": "50314896-2866-59f2-a4a4-a119a0f1a706"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Soft Purge -> Wait Soft Purge",
              "targetStep": "/api/3/workflow_steps/d123ed7f-18c1-53b9-a680-f97d5619eb79",
              "sourceStep": "/api/3/workflow_steps/68de6e91-fc7c-58ba-9b67-a2d5f8b92716",
              "label": null,
              "isExecuted": false,
              "group": null,
              "uuid": "c85060c8-dd57-5e58-b128-3015b8ea4124"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Wait Soft Purge -> Mark Soft Purge",
              "targetStep": "/api/3/workflow_steps/3f663ea0-9409-55b7-81ae-29018a047110",
              "sourceStep": "/api/3/workflow_steps/d123ed7f-18c1-53b9-a680-f97d5619eb79",
              "label": null,
              "isExecuted": false,
              "group": null,
              "uuid": "42794b5b-d5d8-5c84-9edf-a0baf180a9ec"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Mark Soft Purge -> Residual Check",
              "targetStep": "/api/3/workflow_steps/223f2fb7-8f12-5cf1-9d9b-68a67e192892",
              "sourceStep": "/api/3/workflow_steps/3f663ea0-9409-55b7-81ae-29018a047110",
              "label": null,
              "isExecuted": false,
              "group": null,
              "uuid": "89143b3c-fc9f-51dd-8f89-51221e5cc779"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Hard Purge -> Wait Hard Purge",
              "targetStep": "/api/3/workflow_steps/db7dccdd-6c77-56be-a824-1d95850e3467",
              "sourceStep": "/api/3/workflow_steps/845b9a7c-58cf-588a-82be-78f0a996f8b7",
              "label": null,
              "isExecuted": false,
              "group": null,
              "uuid": "1f83c836-fa22-5395-ba25-45e6d8be5b11"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Wait Hard Purge -> Mark Hard Purge",
              "targetStep": "/api/3/workflow_steps/5e386ea1-8fcd-5776-9eec-d196caeee8bd",
              "sourceStep": "/api/3/workflow_steps/db7dccdd-6c77-56be-a824-1d95850e3467",
              "label": null,
              "isExecuted": false,
              "group": null,
              "uuid": "a3b78bc8-f7ec-583c-bd71-462ea4284ded"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Mark Hard Purge -> Residual Check",
              "targetStep": "/api/3/workflow_steps/223f2fb7-8f12-5cf1-9d9b-68a67e192892",
              "sourceStep": "/api/3/workflow_steps/5e386ea1-8fcd-5776-9eec-d196caeee8bd",
              "label": null,
              "isExecuted": false,
              "group": null,
              "uuid": "430049d9-6449-5003-93d8-4739cea2f125"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Residual Check -> Verify Residual",
              "targetStep": "/api/3/workflow_steps/6db1bcf1-6fa3-576c-9811-4ee38bd4edd2",
              "sourceStep": "/api/3/workflow_steps/223f2fb7-8f12-5cf1-9d9b-68a67e192892",
              "label": null,
              "isExecuted": false,
              "group": null,
              "uuid": "c696972a-7b62-5e27-bd4d-45728d860613"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Verify Residual -> Cleanup Search",
              "targetStep": "/api/3/workflow_steps/9c7f9360-8848-59c6-b800-05e8a6018914",
              "sourceStep": "/api/3/workflow_steps/6db1bcf1-6fa3-576c-9811-4ee38bd4edd2",
              "label": null,
              "isExecuted": false,
              "group": null,
              "uuid": "6789b97e-0603-545b-9fc0-e2744f0d0c37"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Export Results -> Wait For Export",
              "targetStep": "/api/3/workflow_steps/c15d6d67-6077-5e90-8138-a6365de94ad7",
              "sourceStep": "/api/3/workflow_steps/a0681d04-4828-5c29-aef1-61258f227206",
              "label": null,
              "isExecuted": false,
              "group": null,
              "uuid": "2f2bf493-48e0-5de9-8bbc-6b076ba4bf24"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Wait For Export -> Record Export",
              "targetStep": "/api/3/workflow_steps/43139eed-1c2e-54be-ab09-5d46570a1b04",
              "sourceStep": "/api/3/workflow_steps/c15d6d67-6077-5e90-8138-a6365de94ad7",
              "label": null,
              "isExecuted": false,
              "group": null,
              "uuid": "2789eea9-7c7e-5b4c-8926-b295cd75754d"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Record Export -> Cleanup Search",
              "targetStep": "/api/3/workflow_steps/9c7f9360-8848-59c6-b800-05e8a6018914",
              "sourceStep": "/api/3/workflow_steps/43139eed-1c2e-54be-ab09-5d46570a1b04",
              "label": null,
              "isExecuted": false,
              "group": null,
              "uuid": "7c5bf590-6a34-56f4-a8ff-0b4e9d727a1d"
            },
            {
              "@type": "WorkflowRoute",
              "name": "No Action -> Cleanup Search",
              "targetStep": "/api/3/workflow_steps/9c7f9360-8848-59c6-b800-05e8a6018914",
              "sourceStep": "/api/3/workflow_steps/f657190b-47d0-52d2-9e39-898b0ed0fa66",
              "label": null,
              "isExecuted": false,
              "group": null,
              "uuid": "a8feeaa8-7a14-594d-85bf-f354f4835df5"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Mark No Hits -> No Hits Cleanup",
              "targetStep": "/api/3/workflow_steps/e7eef206-81a2-506d-877a-244d9863b84d",
              "sourceStep": "/api/3/workflow_steps/adf195ec-6926-57fc-beac-401137786748",
              "label": null,
              "isExecuted": false,
              "group": null,
              "uuid": "349f90f1-86f8-505a-8a3a-5e0fe86e041c"
            },
            {
              "@type": "WorkflowRoute",
              "name": "No Hits Cleanup -> Record Case File",
              "targetStep": "/api/3/workflow_steps/6e539996-a0a1-5e15-8720-0cf292ccad0a",
              "sourceStep": "/api/3/workflow_steps/e7eef206-81a2-506d-877a-244d9863b84d",
              "label": null,
              "isExecuted": false,
              "group": null,
              "uuid": "e9108338-f31a-5192-96ae-51bb000c5482"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Cleanup Search -> Record Case File",
              "targetStep": "/api/3/workflow_steps/6e539996-a0a1-5e15-8720-0cf292ccad0a",
              "sourceStep": "/api/3/workflow_steps/9c7f9360-8848-59c6-b800-05e8a6018914",
              "label": null,
              "isExecuted": false,
              "group": null,
              "uuid": "05cca51c-cd0f-52bc-893c-3a08c21bf5b7"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Record Case File -> Summarize Run",
              "targetStep": "/api/3/workflow_steps/a4e0f6bc-bb66-52d7-8c44-9f8193d2b0f3",
              "sourceStep": "/api/3/workflow_steps/6e539996-a0a1-5e15-8720-0cf292ccad0a",
              "label": null,
              "isExecuted": false,
              "group": null,
              "uuid": "68efbb0a-e1b7-518c-93d1-b7835a623c9b"
            }
          ],
          "groups": [
            {
              "@type": "WorkflowGroup",
              "name": "Note: List Cases",
              "description": "Every case, all pages. The match below is by exact display name, so the list has to be complete for the find-or-create to be safe.",
              "type": "note",
              "isCollapsed": false,
              "hasTriggerStep": false,
              "hideInLogs": true,
              "metadata": [],
              "reusable": false,
              "top": "510",
              "left": "540",
              "height": "116",
              "width": "440",
              "uuid": "a85b5a59-e36c-52fc-a7f2-7f77916d0cba",
              "recordTags": []
            },
            {
              "@type": "WorkflowGroup",
              "name": "Note: Find Case",
              "description": "Bracket access for the items key: a bare .items resolves to the dict method of the same name and the render dies on it.",
              "type": "note",
              "isCollapsed": false,
              "hasTriggerStep": false,
              "hideInLogs": true,
              "metadata": [],
              "reusable": false,
              "top": "646",
              "left": "540",
              "height": "116",
              "width": "440",
              "uuid": "a2f0e04c-6d43-576f-b683-7f7c795ac77c",
              "recordTags": []
            },
            {
              "@type": "WorkflowGroup",
              "name": "Note: Adopt Case",
              "description": "The case already exists; this run must not close or delete it, only work inside it. case_auto_created stays false so the close-out can say the case was reused.",
              "type": "note",
              "isCollapsed": false,
              "hasTriggerStep": false,
              "hideInLogs": true,
              "metadata": [],
              "reusable": false,
              "top": "900",
              "left": "880",
              "height": "116",
              "width": "440",
              "uuid": "356ffa51-29de-5bba-8d3c-8012b2ded3ed",
              "recordTags": []
            },
            {
              "@type": "WorkflowGroup",
              "name": "Note: Add Custodians",
              "description": "A custodian UPN is their SMTP address in the common case; for tenants where the UPN differs from the mailbox address, pass the SMTP addresses. apply_hold_to_sources starts the legal hold with the creation, which is what a phishing triage wants - the evidence must not be auto-deleted by retention while the search runs.",
              "type": "note",
              "isCollapsed": false,
              "hasTriggerStep": false,
              "hideInLogs": true,
              "metadata": [],
              "reusable": false,
              "top": "1160",
              "left": "540",
              "height": "182",
              "width": "440",
              "uuid": "b67765c9-1c14-5d5b-b401-78283eca617f",
              "recordTags": []
            },
            {
              "@type": "WorkflowGroup",
              "name": "Note: Find Search",
              "description": "Bracket access for the items key: a bare .items resolves to the dict method of the same name and the render dies on it.",
              "type": "note",
              "isCollapsed": false,
              "hasTriggerStep": false,
              "hideInLogs": true,
              "metadata": [],
              "reusable": false,
              "top": "1550",
              "left": "540",
              "height": "116",
              "width": "440",
              "uuid": "497b35b7-caef-5ce0-8b90-7d3637654834",
              "recordTags": []
            },
            {
              "@type": "WorkflowGroup",
              "name": "Note: Adopt Search",
              "description": "A search with this exact name already exists in the case - reuse it and its query as-is. search_auto_created stays false, which is what keeps the cleanup step from deleting it at the end of the run.",
              "type": "note",
              "isCollapsed": false,
              "hasTriggerStep": false,
              "hideInLogs": true,
              "metadata": [],
              "reusable": false,
              "top": "1810",
              "left": "880",
              "height": "138",
              "width": "440",
              "uuid": "f8b7cb93-fb2d-5cc9-95fd-56271c885046",
              "recordTags": []
            },
            {
              "@type": "WorkflowGroup",
              "name": "Note: Create Search",
              "description": "dataSourceScopes none: the search must look at EXACTLY the custodian sources bound below, not all case custodians or the whole tenant. The connector expands each custodian id to that custodian's existing userSources and siteSources and binds them through custodianSources@odata.bind.",
              "type": "note",
              "isCollapsed": false,
              "hasTriggerStep": false,
              "hideInLogs": true,
              "metadata": [],
              "reusable": false,
              "top": "1968",
              "left": "880",
              "height": "160",
              "width": "440",
              "uuid": "5b06150b-e774-53ed-ac17-ee3afda73d54",
              "recordTags": []
            },
            {
              "@type": "WorkflowGroup",
              "name": "Note: Summarize Statistics",
              "description": "Unindexed items are reported but not counted as hits: Purview cannot evaluate them against the query, so an estimate with zero indexed matches is a no-hits result even when unindexed items exist.",
              "type": "note",
              "isCollapsed": false,
              "hasTriggerStep": false,
              "hideInLogs": true,
              "metadata": [],
              "reusable": false,
              "top": "2330",
              "left": "880",
              "height": "138",
              "width": "440",
              "uuid": "de2daaff-a0c2-591c-ad6c-a3934de2ae12",
              "recordTags": []
            },
            {
              "@type": "WorkflowGroup",
              "name": "Note: Verify Residual",
              "description": "Any copy the search still finds in a custodian's mail folders after the purge makes the outcome purged_with_residual; the list names the custodians that still hold one.",
              "type": "note",
              "isCollapsed": false,
              "hasTriggerStep": false,
              "hideInLogs": true,
              "metadata": [],
              "reusable": false,
              "top": "4020",
              "left": "2580",
              "height": "116",
              "width": "440",
              "uuid": "8e2d3f3d-41e6-59a3-8969-55fa16417e8c",
              "recordTags": []
            },
            {
              "@type": "WorkflowGroup",
              "name": "Note: No Action",
              "description": "The analyst chose to change nothing: the case and the search stay available for review in the Purview portal, and only a search this run created is removed again.",
              "type": "note",
              "isCollapsed": false,
              "hasTriggerStep": false,
              "hideInLogs": true,
              "metadata": [],
              "reusable": false,
              "top": "3500",
              "left": "2580",
              "height": "116",
              "width": "440",
              "uuid": "f8d3680c-87cb-55d6-9c38-1e0c704c0030",
              "recordTags": []
            },
            {
              "@type": "WorkflowGroup",
              "name": "Note: Mark No Hits",
              "description": "The estimate is done and it matched nothing: no card is sent, nothing is purged or exported. The zero-hit answer is itself the triage result - it usually means the campaign text never reached these mailboxes. Reaching this step means zero INDEXED matches; the unindexed count is kept as the estimate reported it, so the close-out shows what the index could not evaluate.",
              "type": "note",
              "isCollapsed": false,
              "hasTriggerStep": false,
              "hideInLogs": true,
              "metadata": [],
              "reusable": false,
              "top": "3240",
              "left": "2580",
              "height": "204",
              "width": "440",
              "uuid": "f39c55f9-1ac0-5234-aa52-d945abea9e15",
              "recordTags": []
            }
          ],
          "priority": "/api/3/picklists/9e8d41e4-8ada-4a2c-bd02-07f62c6d0a00",
          "isEditable": true,
          "uuid": "5fac67af-8a1f-5d61-a361-8e69c58896f8",
          "isPrivate": false
        }
      ]
    }
  ]
}
