{
  "openruna_format": "flow-graph-v1",
  "title": "LinkedIn Leads Scraping & Enrichment (Main)",
  "slug": "linkedin-leads-scraping-enrichment-main",
  "source_filename": "1146_Splitout_Code_Automation_Webhook.json",
  "nodes": [
    {
      "id": "On form submission",
      "name": "On form submission",
      "integration": "form",
      "kind": "trigger"
    },
    {
      "id": "Split Out",
      "name": "Split Out",
      "integration": "splitOut",
      "kind": "logic"
    },
    {
      "id": "Google Sheets Trigger",
      "name": "Google Sheets Trigger",
      "integration": "googleSheets",
      "kind": "trigger"
    },
    {
      "id": "OpenAI1",
      "name": "OpenAI1",
      "integration": "@n8n/n8n-nodes-langchain.openAi",
      "kind": "action"
    },
    {
      "id": "Google Sheets Trigger2",
      "name": "Google Sheets Trigger2",
      "integration": "googleSheets",
      "kind": "trigger"
    },
    {
      "id": "Clean Data",
      "name": "Clean Data",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Add Leads to Google Sheet",
      "name": "Add Leads to Google Sheet",
      "integration": "googleSheets",
      "kind": "action"
    },
    {
      "id": "Add Linkedin Username",
      "name": "Add Linkedin Username",
      "integration": "googleSheets",
      "kind": "action"
    },
    {
      "id": "Get Pending Username Row",
      "name": "Get Pending Username Row",
      "integration": "googleSheets",
      "kind": "action"
    },
    {
      "id": "Add Email Address",
      "name": "Add Email Address",
      "integration": "googleSheets",
      "kind": "action"
    },
    {
      "id": "Mark Invalid Email",
      "name": "Mark Invalid Email",
      "integration": "googleSheets",
      "kind": "action"
    },
    {
      "id": "Schedule Trigger",
      "name": "Schedule Trigger",
      "integration": "schedule",
      "kind": "trigger"
    },
    {
      "id": "Get Email from Apollo",
      "name": "Get Email from Apollo",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Confirm Email Validity",
      "name": "Confirm Email Validity",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Get Pending Email Statuses",
      "name": "Get Pending Email Statuses",
      "integration": "googleSheets",
      "kind": "action"
    },
    {
      "id": "Google Sheets Trigger3",
      "name": "Google Sheets Trigger3",
      "integration": "googleSheets",
      "kind": "trigger"
    },
    {
      "id": "Get Profile Posts",
      "name": "Get Profile Posts",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Get About Profile",
      "name": "Get About Profile",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Get Pending About and Posts Rows",
      "name": "Get Pending About and Posts Rows",
      "integration": "googleSheets",
      "kind": "action"
    },
    {
      "id": "Clean Profile Data",
      "name": "Clean Profile Data",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Google Sheets Trigger4",
      "name": "Google Sheets Trigger4",
      "integration": "googleSheets",
      "kind": "trigger"
    },
    {
      "id": "Get Pending About and Posts Rows1",
      "name": "Get Pending About and Posts Rows1",
      "integration": "googleSheets",
      "kind": "action"
    },
    {
      "id": "Clean Posts Data",
      "name": "Clean Posts Data",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Google Sheets Trigger5",
      "name": "Google Sheets Trigger5",
      "integration": "googleSheets",
      "kind": "trigger"
    },
    {
      "id": "Schedule Trigger2",
      "name": "Schedule Trigger2",
      "integration": "schedule",
      "kind": "trigger"
    },
    {
      "id": "get invalid email rows",
      "name": "get invalid email rows",
      "integration": "googleSheets",
      "kind": "action"
    },
    {
      "id": "update_to_pending",
      "name": "update_to_pending",
      "integration": "googleSheets",
      "kind": "action"
    },
    {
      "id": "get_failed_profile_summary_rows",
      "name": "get_failed_profile_summary_rows",
      "integration": "googleSheets",
      "kind": "action"
    },
    {
      "id": "update_to_pending1",
      "name": "update_to_pending1",
      "integration": "googleSheets",
      "kind": "action"
    },
    {
      "id": "Schedule Trigger3",
      "name": "Schedule Trigger3",
      "integration": "schedule",
      "kind": "trigger"
    },
    {
      "id": "get_failed_posts_summary_rows1",
      "name": "get_failed_posts_summary_rows1",
      "integration": "googleSheets",
      "kind": "action"
    },
    {
      "id": "Posts AI Summarizer",
      "name": "Posts AI Summarizer",
      "integration": "@n8n/n8n-nodes-langchain.openAi",
      "kind": "action"
    },
    {
      "id": "AI Profile Summarizer",
      "name": "AI Profile Summarizer",
      "integration": "@n8n/n8n-nodes-langchain.openAi",
      "kind": "action"
    },
    {
      "id": "Update Profile Summary",
      "name": "Update Profile Summary",
      "integration": "googleSheets",
      "kind": "action"
    },
    {
      "id": "Update Posts Summary",
      "name": "Update Posts Summary",
      "integration": "googleSheets",
      "kind": "action"
    },
    {
      "id": "Get Completely Enriched Profiles",
      "name": "Get Completely Enriched Profiles",
      "integration": "googleSheets",
      "kind": "action"
    },
    {
      "id": "update_to_unscraped",
      "name": "update_to_unscraped",
      "integration": "googleSheets",
      "kind": "action"
    },
    {
      "id": "Append to Enriched Leads Database",
      "name": "Append to Enriched Leads Database",
      "integration": "googleSheets",
      "kind": "action"
    },
    {
      "id": "update status to failed",
      "name": "update status to failed",
      "integration": "googleSheets",
      "kind": "action"
    },
    {
      "id": "Google Sheets",
      "name": "Google Sheets",
      "integration": "googleSheets",
      "kind": "action"
    },
    {
      "id": "Stringify Profile Data1",
      "name": "Stringify Profile Data1",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Stringify Posts Data",
      "name": "Stringify Posts Data",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Generate Leads with Apollo.io",
      "name": "Generate Leads with Apollo.io",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Google Sheets Trigger6",
      "name": "Google Sheets Trigger6",
      "integration": "googleSheets",
      "kind": "trigger"
    },
    {
      "id": "Get Pending About and Posts Rows2",
      "name": "Get Pending About and Posts Rows2",
      "integration": "googleSheets",
      "kind": "action"
    },
    {
      "id": "Clean Profile Data1",
      "name": "Clean Profile Data1",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Stringify Data2",
      "name": "Stringify Data2",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "AI Profile Summarizer1",
      "name": "AI Profile Summarizer1",
      "integration": "@n8n/n8n-nodes-langchain.openAi",
      "kind": "action"
    },
    {
      "id": "Update Profile Summary1",
      "name": "Update Profile Summary1",
      "integration": "googleSheets",
      "kind": "action"
    },
    {
      "id": "Stringify Data3",
      "name": "Stringify Data3",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Posts AI Summarizer1",
      "name": "Posts AI Summarizer1",
      "integration": "@n8n/n8n-nodes-langchain.openAi",
      "kind": "action"
    },
    {
      "id": "Get About Profile2",
      "name": "Get About Profile2",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Clean Profile Data2",
      "name": "Clean Profile Data2",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Merge",
      "name": "Merge",
      "integration": "merge",
      "kind": "logic"
    },
    {
      "id": "update status to failed1",
      "name": "update status to failed1",
      "integration": "googleSheets",
      "kind": "action"
    },
    {
      "id": "If email is valid",
      "name": "If email is valid",
      "integration": "if",
      "kind": "logic"
    }
  ],
  "edges": [
    {
      "from": "Merge",
      "to": "Update Profile Summary1"
    },
    {
      "from": "OpenAI1",
      "to": "Add Linkedin Username"
    },
    {
      "from": "Split Out",
      "to": "Clean Data"
    },
    {
      "from": "Clean Data",
      "to": "Add Leads to Google Sheet"
    },
    {
      "from": "Stringify Data2",
      "to": "AI Profile Summarizer1"
    },
    {
      "from": "Stringify Data3",
      "to": "Posts AI Summarizer1"
    },
    {
      "from": "Clean Posts Data",
      "to": "Stringify Posts Data"
    },
    {
      "from": "Clean Posts Data",
      "to": "Google Sheets"
    },
    {
      "from": "Schedule Trigger",
      "to": "get invalid email rows"
    },
    {
      "from": "Get About Profile",
      "to": "Clean Profile Data"
    },
    {
      "from": "Get Profile Posts",
      "to": "Clean Posts Data"
    },
    {
      "from": "If email is valid",
      "to": "Add Email Address"
    },
    {
      "from": "If email is valid",
      "to": "Mark Invalid Email"
    },
    {
      "from": "Schedule Trigger2",
      "to": "get_failed_profile_summary_rows"
    },
    {
      "from": "Schedule Trigger3",
      "to": "get_failed_posts_summary_rows1"
    },
    {
      "from": "Clean Profile Data",
      "to": "Stringify Profile Data1"
    },
    {
      "from": "Clean Profile Data",
      "to": "update status to failed"
    },
    {
      "from": "Get About Profile2",
      "to": "Clean Profile Data1"
    },
    {
      "from": "Get About Profile2",
      "to": "Clean Profile Data2"
    },
    {
      "from": "Get About Profile2",
      "to": "update status to failed1"
    },
    {
      "from": "On form submission",
      "to": "Generate Leads with Apollo.io"
    },
    {
      "from": "Clean Profile Data1",
      "to": "Stringify Data2"
    },
    {
      "from": "Clean Profile Data2",
      "to": "Stringify Data3"
    },
    {
      "from": "Posts AI Summarizer",
      "to": "Update Posts Summary"
    },
    {
      "from": "Posts AI Summarizer1",
      "to": "Merge"
    },
    {
      "from": "Stringify Posts Data",
      "to": "Posts AI Summarizer"
    },
    {
      "from": "AI Profile Summarizer",
      "to": "Update Profile Summary"
    },
    {
      "from": "Get Email from Apollo",
      "to": "Confirm Email Validity"
    },
    {
      "from": "Google Sheets Trigger",
      "to": "Get Pending Username Row"
    },
    {
      "from": "AI Profile Summarizer1",
      "to": "Merge"
    },
    {
      "from": "Confirm Email Validity",
      "to": "If email is valid"
    },
    {
      "from": "Google Sheets Trigger2",
      "to": "Get Pending Email Statuses"
    },
    {
      "from": "Google Sheets Trigger3",
      "to": "Get Pending About and Posts Rows"
    },
    {
      "from": "Google Sheets Trigger4",
      "to": "Get Pending About and Posts Rows1"
    },
    {
      "from": "Google Sheets Trigger5",
      "to": "Get Completely Enriched Profiles"
    },
    {
      "from": "Google Sheets Trigger6",
      "to": "Get Pending About and Posts Rows2"
    },
    {
      "from": "get invalid email rows",
      "to": "update_to_pending"
    },
    {
      "from": "Stringify Profile Data1",
      "to": "AI Profile Summarizer"
    },
    {
      "from": "Get Pending Username Row",
      "to": "OpenAI1"
    },
    {
      "from": "Get Pending Email Statuses",
      "to": "Get Email from Apollo"
    },
    {
      "from": "Generate Leads with Apollo.io",
      "to": "Split Out"
    },
    {
      "from": "get_failed_posts_summary_rows1",
      "to": "update_to_unscraped"
    },
    {
      "from": "get_failed_profile_summary_rows",
      "to": "update_to_pending1"
    },
    {
      "from": "Get Completely Enriched Profiles",
      "to": "Append to Enriched Leads Database"
    },
    {
      "from": "Get Pending About and Posts Rows",
      "to": "Get About Profile"
    },
    {
      "from": "Get Pending About and Posts Rows1",
      "to": "Get Profile Posts"
    },
    {
      "from": "Get Pending About and Posts Rows2",
      "to": "Get About Profile2"
    }
  ]
}