{
  "openruna_format": "flow-graph-v1",
  "title": "Generate Leads with Google Maps - AlexK1919",
  "slug": "generate-leads-with-google-maps-alexk1919",
  "source_filename": "1823_Stopanderror_Wait_Create_Webhook.json",
  "nodes": [
    {
      "id": "When clicking \"Execute Workflow\"",
      "name": "When clicking \"Execute Workflow\"",
      "integration": "manual",
      "kind": "trigger"
    },
    {
      "id": "Run workflow every hours",
      "name": "Run workflow every hours",
      "integration": "schedule",
      "kind": "trigger"
    },
    {
      "id": "Execute Workflow Trigger",
      "name": "Execute Workflow Trigger",
      "integration": "executeWorkflow",
      "kind": "trigger"
    },
    {
      "id": "Check Max Retries1",
      "name": "Check Max Retries1",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Stop and Error1",
      "name": "Stop and Error1",
      "integration": "stopAndError",
      "kind": "action"
    },
    {
      "id": "GMaps API",
      "name": "GMaps API",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Update Status to Success",
      "name": "Update Status to Success",
      "integration": "googleSheets",
      "kind": "action"
    },
    {
      "id": "Add rows in Google Sheets",
      "name": "Add rows in Google Sheets",
      "integration": "googleSheets",
      "kind": "action"
    },
    {
      "id": "Set Row Number",
      "name": "Set Row Number",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Set Zip",
      "name": "Set Zip",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Set Place ID",
      "name": "Set Place ID",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Exponential Backoff",
      "name": "Exponential Backoff",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Remove Duplicates",
      "name": "Remove Duplicates",
      "integration": "removeDuplicates",
      "kind": "logic"
    },
    {
      "id": "Wait",
      "name": "Wait",
      "integration": "wait",
      "kind": "logic"
    },
    {
      "id": "Check Max Retries",
      "name": "Check Max Retries",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Stop and Error",
      "name": "Stop and Error",
      "integration": "stopAndError",
      "kind": "action"
    },
    {
      "id": "Exponential Backoff1",
      "name": "Exponential Backoff1",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Wait1",
      "name": "Wait1",
      "integration": "wait",
      "kind": "logic"
    },
    {
      "id": "Settings",
      "name": "Settings",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "GS - Get Subcategory",
      "name": "GS - Get Subcategory",
      "integration": "googleSheets",
      "kind": "action"
    },
    {
      "id": "Subcategory",
      "name": "Subcategory",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "GS - Get Zip Codes",
      "name": "GS - Get Zip Codes",
      "integration": "googleSheets",
      "kind": "action"
    },
    {
      "id": "Place Array",
      "name": "Place Array",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Loop Zips",
      "name": "Loop Zips",
      "integration": "splitInBatches",
      "kind": "logic"
    },
    {
      "id": "Loop Subcats",
      "name": "Loop Subcats",
      "integration": "splitInBatches",
      "kind": "logic"
    },
    {
      "id": "GS - Get Status",
      "name": "GS - Get Status",
      "integration": "googleSheets",
      "kind": "action"
    },
    {
      "id": "Check Max Retries2",
      "name": "Check Max Retries2",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Stop and Error2",
      "name": "Stop and Error2",
      "integration": "stopAndError",
      "kind": "action"
    },
    {
      "id": "Exponential Backoff2",
      "name": "Exponential Backoff2",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Wait2",
      "name": "Wait2",
      "integration": "wait",
      "kind": "logic"
    },
    {
      "id": "Limit",
      "name": "Limit",
      "integration": "limit",
      "kind": "logic"
    },
    {
      "id": "Zips",
      "name": "Zips",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Filter Zips",
      "name": "Filter Zips",
      "integration": "filter",
      "kind": "logic"
    },
    {
      "id": "Filter Subcategories",
      "name": "Filter Subcategories",
      "integration": "filter",
      "kind": "logic"
    },
    {
      "id": "If Empty",
      "name": "If Empty",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Split Out",
      "name": "Split Out",
      "integration": "splitOut",
      "kind": "logic"
    }
  ],
  "edges": [
    {
      "from": "Wait",
      "to": "Check Max Retries1"
    },
    {
      "from": "Zips",
      "to": "Filter Zips"
    },
    {
      "from": "Limit",
      "to": "Loop Zips"
    },
    {
      "from": "Wait1",
      "to": "Check Max Retries"
    },
    {
      "from": "Wait2",
      "to": "Check Max Retries2"
    },
    {
      "from": "Set Zip",
      "to": "GMaps API"
    },
    {
      "from": "If Empty",
      "to": "Loop Subcats"
    },
    {
      "from": "If Empty",
      "to": "Place Array"
    },
    {
      "from": "Settings",
      "to": "GS - Get Zip Codes"
    },
    {
      "from": "GMaps API",
      "to": "If Empty"
    },
    {
      "from": "Loop Zips",
      "to": "GS - Get Subcategory"
    },
    {
      "from": "Split Out",
      "to": "Limit"
    },
    {
      "from": "Filter Zips",
      "to": "Set Row Number"
    },
    {
      "from": "Place Array",
      "to": "Set Place ID"
    },
    {
      "from": "Subcategory",
      "to": "Loop Subcats"
    },
    {
      "from": "Loop Subcats",
      "to": "Loop Zips"
    },
    {
      "from": "Loop Subcats",
      "to": "Set Zip"
    },
    {
      "from": "Set Place ID",
      "to": "Remove Duplicates"
    },
    {
      "from": "Set Row Number",
      "to": "Split Out"
    },
    {
      "from": "GS - Get Status",
      "to": "Update Status to Success"
    },
    {
      "from": "GS - Get Status",
      "to": "Exponential Backoff2"
    },
    {
      "from": "Check Max Retries",
      "to": "Stop and Error"
    },
    {
      "from": "Check Max Retries",
      "to": "Update Status to Success"
    },
    {
      "from": "Remove Duplicates",
      "to": "Add rows in Google Sheets"
    },
    {
      "from": "Check Max Retries1",
      "to": "Stop and Error1"
    },
    {
      "from": "Check Max Retries1",
      "to": "Add rows in Google Sheets"
    },
    {
      "from": "Check Max Retries2",
      "to": "Stop and Error2"
    },
    {
      "from": "GS - Get Zip Codes",
      "to": "Zips"
    },
    {
      "from": "Exponential Backoff",
      "to": "Wait"
    },
    {
      "from": "Exponential Backoff1",
      "to": "Wait1"
    },
    {
      "from": "Exponential Backoff2",
      "to": "Wait2"
    },
    {
      "from": "Filter Subcategories",
      "to": "Subcategory"
    },
    {
      "from": "GS - Get Subcategory",
      "to": "Filter Subcategories"
    },
    {
      "from": "Execute Workflow Trigger",
      "to": "Settings"
    },
    {
      "from": "Run workflow every hours",
      "to": "Settings"
    },
    {
      "from": "Update Status to Success",
      "to": "Loop Subcats"
    },
    {
      "from": "Update Status to Success",
      "to": "Exponential Backoff1"
    },
    {
      "from": "Add rows in Google Sheets",
      "to": "GS - Get Status"
    },
    {
      "from": "Add rows in Google Sheets",
      "to": "Exponential Backoff"
    },
    {
      "from": "When clicking \"Execute Workflow\"",
      "to": "Settings"
    }
  ]
}