{
  "openruna_format": "flow-graph-v1",
  "title": "0902_Splitout_Code_Create_Scheduled",
  "slug": "0902-splitout-code-create-scheduled",
  "source_filename": "0902_Splitout_Code_Create_Scheduled.json",
  "nodes": [
    {
      "id": "Google Sheets Trigger",
      "name": "Google Sheets Trigger",
      "integration": "googleSheets",
      "kind": "trigger"
    },
    {
      "id": "Apollo Organization Enrichment",
      "name": "Apollo Organization Enrichment",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Create Apollo People Search URL",
      "name": "Create Apollo People Search URL",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Loop Over Items (1000 per Batch)",
      "name": "Loop Over Items (1000 per Batch)",
      "integration": "splitInBatches",
      "kind": "logic"
    },
    {
      "id": "Apollo Find Decision Makers",
      "name": "Apollo Find Decision Makers",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Add Contacts",
      "name": "Add Contacts",
      "integration": "googleSheets",
      "kind": "action"
    },
    {
      "id": "Apollo Enrich Decision Makers",
      "name": "Apollo Enrich Decision Makers",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Create Apollo People Enrichment Payload",
      "name": "Create Apollo People Enrichment Payload",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Enrich Contacts",
      "name": "Enrich Contacts",
      "integration": "googleSheets",
      "kind": "action"
    },
    {
      "id": "Loop Over Items For Bulk Enrichment (10 per batch)",
      "name": "Loop Over Items For Bulk Enrichment (10 per batch)",
      "integration": "splitInBatches",
      "kind": "logic"
    },
    {
      "id": "Determine Contact's Department",
      "name": "Determine Contact's Department",
      "integration": "@n8n/n8n-nodes-langchain.openAi",
      "kind": "action"
    },
    {
      "id": "Apollo Organization Search",
      "name": "Apollo Organization Search",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Add Company Website",
      "name": "Add Company Website",
      "integration": "googleSheets",
      "kind": "action"
    },
    {
      "id": "Approve Company Website",
      "name": "Approve Company Website",
      "integration": "slack",
      "kind": "action"
    },
    {
      "id": "Add Company Details",
      "name": "Add Company Details",
      "integration": "googleSheets",
      "kind": "action"
    },
    {
      "id": "Select Unprocessed Companies",
      "name": "Select Unprocessed Companies",
      "integration": "filter",
      "kind": "logic"
    },
    {
      "id": "Is Domain Already Provided?",
      "name": "Is Domain Already Provided?",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Summarize Core Business",
      "name": "Summarize Core Business",
      "integration": "@n8n/n8n-nodes-langchain.openAi",
      "kind": "action"
    },
    {
      "id": "Split Out Batched Decision Maker Response",
      "name": "Split Out Batched Decision Maker Response",
      "integration": "splitOut",
      "kind": "logic"
    },
    {
      "id": "Split Out Batched Enrichment Response",
      "name": "Split Out Batched Enrichment Response",
      "integration": "splitOut",
      "kind": "logic"
    },
    {
      "id": "Send Weekly Report",
      "name": "Send Weekly Report",
      "integration": "slack",
      "kind": "action"
    },
    {
      "id": "Retrieve Verified Leads",
      "name": "Retrieve Verified Leads",
      "integration": "googleSheets",
      "kind": "action"
    },
    {
      "id": "Derive Past Week's Lead Gen. Metrics",
      "name": "Derive Past Week's Lead Gen. Metrics",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Weekly Report Trigger",
      "name": "Weekly Report Trigger",
      "integration": "schedule",
      "kind": "trigger"
    },
    {
      "id": "Merge Rows Which Now All Contain Domains",
      "name": "Merge Rows Which Now All Contain Domains",
      "integration": "merge",
      "kind": "logic"
    }
  ],
  "edges": [
    {
      "from": "Add Contacts",
      "to": "Loop Over Items For Bulk Enrichment (10 per batch)"
    },
    {
      "from": "Add Company Details",
      "to": "Loop Over Items (1000 per Batch)"
    },
    {
      "from": "Add Company Website",
      "to": "Approve Company Website"
    },
    {
      "from": "Add Company Website",
      "to": "Merge Rows Which Now All Contain Domains"
    },
    {
      "from": "Google Sheets Trigger",
      "to": "Select Unprocessed Companies"
    },
    {
      "from": "Weekly Report Trigger",
      "to": "Retrieve Verified Leads"
    },
    {
      "from": "Retrieve Verified Leads",
      "to": "Derive Past Week's Lead Gen. Metrics"
    },
    {
      "from": "Summarize Core Business",
      "to": "Add Company Details"
    },
    {
      "from": "Apollo Organization Search",
      "to": "Add Company Website"
    },
    {
      "from": "Apollo Find Decision Makers",
      "to": "Loop Over Items (1000 per Batch)"
    },
    {
      "from": "Is Domain Already Provided?",
      "to": "Merge Rows Which Now All Contain Domains"
    },
    {
      "from": "Is Domain Already Provided?",
      "to": "Apollo Organization Search"
    },
    {
      "from": "Select Unprocessed Companies",
      "to": "Is Domain Already Provided?"
    },
    {
      "from": "Apollo Enrich Decision Makers",
      "to": "Loop Over Items For Bulk Enrichment (10 per batch)"
    },
    {
      "from": "Apollo Organization Enrichment",
      "to": "Summarize Core Business"
    },
    {
      "from": "Determine Contact's Department",
      "to": "Add Contacts"
    },
    {
      "from": "Create Apollo People Search URL",
      "to": "Apollo Find Decision Makers"
    },
    {
      "from": "Loop Over Items (1000 per Batch)",
      "to": "Split Out Batched Decision Maker Response"
    },
    {
      "from": "Loop Over Items (1000 per Batch)",
      "to": "Create Apollo People Search URL"
    },
    {
      "from": "Derive Past Week's Lead Gen. Metrics",
      "to": "Send Weekly Report"
    },
    {
      "from": "Split Out Batched Enrichment Response",
      "to": "Enrich Contacts"
    },
    {
      "from": "Create Apollo People Enrichment Payload",
      "to": "Apollo Enrich Decision Makers"
    },
    {
      "from": "Merge Rows Which Now All Contain Domains",
      "to": "Apollo Organization Enrichment"
    },
    {
      "from": "Split Out Batched Decision Maker Response",
      "to": "Determine Contact's Department"
    },
    {
      "from": "Loop Over Items For Bulk Enrichment (10 per batch)",
      "to": "Split Out Batched Enrichment Response"
    },
    {
      "from": "Loop Over Items For Bulk Enrichment (10 per batch)",
      "to": "Create Apollo People Enrichment Payload"
    }
  ]
}