{
  "elementsLearnedData": [],
  "elementsTestData": [],
  "flow": {
    "id": "374449AD-6DC2-4038-9109-EA5293A1ABAA",
    "name": "Cloudbrowser: finished tasks retire their browsers"
  },
  "flowVersion": {
    "clientMetadata": {
      "viewport": {
        "x": -62.80373831775701,
        "y": 2.6168224299065415,
        "zoom": 0.93
      },
      "autoSave": false,
      "descriptions": {
        "flow": "When a task in the Airtable Tasks table is set to Done, pauses the task's Cloudbrowser browser, lists its links and asks the task owner in Slack whether to delete the browser or keep it paused. On delete, deletes the browser and its profile. Either way the outcome is written back to the task.",
        "initialData": "",
        "initialDataFields": {}
      }
    },
    "description": "When a task in the Airtable Tasks table is set to Done, pauses the task's Cloudbrowser browser, lists its links and asks the task owner in Slack whether to delete the browser or keep it paused. On delete, deletes the browser and its profile. Either way the outcome is written back to the task.",
    "elements": [
      {
        "clientMetadata": {
          "notes": "Permanently deletes a browser and its saved profile, revoking all its links and closing its connections. This cannot be undone. Cloudbrowser refuses it while forks of this browser are being made. Needs rest:manage (and rest:read to wait).",
          "elementId": "EXTENSION:::SHARED:::default:::cloudbrowser:::deleteBrowser",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Delete the browser Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::cloudbrowser:::deleteBrowser",
          "legacyElementId": null,
          "methodName": "deleteBrowser",
          "position": {
            "x": 1271,
            "y": 510
          }
        },
        "flowElementId": "6167F101-2EF8-40E0-B509-FD513D019E92",
        "groupId": null,
        "id": "95471EF9-8158-4CCD-A268-841909B7475D",
        "metaInfo": {
          "bodyParams": [
            {
              "name": "browserId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Task details",
                    "subPathSegments": [
                      {
                        "key": "browserId",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "8B3FF5E9-33A4-41EF-A492-DC3D60DF6098"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "waitUntilFinished",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "K_TRUE",
                    "label": null,
                    "type": "KEYWORD",
                    "value": true
                  }
                ],
                "mode": "BASIC",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "waitTimeout",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "NUMBER",
                    "label": null,
                    "type": "INPUT",
                    "value": 300
                  }
                ],
                "mode": "BASIC",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "connectionId": null,
          "enabled": true,
          "hostType": "SHARED",
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "methodName": "deleteBrowser",
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Deletion",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "cloudbrowser",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Delete the browser",
        "nextElementIds": [
          "15D56C7A-9FC8-4287-B099-C7AA9585DBD4"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "elementId": "condition",
          "isFirstElement": false,
          "blockDefinitionId": "condition",
          "position": {
            "x": 843,
            "y": 49
          }
        },
        "flowElementId": "A79BA193-B9FF-4381-B531-9A6D1D91E2B6",
        "groupId": null,
        "id": "7DCB4E84-2986-40D0-8F9D-64B091F17C63",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "condition": {
            "conditionParts": [
              {
                "id": "d91e87fa-d010-4278-a97d-9cdedb067a86",
                "nestedOperation": null,
                "operation": "isTrue",
                "property": {
                  "expression": [
                    {
                      "id": "ELEMENT_RESULT",
                      "label": "Task details",
                      "subPathSegments": [
                        {
                          "key": "retire",
                          "optional": false
                        }
                      ],
                      "type": "ELEMENT_LINK",
                      "value": "8B3FF5E9-33A4-41EF-A492-DC3D60DF6098"
                    }
                  ],
                  "mode": "EXPRESSION",
                  "parseJsonString": false,
                  "resultType": null
                },
                "propertyType": "BOOLEAN",
                "values": []
              }
            ],
            "grouping": [
              "d91e87fa-d010-4278-a97d-9cdedb067a86"
            ]
          },
          "elseComponent": null,
          "logging": null,
          "onFailElemId": null,
          "resultAlias": "Retire",
          "storeResult": false,
          "thenComponent": {
            "componentId": "71FC6A4F-E1C9-4756-BA9E-AA9E81D3DE1F",
            "componentType": "ELEMENT"
          }
        },
        "name": "Done, with a browser to retire?",
        "nextElementIds": [
          "71FC6A4F-E1C9-4756-BA9E-AA9E81D3DE1F"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "preferredDateFormats": []
        },
        "type": "CONDITION"
      },
      {
        "clientMetadata": {
          "notes": "Gets one browser: its status, open tab count, pause reason, auto-pause setting and network state. Needs rest:read.",
          "elementId": "EXTENSION:::SHARED:::default:::cloudbrowser:::getBrowser",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Check the browser Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::cloudbrowser:::getBrowser",
          "legacyElementId": null,
          "methodName": "getBrowser",
          "position": {
            "x": 1271,
            "y": 40
          }
        },
        "flowElementId": "12B510A1-4481-4C46-B386-E3A0C8036EA0",
        "groupId": null,
        "id": "71FC6A4F-E1C9-4756-BA9E-AA9E81D3DE1F",
        "metaInfo": {
          "bodyParams": [
            {
              "name": "browserId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Task details",
                    "subPathSegments": [
                      {
                        "key": "browserId",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "8B3FF5E9-33A4-41EF-A492-DC3D60DF6098"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "connectionId": null,
          "enabled": true,
          "hostType": "SHARED",
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "methodName": "getBrowser",
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Browser",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "cloudbrowser",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Check the browser",
        "nextElementIds": [
          "1CF7EB6B-EFE3-46C4-9AF9-91B8B5628D56"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "elementId": "external-callback",
          "isFirstElement": false,
          "blockDefinitionId": "external-callback",
          "position": {
            "x": 491,
            "y": 519
          }
        },
        "flowElementId": "E493F4CC-79FE-4C1B-8AAC-59921946ADAE",
        "groupId": null,
        "id": "5141BA63-0BE5-4789-9148-AC2A9E613F17",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "condition": null,
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": null
          },
          "onFailElemId": null,
          "resultAlias": "Owner decision",
          "slaConditions": [],
          "storeResult": true,
          "type": "CALLBACK"
        },
        "name": "Wait for the owner's answer",
        "nextElementIds": [
          "8D0A243C-A703-43B8-BD29-D263E444461D"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "TRIGGER"
      },
      {
        "clientMetadata": {
          "elementId": "condition",
          "isFirstElement": false,
          "blockDefinitionId": "condition",
          "position": {
            "x": 1271,
            "y": 219
          }
        },
        "flowElementId": "ACC9CE15-7751-4CFA-A05D-B31274406555",
        "groupId": null,
        "id": "1CF7EB6B-EFE3-46C4-9AF9-91B8B5628D56",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "condition": {
            "conditionParts": [
              {
                "id": "65d26da8-b407-49d4-86f0-cd3be2e03b0c",
                "nestedOperation": null,
                "operation": "equal",
                "property": {
                  "expression": [
                    {
                      "id": "ELEMENT_RESULT",
                      "label": "Browser",
                      "subPathSegments": [
                        {
                          "key": "status",
                          "optional": false
                        }
                      ],
                      "type": "ELEMENT_LINK",
                      "value": "71FC6A4F-E1C9-4756-BA9E-AA9E81D3DE1F"
                    }
                  ],
                  "mode": "EXPRESSION",
                  "parseJsonString": false,
                  "resultType": null
                },
                "propertyType": "STRING",
                "values": [
                  {
                    "expression": [
                      {
                        "id": "TEXT",
                        "label": null,
                        "type": "INPUT",
                        "value": "running"
                      }
                    ],
                    "mode": "EXPRESSION",
                    "parseJsonString": false,
                    "resultType": null
                  }
                ]
              }
            ],
            "grouping": [
              "65d26da8-b407-49d4-86f0-cd3be2e03b0c"
            ]
          },
          "elseComponent": {
            "componentId": "B9EC50FD-3E32-419A-8FE4-74AD55A63860",
            "componentType": "ELEMENT"
          },
          "logging": null,
          "onFailElemId": null,
          "resultAlias": "Still running",
          "storeResult": false,
          "thenComponent": {
            "componentId": "88458CBE-F144-4303-B7F8-1449230A9933",
            "componentType": "ELEMENT"
          }
        },
        "name": "Still running?",
        "nextElementIds": [
          "88458CBE-F144-4303-B7F8-1449230A9933",
          "B9EC50FD-3E32-419A-8FE4-74AD55A63860"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "preferredDateFormats": []
        },
        "type": "CONDITION"
      },
      {
        "clientMetadata": {
          "elementId": "condition",
          "isFirstElement": false,
          "blockDefinitionId": "condition",
          "position": {
            "x": 878,
            "y": 519
          }
        },
        "flowElementId": "D88137BF-AECB-4771-BB02-0C3DB48C9C45",
        "groupId": null,
        "id": "8D0A243C-A703-43B8-BD29-D263E444461D",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "condition": {
            "conditionParts": [
              {
                "id": "71566d4a-dddf-4d03-b075-f6ba4bebc3d2",
                "nestedOperation": null,
                "operation": "equal",
                "property": {
                  "expression": [
                    {
                      "id": "RESULT",
                      "label": "Owner decision",
                      "subPathSegments": [
                        {
                          "key": "decision",
                          "optional": false
                        }
                      ],
                      "type": "TRIGGER_DATA",
                      "value": "5141BA63-0BE5-4789-9148-AC2A9E613F17"
                    }
                  ],
                  "mode": "EXPRESSION",
                  "parseJsonString": false,
                  "resultType": null
                },
                "propertyType": "STRING",
                "values": [
                  {
                    "expression": [
                      {
                        "id": "TEXT",
                        "label": null,
                        "type": "INPUT",
                        "value": "delete"
                      }
                    ],
                    "mode": "EXPRESSION",
                    "parseJsonString": false,
                    "resultType": null
                  }
                ]
              }
            ],
            "grouping": [
              "71566d4a-dddf-4d03-b075-f6ba4bebc3d2"
            ]
          },
          "elseComponent": {
            "componentId": "FAB20BD5-FACF-464F-A023-E428C075BE67",
            "componentType": "ELEMENT"
          },
          "logging": null,
          "onFailElemId": null,
          "resultAlias": "Delete it",
          "storeResult": false,
          "thenComponent": {
            "componentId": "95471EF9-8158-4CCD-A268-841909B7475D",
            "componentType": "ELEMENT"
          }
        },
        "name": "Delete it?",
        "nextElementIds": [
          "95471EF9-8158-4CCD-A268-841909B7475D",
          "FAB20BD5-FACF-464F-A023-E428C075BE67"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "preferredDateFormats": []
        },
        "type": "CONDITION"
      },
      {
        "clientMetadata": {
          "notes": "Updates specific fields in an existing Airtable record while preserving other field values. Perfect for AI agents to modify data based on processed information or user interactions.",
          "elementId": "EXTENSION:::SHARED:::default:::airtable:::updateRecord",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Mark the browser paused on the task Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::airtable:::updateRecord",
          "legacyElementId": "JS###v1###Airtable###updateRecord",
          "methodName": "updateRecord",
          "position": {
            "x": 1214,
            "y": 380
          }
        },
        "flowElementId": "90BCEF66-5B0A-4920-B586-123DF02FC3F8",
        "groupId": null,
        "id": "FAB20BD5-FACF-464F-A023-E428C075BE67",
        "metaInfo": {
          "bodyParams": [
            {
              "name": "baseId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "PLACEHOLDER_DATA",
                    "label": "Airtable base ID",
                    "subPathSegments": null,
                    "type": "EXECUTION_CONTEXT_STATIC_DATA",
                    "value": "Airtable base ID"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "tableIdOrName",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": "Tasks"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "recordId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "RESULT",
                    "label": "Task",
                    "subPathSegments": [
                      {
                        "key": "id",
                        "optional": false
                      }
                    ],
                    "type": "TRIGGER_DATA",
                    "value": "E490B7EC-7F18-4369-A0BE-F7DD0BDAA7D6"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "fields",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "JSON",
                    "label": null,
                    "parsedValue": {
                      "Browser status": "Paused"
                    },
                    "type": "INPUT",
                    "value": "{\"Browser status\": \"Paused\"}"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "typecast",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "K_FALSE",
                    "label": null,
                    "type": "KEYWORD",
                    "value": false
                  }
                ],
                "mode": "BASIC",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "clientValidationState": {
            "errorMessage": "Block: 'Mark the browser paused on the task', Error: The placeholder \"Airtable base ID\" has no value",
            "valid": false
          },
          "connectionId": null,
          "enabled": true,
          "hostType": "SHARED",
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "methodName": "updateRecord",
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Task marked paused",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "airtable",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Mark the browser paused on the task",
        "nextElementIds": [],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "notes": "Pauses a browser: Chrome closes gracefully and its saved profile (cookies, local storage) is kept, while live page memory is not. Active connections drop; CDP and Live View links stay valid for after resume. Needs rest:manage (and rest:read to wait).",
          "elementId": "EXTENSION:::SHARED:::default:::cloudbrowser:::pauseBrowser",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Pause the browser Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::cloudbrowser:::pauseBrowser",
          "legacyElementId": null,
          "methodName": "pauseBrowser",
          "position": {
            "x": 878,
            "y": 210
          }
        },
        "flowElementId": "25EB6781-E88F-45E0-9E3B-EB2239448534",
        "groupId": null,
        "id": "88458CBE-F144-4303-B7F8-1449230A9933",
        "metaInfo": {
          "bodyParams": [
            {
              "name": "browserId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Task details",
                    "subPathSegments": [
                      {
                        "key": "browserId",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "8B3FF5E9-33A4-41EF-A492-DC3D60DF6098"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "waitUntilFinished",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "K_TRUE",
                    "label": null,
                    "type": "KEYWORD",
                    "value": true
                  }
                ],
                "mode": "BASIC",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "waitTimeout",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "NUMBER",
                    "label": null,
                    "type": "INPUT",
                    "value": 300
                  }
                ],
                "mode": "BASIC",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "connectionId": null,
          "enabled": true,
          "hostType": "SHARED",
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "methodName": "pauseBrowser",
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Pause",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "cloudbrowser",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Pause the browser",
        "nextElementIds": [
          "B9EC50FD-3E32-419A-8FE4-74AD55A63860"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "notes": "Updates specific fields in an existing Airtable record while preserving other field values. Perfect for AI agents to modify data based on processed information or user interactions.",
          "elementId": "EXTENSION:::SHARED:::default:::airtable:::updateRecord",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Mark the browser deleted on the task Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::airtable:::updateRecord",
          "legacyElementId": "JS###v1###Airtable###updateRecord",
          "methodName": "updateRecord",
          "position": {
            "x": 1213,
            "y": 680
          }
        },
        "flowElementId": "ED1A2391-E7A1-44EC-9543-7F3AA3C757CD",
        "groupId": null,
        "id": "15D56C7A-9FC8-4287-B099-C7AA9585DBD4",
        "metaInfo": {
          "bodyParams": [
            {
              "name": "baseId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "PLACEHOLDER_DATA",
                    "label": "Airtable base ID",
                    "subPathSegments": null,
                    "type": "EXECUTION_CONTEXT_STATIC_DATA",
                    "value": "Airtable base ID"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "tableIdOrName",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": "Tasks"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "recordId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "RESULT",
                    "label": "Task",
                    "subPathSegments": [
                      {
                        "key": "id",
                        "optional": false
                      }
                    ],
                    "type": "TRIGGER_DATA",
                    "value": "E490B7EC-7F18-4369-A0BE-F7DD0BDAA7D6"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "fields",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "JSON",
                    "label": null,
                    "parsedValue": {
                      "Browser status": "Deleted"
                    },
                    "type": "INPUT",
                    "value": "{\"Browser status\": \"Deleted\"}"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "typecast",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "K_FALSE",
                    "label": null,
                    "type": "KEYWORD",
                    "value": false
                  }
                ],
                "mode": "BASIC",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "clientValidationState": {
            "errorMessage": "Block: 'Mark the browser deleted on the task', Error: The placeholder \"Airtable base ID\" has no value",
            "valid": false
          },
          "connectionId": null,
          "enabled": true,
          "hostType": "SHARED",
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "methodName": "updateRecord",
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Task marked deleted",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "airtable",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Mark the browser deleted on the task",
        "nextElementIds": [],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "notes": "Continuously monitors an Airtable table for new or updated records using configurable polling intervals. Perfect for AI agents that need real-time data synchronization and automated responses to data changes. Each poll reads the table newest change first and keeps reading pages of 100 while they still hold changes, up to 1,000 records per poll. Polling interval can be customized (minimum 30 seconds).",
          "elementId": "EXTENSION:::SHARED:::default:::airtable:::onNewOrUpdatedRecord",
          "isFirstElement": true,
          "blockDefinitionId": "EXTENSION:::SHARED:::default:::airtable:::onNewOrUpdatedRecord",
          "newElementId": "EXTENSION:::SHARED:::default:::airtable:::onNewOrUpdatedRecord",
          "legacyElementId": "JS###v1###Airtable###onNewOrUpdatedRecord",
          "methodName": "onNewOrUpdatedRecord",
          "position": {
            "x": 136,
            "y": 40
          }
        },
        "flowElementId": "63B886A7-0634-4CC0-B0B0-3B094C8A84EB",
        "groupId": null,
        "id": "E490B7EC-7F18-4369-A0BE-F7DD0BDAA7D6",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": "Block: 'Task changed in Airtable', Error: Base ID is required",
            "valid": false
          },
          "condition": null,
          "connectionId": null,
          "dynamicData": [],
          "eventName": "onNewOrUpdatedRecord",
          "frequency": {
            "repeat": {
              "every": 300
            },
            "schedule": "custom"
          },
          "hostType": "SHARED",
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": null
          },
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Task",
          "serviceId": "airtable",
          "slaConditions": [],
          "staticData": {
            "tableIdOrName": "Tasks",
            "lastModifiedColumn": "Status changed"
          },
          "storeResult": true,
          "subtype": "POLLING",
          "type": "CUSTOM"
        },
        "name": "Task changed in Airtable",
        "nextElementIds": [
          "8B3FF5E9-33A4-41EF-A492-DC3D60DF6098"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "TRIGGER"
      },
      {
        "clientMetadata": {
          "notes": "Lists a browser's CDP and Live View links: metadata only, never the link URLs. Needs rest:links.",
          "elementId": "EXTENSION:::SHARED:::default:::cloudbrowser:::listLinks",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "List its links Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::cloudbrowser:::listLinks",
          "legacyElementId": null,
          "methodName": "listLinks",
          "position": {
            "x": 517,
            "y": 210
          }
        },
        "flowElementId": "B7B48C7C-9F0F-4E83-84AB-A6EB33499045",
        "groupId": null,
        "id": "B9EC50FD-3E32-419A-8FE4-74AD55A63860",
        "metaInfo": {
          "bodyParams": [
            {
              "name": "browserId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Task details",
                    "subPathSegments": [
                      {
                        "key": "browserId",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "8B3FF5E9-33A4-41EF-A492-DC3D60DF6098"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "audience",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "status",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": "active"
                  }
                ],
                "mode": "BASIC",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "connectionId": null,
          "enabled": true,
          "hostType": "SHARED",
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "methodName": "listLinks",
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Links",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "cloudbrowser",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "List its links",
        "nextElementIds": [
          "1F3CB43A-6222-405C-A9E6-D806EBD4BA32"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "elementId": "custom-cloud-code",
          "isFirstElement": false,
          "blockDefinitionId": "custom-cloud-code",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Read the task Result"
          },
          "position": {
            "x": 517,
            "y": 49
          }
        },
        "flowElementId": "761BAE8B-9696-4836-BF52-4895E9D4C0B6",
        "groupId": null,
        "id": "8B3FF5E9-33A4-41EF-A492-DC3D60DF6098",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "codeArguments": [
            {
              "name": "task",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "RESULT",
                    "label": "Task",
                    "subPathSegments": null,
                    "type": "TRIGGER_DATA",
                    "value": "E490B7EC-7F18-4369-A0BE-F7DD0BDAA7D6"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "codeBody": {
            "expression": [
              {
                "id": "TEXT",
                "label": null,
                "type": "INPUT",
                "value": "const f = (task && task.fields) || {};\nconst status = String(f['Status'] || '').trim();\nconst browserId = String(f['Browser ID'] || '').trim();\nconst ownerField = f['Owner'];\nconst owner = ownerField && typeof ownerField === 'object' ? (ownerField.name || ownerField.email || '') : String(ownerField || '');\nreturn {\n  title: String(f['Task'] || f['Name'] || 'Task').trim(),\n  status,\n  browserId,\n  retire: status.toLowerCase() === 'done' && browserId.length > 0,\n  name: String(f['Browser name'] || browserId),\n  forkedFrom: String(f['Forked from'] || ''),\n  forkedOn: String(f['Forked on'] || ''),\n  owner,\n};"
              }
            ],
            "mode": "EXPRESSION",
            "parseJsonString": false,
            "resultType": null
          },
          "enabled": true,
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "onFailElemId": null,
          "resultAlias": "Task details",
          "retryPolicy": null,
          "saveToVariable": null,
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "type": "CUSTOM_CLOUD_CODE"
        },
        "name": "Read the task",
        "nextElementIds": [
          "7DCB4E84-2986-40D0-8F9D-64B091F17C63"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "elementId": "custom-cloud-code",
          "isFirstElement": false,
          "blockDefinitionId": "custom-cloud-code",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Write the question for the owner Result"
          },
          "position": {
            "x": 110,
            "y": 219
          }
        },
        "flowElementId": "3F54B02C-070A-4806-850E-12082F39C35F",
        "groupId": null,
        "id": "1F3CB43A-6222-405C-A9E6-D806EBD4BA32",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "codeArguments": [
            {
              "name": "title",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Task details",
                    "subPathSegments": [
                      {
                        "key": "title",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "8B3FF5E9-33A4-41EF-A492-DC3D60DF6098"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "name",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Task details",
                    "subPathSegments": [
                      {
                        "key": "name",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "8B3FF5E9-33A4-41EF-A492-DC3D60DF6098"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "browserId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Task details",
                    "subPathSegments": [
                      {
                        "key": "browserId",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "8B3FF5E9-33A4-41EF-A492-DC3D60DF6098"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "forkedFrom",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Task details",
                    "subPathSegments": [
                      {
                        "key": "forkedFrom",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "8B3FF5E9-33A4-41EF-A492-DC3D60DF6098"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "forkedOn",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Task details",
                    "subPathSegments": [
                      {
                        "key": "forkedOn",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "8B3FF5E9-33A4-41EF-A492-DC3D60DF6098"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "owner",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Task details",
                    "subPathSegments": [
                      {
                        "key": "owner",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "8B3FF5E9-33A4-41EF-A492-DC3D60DF6098"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "items",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Links",
                    "subPathSegments": [
                      {
                        "key": "items",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "B9EC50FD-3E32-419A-8FE4-74AD55A63860"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "answerLink",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "PLACEHOLDER_DATA",
                    "label": "Answer link",
                    "subPathSegments": null,
                    "type": "EXECUTION_CONTEXT_STATIC_DATA",
                    "value": "Answer link"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "executionId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "EXECUTION_ID",
                    "label": null,
                    "subPathSegments": null,
                    "type": "EXECUTION_CONTEXT_PATH",
                    "value": "executionContext.executionId",
                    "valueSegments": [
                      {
                        "key": "executionContext",
                        "optional": false
                      },
                      {
                        "key": "executionId",
                        "optional": false
                      }
                    ]
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "codeBody": {
            "expression": [
              {
                "id": "TEXT",
                "label": null,
                "type": "INPUT",
                "value": "const link = (decision) => `${answerLink}?execution=${encodeURIComponent(executionId)}&decision=${decision}`;\nconst list = Array.isArray(items) ? items : [];\nconst cdp = list.filter((l) => l && l.audience === 'cdp' && !l.revoked).length;\nconst live = list.filter((l) => l && l.audience === 'live-view' && !l.revoked).length;\nconst count = (n, what) => `${n} ${what} link${n === 1 ? '' : 's'}`;\nconst total = cdp + live;\nconst forked = forkedFrom ? ` It was forked from ${forkedFrom}${forkedOn ? ` on ${forkedOn}` : ''}.` : '';\nconst lines = [\n  `*${title} is marked Done.*${owner ? ` Task owner: ${owner}.` : ''}`,\n  `Its browser, ${name} (${browserId}), is now paused.${forked} It has ${count(cdp, 'CDP')} and ${count(live, 'Live View')}.`,\n  `Deleting it removes its saved profile${total ? ` and revokes ${total === 1 ? 'that link' : 'all its links'}` : ''} for good. Keeping it paused costs no browser-hours and it can be resumed later.`,\n  'Delete it, or keep it paused?',\n];\nreturn {\n  text: `${title} is marked Done. Delete its browser ${name}, or keep it paused?`,\n  blocks: [\n    { type: 'section', text: { type: 'mrkdwn', text: lines.join('\\n') } },\n    { type: 'actions', elements: [\n      { type: 'button', style: 'danger', text: { type: 'plain_text', text: 'Delete the browser' }, url: link('delete') },\n      { type: 'button', text: { type: 'plain_text', text: 'Keep it paused' }, url: link('keep') },\n    ] },\n  ],\n};"
              }
            ],
            "mode": "EXPRESSION",
            "parseJsonString": false,
            "resultType": null
          },
          "enabled": true,
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "onFailElemId": null,
          "resultAlias": "Question card",
          "retryPolicy": null,
          "saveToVariable": null,
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "type": "CUSTOM_CLOUD_CODE"
        },
        "name": "Write the question for the owner",
        "nextElementIds": [
          "5E554BA4-6D5F-464A-B01E-C6331D13483B"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "notes": "Sends messages to Slack channels with optional Block Kit rich layouts. Supports plain text with Slack formatting, or advanced Block Kit JSON for buttons, menus, and interactive elements. Returns the message timestamp and channel ID for later updates or tracking.",
          "elementId": "EXTENSION:::SHARED:::default:::slack:::sendMessageToChannel",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Ask the task owner Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::slack:::sendMessageToChannel",
          "legacyElementId": "JS###v1###Slack###sendMessageToChannel",
          "methodName": "sendMessageToChannel",
          "position": {
            "x": 151,
            "y": 510
          }
        },
        "flowElementId": "8AAD1D33-893A-456C-8C90-21BF7E88516F",
        "groupId": null,
        "id": "5E554BA4-6D5F-464A-B01E-C6331D13483B",
        "metaInfo": {
          "bodyParams": [
            {
              "name": "channelId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": ""
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "messageText",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Question card",
                    "subPathSegments": [
                      {
                        "key": "text",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "1F3CB43A-6222-405C-A9E6-D806EBD4BA32"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "threadId",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "sendAsBot",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "K_FALSE",
                    "label": null,
                    "type": "KEYWORD",
                    "value": false
                  }
                ],
                "mode": "BASIC",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "botName",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "botIcon",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "replyBroadcast",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "K_FALSE",
                    "label": null,
                    "type": "KEYWORD",
                    "value": false
                  }
                ],
                "mode": "BASIC",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "imageURL",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "blocks",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Question card",
                    "subPathSegments": [
                      {
                        "key": "blocks",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "1F3CB43A-6222-405C-A9E6-D806EBD4BA32"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "connectionId": null,
          "enabled": true,
          "hostType": "SHARED",
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "methodName": "sendMessageToChannel",
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Question to owner",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "slack",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Ask the task owner",
        "nextElementIds": [
          "5141BA63-0BE5-4789-9148-AC2A9E613F17"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      }
    ],
    "firstElementId": "E490B7EC-7F18-4369-A0BE-F7DD0BDAA7D6",
    "groups": [],
    "id": "FF7E8CD3-00D3-4DAF-AE28-98360E9C5B63",
    "metaInfo": {
      "clientValidationState": {
        "errorMessage": "Please fix problems before start. Blocks with issues have red badge in the top-right corner of a block, hover it to see what needs to be done.",
        "valid": false
      },
      "errorMessage": "Please fix problems before start. Blocks with issues have red badge in the top-right corner of a block, hover it to see what needs to be done.",
      "executionStaticData": [
        {
          "description": "The ID of the Airtable base that holds the Tasks table. It starts with app.",
          "error": null,
          "name": "Airtable base ID",
          "type": "STRING",
          "value": ""
        },
        {
          "description": "The URL of the block Wait for the owner's answer. The Slack buttons open it.",
          "error": null,
          "name": "Answer link",
          "type": "STRING",
          "value": ""
        }
      ],
      "initialData": null,
      "initialDataDefaultValues": {},
      "ownerFlowVersionId": null,
      "schedule": null,
      "sharedMemory": {
        "anchor": {
          "missingAnchorPolicy": null,
          "path": null,
          "type": "FLOW_MEMORY"
        },
        "expirationInSec": null
      },
      "wasLive": false
    }
  },
  "slaCalendars": [],
  "slaGoals": [],
  "subFlows": [],
  "exportDate": "2026-12-02T08:44:17.948Z"
}
