{
  "version": "1.0.0",
  "exported_at": "2025-08-23T12:16:36.854103300+00:00",
  "project": {
    "name": "Yellow Pages",
    "description": null,
    "color": "bg-red-500",
    "template_id": null
  },
  "blocks": [
    {
      "block_id": "navigate-1755950490238",
      "block_type": "process",
      "title": "Navigate",
      "description": "Go to a URL",
      "position_x": 248,
      "position_y": 355,
      "config": {
        "color": "bg-purple-500",
        "url": "https://example.com"
      }
    },
    {
      "block_id": "sleep-1755950565262",
      "block_type": "process",
      "title": "Sleep",
      "description": "Wait for specified time",
      "position_x": 549,
      "position_y": 354,
      "config": {
        "color": "bg-yellow-500",
        "duration": 12
      }
    },
    {
      "block_id": "structured-export-1755950607012",
      "block_type": "process",
      "title": "Structured Export",
      "description": "Export data with custom columns",
      "position_x": 842,
      "position_y": 346,
      "config": {
        "color": "bg-gray-500",
        "fileName": "yellow-pages.csv",
        "columns": [
          {
            "name": "Name",
            "selector": ".business-name",
            "attribute": "text"
          },
          {
            "name": "Phone Number",
            "selector": ".phone",
            "attribute": "text"
          },
          {
            "name": "Address",
            "selector": ".adr",
            "attribute": "text"
          },
          {
            "name": "Website",
            "selector": ".track-visit-website",
            "attribute": "href"
          },
          {
            "name": "Categories",
            "selector": ".categories",
            "attribute": "text"
          },
          {
            "name": "Tripe Advisor Rating",
            "selector": ".ta-count",
            "attribute": "text"
          },
          {
            "name": "Rating",
            "selector": ".count",
            "attribute": "text"
          }
        ],
        "rowSelector": ".srp-listing",
        "saveLocation": "",
        "includeHeaders": true,
        "fileMode": "append"
      }
    },
    {
      "block_id": "element-exists-1755950959239",
      "block_type": "process",
      "title": "Element Exists",
      "description": "Check if element exists",
      "position_x": 1194,
      "position_y": 355,
      "config": {
        "color": "bg-pink-500",
        "selector": "a.next.ajax-page"
      }
    },
    {
      "block_id": "click-1755950974748",
      "block_type": "process",
      "title": "Click",
      "description": "Click on element",
      "position_x": 1468,
      "position_y": 193,
      "config": {
        "color": "bg-orange-500",
        "selector": "a.next.ajax-page",
        "timeout": 30
      }
    },
    {
      "block_id": "end-1755950987106",
      "block_type": "output",
      "title": "End",
      "description": "Terminate execution flow",
      "position_x": 1506,
      "position_y": 480,
      "config": {
        "color": "bg-green-500"
      }
    },
    {
      "block_id": "sleep-1755950994412",
      "block_type": "process",
      "title": "Sleep",
      "description": "Wait for specified time",
      "position_x": 1143,
      "position_y": 871,
      "config": {
        "color": "bg-yellow-500",
        "duration": 12
      }
    },
    {
      "block_id": "inject-javascript-1755951240258",
      "block_type": "process",
      "title": "Inject JavaScript",
      "description": "Execute custom JavaScript code",
      "position_x": 1203,
      "position_y": 89.5,
      "config": {
        "color": "bg-gray-500",
        "jsCode": "// Instant scroll to bottom\nwindow.scrollTo(0, document.body.scrollHeight);\n\n// Or using scrollTo with options\nwindow.scrollTo({\n    top: document.body.scrollHeight,\n    behavior: 'smooth' // smooth scrolling\n});",
        "waitForCompletion": true,
        "timeout": 10
      }
    }
  ],
  "connections": [
    {
      "from_block_id": "navigate-1755950490238",
      "from_connector_id": "right",
      "to_block_id": "sleep-1755950565262",
      "to_connector_id": "left"
    },
    {
      "from_block_id": "sleep-1755950565262",
      "from_connector_id": "right",
      "to_block_id": "structured-export-1755950607012",
      "to_connector_id": "left"
    },
    {
      "from_block_id": "structured-export-1755950607012",
      "from_connector_id": "right",
      "to_block_id": "element-exists-1755950959239",
      "to_connector_id": "left"
    },
    {
      "from_block_id": "element-exists-1755950959239",
      "from_connector_id": "false",
      "to_block_id": "end-1755950987106",
      "to_connector_id": "left"
    },
    {
      "from_block_id": "click-1755950974748",
      "from_connector_id": "right",
      "to_block_id": "sleep-1755950994412",
      "to_connector_id": "left"
    },
    {
      "from_block_id": "sleep-1755950994412",
      "from_connector_id": "right",
      "to_block_id": "structured-export-1755950607012",
      "to_connector_id": "left"
    },
    {
      "from_block_id": "element-exists-1755950959239",
      "from_connector_id": "true",
      "to_block_id": "inject-javascript-1755951240258",
      "to_connector_id": "left"
    },
    {
      "from_block_id": "inject-javascript-1755951240258",
      "from_connector_id": "right",
      "to_block_id": "click-1755950974748",
      "to_connector_id": "left"
    }
  ]
}