{
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "0d00d803-f827-4933-96ad-804f3ac685a1",
      "name": "Website overview",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        3456,
        464
      ],
      "parameters": {
        "text": "You're provided a scrape of a whole website in HTML Markdown. Your task is to provide a three-paragraph abstract of what this website is about.\n\n\n\nRules:\n- These are Realtor/Real Estate websites so generate responses fit for a website of such niche.\n- Your extract should be comprehensive\u2014similar level of detail as an abstract to a published paper.\n- Use a straightforward, spartan tone of voice.\n- If it's empty or invalid, just say \"no content\".\n- If you are not provided the content, say 'no content'.",
        "batching": {},
        "messages": {
          "messageValues": [
            {
              "message": "You're a helpful, intelligent website scraping assistant."
            },
            {
              "type": "HumanMessagePromptTemplate",
              "message": "=Website HTML Markdown:{{ $json['Webpage Overview'] }}"
            }
          ]
        },
        "promptType": "define"
      },
      "retryOnFail": true,
      "typeVersion": 1.7
    },
    {
      "id": "605eac29-e905-4885-ad8c-5898a473f888",
      "name": "Structured Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        3536,
        992
      ],
      "parameters": {
        "autoFix": true,
        "jsonSchemaExample": "{\n\t\"Subject\": \"Gin Amber Beauty is an e-commerce platform specializing in microneedling\",\n\t\"Icebreaker\": \"Gin Amber Beauty is an e-commerce platform specializing in microneedling products and complementary skincare solutions. The website primarily targets individuals seeking anti-aging treatments,\" \n}"
      },
      "typeVersion": 1.3
    },
    {
      "id": "77e31754-d979-4a9e-a8e2-68819e057c99",
      "name": "icebreaker & Subject",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        3456,
        736
      ],
      "parameters": {
        "text": "You\u2019ll receive one or more website overviews of Med Spas along with the person\u2019s name. Your job is to turn that into a catchy, personalized icebreaker for a cold email. Randomly choose one of the Icebreaker Templates below exactly as written, and fill in the variables with details from the website overview:\n\nIcebreaker Templates:\n\u2022 \u201cHey {firstName}. Love {thing}, also into {otherThing}. Wanted to run something by you.\nI hope you\u2019ll forgive me, but I creeped through your page/site a bit, and it\u2019s pretty clear that {anotherThing} matters a lot to you (or at least that\u2019s what I\u2019m getting from the focus on {fourthThing}).\u201d\n\n\u2022 \u201cHey {firstName}, noticed how {thing} and {otherThing} are a focus for your brand. It got me thinking about {theirSocialPresenceDetail}, so thought I should get your take on something.\u201d\n\nAfter you write the icebreaker, create a personalized Subject Line by choosing one of the Subject Line Templates below. Make sure the subject line is based only on something meaningful from the icebreaker you just wrote.\n\nSubject Line Templates:\n\u2022 \u201cWanted to get your take on something.\u201d\n\u2022 \u201cThis might feel random\u2026 but\u201d\n\u2022 \u201c{firstName}, I swear this isn\u2019t weird\u201d\n\nRules:\n- These are the overviews for Realtor/Real Estate websites, so generate your responses fit for a website of such niche.\n- Write in a spartan, laconic tone.\n- Stick to the chosen icebreaker template exactly and insert the variables naturally.\n- Output in Plain Text only.\n- Shorten company names whenever possible (like \u201cMayo\u201d instead of \u201cMayo Inc.\u201d).\n- Shorten locations too (like \u201cSan Fran\u201d instead of \u201cSan Francisco\u201d).\n-  When talking about metrics, don't mention the exact number but round off to the nearest tens or hundreds. For Example, don't say \"751 reviews\"; instead, say \"700+ reviews.\"\n- For the variables, highlight small, non-obvious details from the website. Avoid generic lines like \u201cLove your website.\u201d\n- Don\u2019t label the output as \u201cIcebreaker:\u201d or \u201cSubject:\u201d.\n- The subject line must be a single sentence.\n- Use simple spoken American English.\n- Make sure the subject line includes the person\u2019s first name if the template requires it.\n\nYour final output must include the icebreaker first, followed by the subject line, both using the templates above.",
        "batching": {},
        "messages": {
          "messageValues": [
            {
              "message": "You're a helpful, intelligent sales assistant."
            },
            {
              "type": "HumanMessagePromptTemplate",
              "message": "=First Name: {{ $json['First Name'] }} \nWebpages Overview: {{ $json['Webpages Overview'] }}\nCompany Name:{{ $('Person info').item.json['Company Name'] }}"
            },
            {
              "type": "AIMessagePromptTemplate",
              "message": "Hey Sarah. Love your color-coded meal guides, also into the way you mix quick recipes with longer weekend ones. Wanted to run something by you. I hope you\u2019ll forgive me, but I dug through your site a bit, and it\u2019s pretty clear that keeping meal planning stress-free matters a lot to you (or at least that\u2019s what I\u2019m getting from the focus on those \u201cno-prep weekday\u201d posts)."
            },
            {
              "type": "AIMessagePromptTemplate",
              "message": "Hey Mia, noticed how your travel guides and those quick packing-tip clips are a focus for your brand. It got me thinking about how you keep your feed\u2019s momentum, so thought I should get your take on something."
            }
          ]
        },
        "promptType": "define",
        "hasOutputParser": true
      },
      "typeVersion": 1.7
    },
    {
      "id": "739781aa-9a85-4c49-a6f8-c1fd74b7374b",
      "name": "Overview & Name",
      "type": "n8n-nodes-base.set",
      "position": [
        3904,
        464
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "ffa7a0fa-ad50-463e-962c-424e7b70bb5d",
              "name": "Webpages Overview",
              "type": "string",
              "value": "={{ $json.text }}"
            },
            {
              "id": "fa4e564b-8970-4ee0-a6ce-2a5c34c273d9",
              "name": "First Name",
              "type": "string",
              "value": "={{ $('Loop Over Items').item.json['First Name'] }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "7493c1e8-c409-4e50-b8aa-564b91fad833",
      "name": "Subject & Icebreaker",
      "type": "n8n-nodes-base.set",
      "position": [
        3904,
        736
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "b899ce67-d1cb-4d89-a896-e799522152eb",
              "name": "Subject Line",
              "type": "string",
              "value": "={{ $json.output.Subject }}"
            },
            {
              "id": "7f204839-fe78-4f35-a498-ee45bd23a752",
              "name": "Icebreaker",
              "type": "string",
              "value": "={{ $json.output.Icebreaker }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "d71fd579-d52a-4d07-96b0-70793156a51b",
      "name": "Scrape Website",
      "type": "n8n-nodes-base.httpRequest",
      "onError": "continueErrorOutput",
      "maxTries": 5,
      "position": [
        -704,
        96
      ],
      "parameters": {
        "url": "={{ $json.Website }}",
        "options": {
          "timeout": 60000,
          "redirect": {
            "redirect": {}
          }
        }
      },
      "executeOnce": false,
      "retryOnFail": true,
      "typeVersion": 4.2,
      "alwaysOutputData": false,
      "waitBetweenTries": 2000
    },
    {
      "id": "45b74ae7-1a55-481f-ad79-3dc216258f8d",
      "name": "Loop Over Items",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        -1184,
        -48
      ],
      "parameters": {
        "options": {}
      },
      "typeVersion": 3
    },
    {
      "id": "cfbe5faa-bde6-4add-8d30-530d2be21d61",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -800,
        -112
      ],
      "parameters": {
        "color": 4,
        "width": 640,
        "height": 384,
        "content": "## Scrape Main URL and get all the links on the page"
      },
      "typeVersion": 1
    },
    {
      "id": "61b96265-2c53-42c4-9b53-9f1472f6aee9",
      "name": "Scrape other pages",
      "type": "n8n-nodes-base.httpRequest",
      "onError": "continueRegularOutput",
      "maxTries": 5,
      "position": [
        2448,
        96
      ],
      "parameters": {
        "url": "={{ $json.urls }}",
        "options": {
          "timeout": 70000,
          "batching": {
            "batch": {
              "batchSize": 1,
              "batchInterval": 3000
            }
          },
          "redirect": {
            "redirect": {}
          },
          "response": {
            "response": {
              "responseFormat": "text"
            }
          }
        }
      },
      "executeOnce": false,
      "retryOnFail": true,
      "typeVersion": 4.3,
      "alwaysOutputData": true,
      "waitBetweenTries": 2000
    },
    {
      "id": "41780620-e8ad-4069-8274-8c95308924c6",
      "name": "Person info",
      "type": "n8n-nodes-base.set",
      "position": [
        -1504,
        -48
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "7aea2299-5f24-4c5f-aabf-ec54277ec6ac",
              "name": "id",
              "type": "string",
              "value": "={{ $json.id }}"
            },
            {
              "id": "ed3e7877-e34f-4c16-adcf-58dec4a2af06",
              "name": "First Name",
              "type": "string",
              "value": "={{ $json['First Name'] }}"
            },
            {
              "id": "e5146392-0ac5-4287-b951-f6223cb75b83",
              "name": "Last Name",
              "type": "string",
              "value": "={{ $json['Last Name'] }}"
            },
            {
              "id": "dd47a0ec-4d2a-4594-9ba7-e2a6024ed524",
              "name": "Title",
              "type": "string",
              "value": "={{ $json.Title }}"
            },
            {
              "id": "24ef2ce1-d1ce-47a2-b41a-0d7cf5fcf114",
              "name": "Company Name",
              "type": "string",
              "value": "={{ $json['Company Name'] }}"
            },
            {
              "id": "c990fb7f-b516-42a1-ba2e-6497b6de7be9",
              "name": "Website",
              "type": "string",
              "value": "={{ $json.Website }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "2357760e-48cf-4f17-b17b-3d831c0b9959",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1776,
        -176
      ],
      "parameters": {
        "color": 7,
        "width": 432,
        "height": 528,
        "content": "## Get Leads from Database"
      },
      "typeVersion": 1
    },
    {
      "id": "c37ec6fc-359e-43d4-b8f2-4c95c661ebe6",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1744,
        800
      ],
      "parameters": {
        "color": 7,
        "width": 592,
        "height": 576,
        "content": "## Insert Icebreaker & Subject Line & Website Overview into the Database"
      },
      "typeVersion": 1
    },
    {
      "id": "31238001-491f-41be-bf41-f0e0d6dfda9c",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2400,
        -384
      ],
      "parameters": {
        "color": 7,
        "width": 1904,
        "height": 640,
        "content": "## Scrape provided URL(s) and get their HTML. Using 'Markdown', get rid of the HTML jargon. Then limit the material of the page(s) to 5000 characters. Finally, combine all data into one array. Retries using apify"
      },
      "typeVersion": 1
    },
    {
      "id": "1dad7cf9-9f99-4d72-bedf-ec8995f17e2d",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        64,
        -112
      ],
      "parameters": {
        "color": 6,
        "width": 720,
        "height": 384,
        "content": "## Convert the half URL(s) into full"
      },
      "typeVersion": 1
    },
    {
      "id": "8144c92d-c511-4224-a9db-73c8083ed844",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1648,
        -1104
      ],
      "parameters": {
        "color": 7,
        "width": 480,
        "height": 704,
        "content": "## Detailed: Filters through to find desired pages.   \n- If desired don't exist, then 'fallback' pages are sent forward.\n\n- The total output will always be 5 (if enough links are available).\n\n- If the output has a low (less than 4) number of 'primary' pages, then it fills the gaps with 'fallback' pages.\n\n- It always outputs the Original URL and outputs it as the first item of the list, ensuring the main page gets scraped.\n\n- If no 'primary' and no 'fallback' pages exist, it outputs the original URL, ensuring the workflow stays running.\n\n- Gets rid of extra variants of the original URL.\n\n- Outputs the array of URLs along with the First Name of the lead because the latter nodes are freaking out and not finding the name.\n\n- An extra bit 'pairs' the First Name and the URL array so that the latter nodes know which set of info the URL(s) belong to.\n\n_Has some extra bits of code (Normalization & Deduplication), but we HAVE TO KEEP them because it doesn't work without them. It reverses the order (which can easily be fixed by removing sorting, but we don't want to mess with it), and returns extra variants of the original URL. IF IT WORKS DON'T TOUCH IT!_"
      },
      "typeVersion": 1
    },
    {
      "id": "835363fd-1602-4d80-b959-18fdc046b389",
      "name": "Icebreaker Update",
      "type": "n8n-nodes-base.airtable",
      "position": [
        1840,
        1200
      ],
      "parameters": {
        "base": {
          "__rl": true,
          "mode": "list",
          "value": "appPjcifCNI07CY8A",
          "cachedResultUrl": "https://airtable.com/appPjcifCNI07CY8A",
          "cachedResultName": "Icebreaker "
        },
        "table": {
          "__rl": true,
          "mode": "list",
          "value": "tblNtP1T6JdBwpJTz",
          "cachedResultUrl": "https://airtable.com/appPjcifCNI07CY8A/tblNtP1T6JdBwpJTz",
          "cachedResultName": "Med Spa 1/3"
        },
        "columns": {
          "value": {
            "id": "={{ $('Person info').item.json.id }}",
            "Icebreaker": "={{ $('Subject & Icebreaker').item.json['Icebreaker'] }}",
            "Subject Line": "={{ $('Subject & Icebreaker').item.json['Subject Line'] }}",
            "Website Overview": "={{ $('Website overview').item.json.text }}",
            "Icebreaker Created": "Icebreaker Created"
          },
          "schema": [
            {
              "id": "id",
              "type": "string",
              "display": true,
              "removed": false,
              "readOnly": true,
              "required": false,
              "displayName": "id",
              "defaultMatch": true
            },
            {
              "id": "First Name",
              "type": "string",
              "display": true,
              "removed": true,
              "readOnly": false,
              "required": false,
              "displayName": "First Name",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "Last Name",
              "type": "string",
              "display": true,
              "removed": true,
              "readOnly": false,
              "required": false,
              "displayName": "Last Name",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "Title",
              "type": "options",
              "display": true,
              "options": [
                {
                  "name": "Founder",
                  "value": "Founder"
                },
                {
                  "name": "Owner",
                  "value": "Owner"
                },
                {
                  "name": "Assistant Practice Manager",
                  "value": "Assistant Practice Manager"
                },
                {
                  "name": "Co-Founder & CEO",
                  "value": "Co-Founder & CEO"
                },
                {
                  "name": "Co-Owner",
                  "value": "Co-Owner"
                },
                {
                  "name": "Co-Founder",
                  "value": "Co-Founder"
                },
                {
                  "name": "Business Owner",
                  "value": "Business Owner"
                },
                {
                  "name": "Chief Executive Officer",
                  "value": "Chief Executive Officer"
                },
                {
                  "name": "Owner/Nurse Practitioner/ Expert Esthetic Injector",
                  "value": "Owner/Nurse Practitioner/ Expert Esthetic Injector"
                },
                {
                  "name": "CEO and Founder",
                  "value": "CEO and Founder"
                },
                {
                  "name": "Owner/Acupuncturist",
                  "value": "Owner/Acupuncturist"
                },
                {
                  "name": "Practice Manager",
                  "value": "Practice Manager"
                },
                {
                  "name": "Clinic Operations Director",
                  "value": "Clinic Operations Director"
                },
                {
                  "name": "Co-founder",
                  "value": "Co-founder"
                },
                {
                  "name": "CEO",
                  "value": "CEO"
                },
                {
                  "name": "Owner, Family Nurse Practitioner, and Doctor of Chiropractic",
                  "value": "Owner, Family Nurse Practitioner, and Doctor of Chiropractic"
                },
                {
                  "name": "CEO & Founder",
                  "value": "CEO & Founder"
                },
                {
                  "name": "Dermatologist and Owner",
                  "value": "Dermatologist and Owner"
                },
                {
                  "name": "Marketing Manager",
                  "value": "Marketing Manager"
                },
                {
                  "name": "President & Founder",
                  "value": "President & Founder"
                },
                {
                  "name": "Co-Founder and CEO",
                  "value": "Co-Founder and CEO"
                },
                {
                  "name": "Founder, Founder and Stylist",
                  "value": "Founder, Founder and Stylist"
                },
                {
                  "name": "Founder & CEO",
                  "value": "Founder & CEO"
                },
                {
                  "name": "Co-Owner & Vice President",
                  "value": "Co-Owner & Vice President"
                },
                {
                  "name": "Owner/ Operations, Clinical Liaison",
                  "value": "Owner/ Operations, Clinical Liaison"
                },
                {
                  "name": "Community, Owner & Founder",
                  "value": "Community, Owner & Founder"
                },
                {
                  "name": "Owner & Director of Operations",
                  "value": "Owner & Director of Operations"
                },
                {
                  "name": "Founder & Owner",
                  "value": "Founder & Owner"
                },
                {
                  "name": "Spa Owner",
                  "value": "Spa Owner"
                },
                {
                  "name": "Owner, Medical Director",
                  "value": "Owner, Medical Director"
                },
                {
                  "name": "Co-founder & Chief Executive Officer",
                  "value": "Co-founder & Chief Executive Officer"
                },
                {
                  "name": "Founder & Instructor",
                  "value": "Founder & Instructor"
                },
                {
                  "name": "Owner and Esthetician",
                  "value": "Owner and Esthetician"
                },
                {
                  "name": "Founder and CEO",
                  "value": "Founder and CEO"
                },
                {
                  "name": "Owner and CEO",
                  "value": "Owner and CEO"
                },
                {
                  "name": "Owner/Founder",
                  "value": "Owner/Founder"
                },
                {
                  "name": "CEO/Founder",
                  "value": "CEO/Founder"
                },
                {
                  "name": "Ceo/cmo",
                  "value": "Ceo/cmo"
                },
                {
                  "name": "Founder & Chief Executive Officer",
                  "value": "Founder & Chief Executive Officer"
                },
                {
                  "name": "Founder, Chief Executive Officer",
                  "value": "Founder, Chief Executive Officer"
                },
                {
                  "name": "Co Founder / Marketing Director",
                  "value": "Co Founder / Marketing Director"
                },
                {
                  "name": "Co-founder & CEO",
                  "value": "Co-founder & CEO"
                },
                {
                  "name": "CEO/Co-Founder",
                  "value": "CEO/Co-Founder"
                },
                {
                  "name": "Co-Founder and Wellness Consultant",
                  "value": "Co-Founder and Wellness Consultant"
                },
                {
                  "name": "Social Media Marketing Manager-Admin",
                  "value": "Social Media Marketing Manager-Admin"
                },
                {
                  "name": "Aesthetics Practice Manager",
                  "value": "Aesthetics Practice Manager"
                },
                {
                  "name": "President & CEO of Broker Brothers & Co. - Founder & CEO",
                  "value": "President & CEO of Broker Brothers & Co. - Founder & CEO"
                },
                {
                  "name": "CEO / Founder",
                  "value": "CEO / Founder"
                },
                {
                  "name": "Esthetician and Owner, Educator",
                  "value": "Esthetician and Owner, Educator"
                },
                {
                  "name": "Lead Physician and Clinic Director",
                  "value": "Lead Physician and Clinic Director"
                },
                {
                  "name": "Founder + CEO",
                  "value": "Founder + CEO"
                },
                {
                  "name": "Founder/Owner/Surgeon",
                  "value": "Founder/Owner/Surgeon"
                },
                {
                  "name": "Founder & Medical Director",
                  "value": "Founder & Medical Director"
                },
                {
                  "name": "Co Owner",
                  "value": "Co Owner"
                },
                {
                  "name": "Co-Founder/CEO",
                  "value": "Co-Founder/CEO"
                },
                {
                  "name": "Co-Founder/Clinician",
                  "value": "Co-Founder/Clinician"
                },
                {
                  "name": "Owner /CEO",
                  "value": "Owner /CEO"
                },
                {
                  "name": "Co-Founder/ CEO",
                  "value": "Co-Founder/ CEO"
                },
                {
                  "name": "Founder/CEO",
                  "value": "Founder/CEO"
                },
                {
                  "name": "Owner/CEO",
                  "value": "Owner/CEO"
                },
                {
                  "name": "Founder & President",
                  "value": "Founder & President"
                },
                {
                  "name": "Owner & Co-Founder",
                  "value": "Owner & Co-Founder"
                },
                {
                  "name": "Founder & Head of Product Strategy",
                  "value": "Founder & Head of Product Strategy"
                },
                {
                  "name": "Senior Marketing Manager",
                  "value": "Senior Marketing Manager"
                },
                {
                  "name": "North Clinic Director",
                  "value": "North Clinic Director"
                },
                {
                  "name": "Medical Director/Owner",
                  "value": "Medical Director/Owner"
                },
                {
                  "name": "President and CEO SeniorSkin, EpiMD Founder",
                  "value": "President and CEO SeniorSkin, EpiMD Founder"
                },
                {
                  "name": "Associate Practice Manager",
                  "value": "Associate Practice Manager"
                },
                {
                  "name": "Chief Executive Officer, Co-Founder",
                  "value": "Chief Executive Officer, Co-Founder"
                },
                {
                  "name": "Owner/ Esthetician",
                  "value": "Owner/ Esthetician"
                },
                {
                  "name": "Co-Founder and co-CEO",
                  "value": "Co-Founder and co-CEO"
                },
                {
                  "name": "Co-Founder | CEO",
                  "value": "Co-Founder | CEO"
                },
                {
                  "name": "Owner & Founder",
                  "value": "Owner & Founder"
                },
                {
                  "name": "Co- Founder & CEO",
                  "value": "Co- Founder & CEO"
                },
                {
                  "name": "Co-Founder & COO",
                  "value": "Co-Founder & COO"
                },
                {
                  "name": "Founder / CEO",
                  "value": "Founder / CEO"
                },
                {
                  "name": "Founder, CEO",
                  "value": "Founder, CEO"
                },
                {
                  "name": "Marketing Lead",
                  "value": "Marketing Lead"
                },
                {
                  "name": "Company Owner",
                  "value": "Company Owner"
                },
                {
                  "name": "Small Business Owner",
                  "value": "Small Business Owner"
                },
                {
                  "name": "Chairman/CEO of CourMed",
                  "value": "Chairman/CEO of CourMed"
                },
                {
                  "name": "President and Co-Founder",
                  "value": "President and Co-Founder"
                },
                {
                  "name": "CEO & Chief Revenue Officer",
                  "value": "CEO & Chief Revenue Officer"
                },
                {
                  "name": "Educator, Owner",
                  "value": "Educator, Owner"
                },
                {
                  "name": "Founder/ CEO",
                  "value": "Founder/ CEO"
                },
                {
                  "name": "SPA Owner",
                  "value": "SPA Owner"
                },
                {
                  "name": "CEO Founder of The Bio Optimization Institute",
                  "value": "CEO Founder of The Bio Optimization Institute"
                },
                {
                  "name": "Co-Founder and CEO 2018 \u2013 Present Qvene Brand",
                  "value": "Co-Founder and CEO 2018 \u2013 Present Qvene Brand"
                },
                {
                  "name": "Founder - Owner",
                  "value": "Founder - Owner"
                },
                {
                  "name": "CEO + Founder",
                  "value": "CEO + Founder"
                },
                {
                  "name": "President and Founder",
                  "value": "President and Founder"
                },
                {
                  "name": "President/Owner",
                  "value": "President/Owner"
                },
                {
                  "name": "President & Co-Founder",
                  "value": "President & Co-Founder"
                },
                {
                  "name": "Owner/Esthetician",
                  "value": "Owner/Esthetician"
                },
                {
                  "name": "Medical Spa Manager + Marketing Director",
                  "value": "Medical Spa Manager + Marketing Director"
                },
                {
                  "name": "Co-Founder & Co-CEO of Great Many",
                  "value": "Co-Founder & Co-CEO of Great Many"
                },
                {
                  "name": "Co-Founder and Director",
                  "value": "Co-Founder and Director"
                },
                {
                  "name": "Content and Social Media Marketing Manager",
                  "value": "Content and Social Media Marketing Manager"
                },
                {
                  "name": "Business Owner/ Founder. Doctor of Physical Therapy. Performance Director",
                  "value": "Business Owner/ Founder. Doctor of Physical Therapy. Performance Director"
                },
                {
                  "name": "Owner/ President",
                  "value": "Owner/ President"
                },
                {
                  "name": "Owner/President",
                  "value": "Owner/President"
                },
                {
                  "name": "Naturopathic Doctor, Owner Young Naturopathic Center for Wellness",
                  "value": "Naturopathic Doctor, Owner Young Naturopathic Center for Wellness"
                },
                {
                  "name": "Aesthetics Nurse Practitioner/Business Owner/Cosmetic Trainer",
                  "value": "Aesthetics Nurse Practitioner/Business Owner/Cosmetic Trainer"
                },
                {
                  "name": "Co-Founder at Nourished3",
                  "value": "Co-Founder at Nourished3"
                },
                {
                  "name": "President & CEO",
                  "value": "President & CEO"
                },
                {
                  "name": "Co-Owner, Naturopathic Physician",
                  "value": "Co-Owner, Naturopathic Physician"
                },
                {
                  "name": "Principal Owner",
                  "value": "Principal Owner"
                },
                {
                  "name": "Manager & Marketing Director",
                  "value": "Manager & Marketing Director"
                },
                {
                  "name": "Owner and CEO, Consultant",
                  "value": "Owner and CEO, Consultant"
                },
                {
                  "name": "Sales and Marketing Manager",
                  "value": "Sales and Marketing Manager"
                },
                {
                  "name": "CEO, Founder & Chief Naturopathic Doctor",
                  "value": "CEO, Founder & Chief Naturopathic Doctor"
                },
                {
                  "name": "Partner and CEO",
                  "value": "Partner and CEO"
                },
                {
                  "name": "CEO / President",
                  "value": "CEO / President"
                },
                {
                  "name": "Founder, Director and Venture Funding",
                  "value": "Founder, Director and Venture Funding"
                },
                {
                  "name": "CEO & Sole Esthetician",
                  "value": "CEO & Sole Esthetician"
                },
                {
                  "name": "HydraMed Infusion and Wellness Owner and Managing Physician",
                  "value": "HydraMed Infusion and Wellness Owner and Managing Physician"
                },
                {
                  "name": "Owner/director",
                  "value": "Owner/director"
                },
                {
                  "name": "Founder, CEO, & Lead Alchemist",
                  "value": "Founder, CEO, & Lead Alchemist"
                },
                {
                  "name": "President and CEO",
                  "value": "President and CEO"
                },
                {
                  "name": "Co Founder",
                  "value": "Co Founder"
                },
                {
                  "name": "Owner/Administrator",
                  "value": "Owner/Administrator"
                },
                {
                  "name": "Founder, CEO, Certified Photonic Therapist and Noninvasive Body Sculptor",
                  "value": "Founder, CEO, Certified Photonic Therapist and Noninvasive Body Sculptor"
                },
                {
                  "name": "Founder, Formulator + CEO",
                  "value": "Founder, Formulator + CEO"
                },
                {
                  "name": "Physician Founder/CEO",
                  "value": "Physician Founder/CEO"
                },
                {
                  "name": "Co-Founder/Co-Owner",
                  "value": "Co-Founder/Co-Owner"
                },
                {
                  "name": "Owner Mina's Studio",
                  "value": "Owner Mina's Studio"
                },
                {
                  "name": "Founder + Aesthetics Injector",
                  "value": "Founder + Aesthetics Injector"
                },
                {
                  "name": "Co-Owner at Good Carma Studio, Co-Founder",
                  "value": "Co-Owner at Good Carma Studio, Co-Founder"
                },
                {
                  "name": "Founder and Owner",
                  "value": "Founder and Owner"
                },
                {
                  "name": "Co-Founder, CEO",
                  "value": "Co-Founder, CEO"
                },
                {
                  "name": "Licensed Esthetician/Oncology Trained/Trainer. Founder",
                  "value": "Licensed Esthetician/Oncology Trained/Trainer. Founder"
                },
                {
                  "name": "President - CEO",
                  "value": "President - CEO"
                },
                {
                  "name": "Co-CEO",
                  "value": "Co-CEO"
                },
                {
                  "name": "Owner/ Coach",
                  "value": "Owner/ Coach"
                },
                {
                  "name": "Founder & Dreamer",
                  "value": "Founder & Dreamer"
                },
                {
                  "name": "Email Marketing Manager",
                  "value": "Email Marketing Manager"
                },
                {
                  "name": "Cofounder, COO",
                  "value": "Cofounder, COO"
                },
                {
                  "name": "Co-Founder & Chief Operating Officer",
                  "value": "Co-Founder & Chief Operating Officer"
                },
                {
                  "name": "Franchise Owner",
                  "value": "Franchise Owner"
                },
                {
                  "name": "Founder/Esthetician",
                  "value": "Founder/Esthetician"
                },
                {
                  "name": "Co-Chief Executive Officer",
                  "value": "Co-Chief Executive Officer"
                },
                {
                  "name": "Executive Practice Manager",
                  "value": "Executive Practice Manager"
                },
                {
                  "name": "Owner and Doctor",
                  "value": "Owner and Doctor"
                },
                {
                  "name": "Co-founder and Chief Technical Officer",
                  "value": "Co-founder and Chief Technical Officer"
                },
                {
                  "name": "Co-Founder & Senior Aesthetic Practitioner",
                  "value": "Co-Founder & Senior Aesthetic Practitioner"
                },
                {
                  "name": "Co-Founder and Practitioner",
                  "value": "Co-Founder and Practitioner"
                },
                {
                  "name": "Growth & Content Marketing Manager",
                  "value": "Growth & Content Marketing Manager"
                },
                {
                  "name": "Co-Founder, Chief Executive Officer",
                  "value": "Co-Founder, Chief Executive Officer"
                },
                {
                  "name": "CEO/Master Esthetician",
                  "value": "CEO/Master Esthetician"
                },
                {
                  "name": "Owner, Founder and Otolaryngologist",
                  "value": "Owner, Founder and Otolaryngologist"
                },
                {
                  "name": "Co-Founder and CCO",
                  "value": "Co-Founder and CCO"
                },
                {
                  "name": "Manager, Practice Systems and Training",
                  "value": "Manager, Practice Systems and Training"
                },
                {
                  "name": "CEO, Founder",
                  "value": "CEO, Founder"
                },
                {
                  "name": "Business Owner @ Onsite Care Solutions P.S. Business Owner",
                  "value": "Business Owner @ Onsite Care Solutions P.S. Business Owner"
                },
                {
                  "name": "Owner/Stylist",
                  "value": "Owner/Stylist"
                },
                {
                  "name": "Nurse Practitioner & CEO",
                  "value": "Nurse Practitioner & CEO"
                },
                {
                  "name": "CoCEO & Founder",
                  "value": "CoCEO & Founder"
                },
                {
                  "name": "Business Owner at Golden Aesthetics Medspa",
                  "value": "Business Owner at Golden Aesthetics Medspa"
                },
                {
                  "name": "CEO and Co-Founder",
                  "value": "CEO and Co-Founder"
                },
                {
                  "name": "CEO & Co-Founder",
                  "value": "CEO & Co-Founder"
                },
                {
                  "name": "Owner and Founder",
                  "value": "Owner and Founder"
                },
                {
                  "name": "Marketing and Sales Manager",
                  "value": "Marketing and Sales Manager"
                },
                {
                  "name": "President | Owner",
                  "value": "President | Owner"
                },
                {
                  "name": "Business Owner/Family Nurse Practitioner",
                  "value": "Business Owner/Family Nurse Practitioner"
                },
                {
                  "name": "Digital Marketing Manager",
                  "value": "Digital Marketing Manager"
                },
                {
                  "name": "Founder/President",
                  "value": "Founder/President"
                },
                {
                  "name": "Founder, CEO & Chief Chemist",
                  "value": "Founder, CEO & Chief Chemist"
                },
                {
                  "name": "Manager of Consumer Marketing",
                  "value": "Manager of Consumer Marketing"
                },
                {
                  "name": "CEO, Member",
                  "value": "CEO, Member"
                },
                {
                  "name": "Medical Director, Owner",
                  "value": "Medical Director, Owner"
                },
                {
                  "name": "Owner, Licensed Acupuncturist / Herbalist",
                  "value": "Owner, Licensed Acupuncturist / Herbalist"
                },
                {
                  "name": "RN, Founder & President",
                  "value": "RN, Founder & President"
                },
                {
                  "name": "Dermatology Certified Nurse Practitioner/ Owner",
                  "value": "Dermatology Certified Nurse Practitioner/ Owner"
                },
                {
                  "name": "Advanced Practice Aesthetic Nurse Injector & Partner/Owner",
                  "value": "Advanced Practice Aesthetic Nurse Injector & Partner/Owner"
                },
                {
                  "name": "Owner/Aesthetician",
                  "value": "Owner/Aesthetician"
                },
                {
                  "name": "Owner & CEO",
                  "value": "Owner & CEO"
                },
                {
                  "name": "President & Founder; Master Nurse Injector; International Injectable Trainer",
                  "value": "President & Founder; Master Nurse Injector; International Injectable Trainer"
                },
                {
                  "name": "Office & Marketing Manager",
                  "value": "Office & Marketing Manager"
                },
                {
                  "name": "Owner/ Licensed Acupuncturist",
                  "value": "Owner/ Licensed Acupuncturist"
                },
                {
                  "name": "Med spa Owner",
                  "value": "Med spa Owner"
                },
                {
                  "name": "\ufe0f Founder, Ladybird Jet",
                  "value": "\ufe0f Founder, Ladybird Jet"
                },
                {
                  "name": "Co-founder - CCO",
                  "value": "Co-founder - CCO"
                },
                {
                  "name": "Board Member | CEO",
                  "value": "Board Member | CEO"
                },
                {
                  "name": "Founder and Therapist",
                  "value": "Founder and Therapist"
                },
                {
                  "name": "Sales Marketing Manager & Health & Clinic Manager",
                  "value": "Sales Marketing Manager & Health & Clinic Manager"
                },
                {
                  "name": "US Marketing Manager",
                  "value": "US Marketing Manager"
                },
                {
                  "name": "Owner, Medical Aesthetician & Cosmetic Laser Technician",
                  "value": "Owner, Medical Aesthetician & Cosmetic Laser Technician"
                },
                {
                  "name": "Physician Aesthetics Specialist and Owner of Bend Aesthetics and Wellness",
                  "value": "Physician Aesthetics Specialist and Owner of Bend Aesthetics and Wellness"
                },
                {
                  "name": "Owner, Founder",
                  "value": "Owner, Founder"
                },
                {
                  "name": "Ecommerce Marketing Manager",
                  "value": "Ecommerce Marketing Manager"
                },
                {
                  "name": "License Esthetician and Owner",
                  "value": "License Esthetician and Owner"
                },
                {
                  "name": "CEO, President",
                  "value": "CEO, President"
                },
                {
                  "name": "CEO of Artistry Wellness & Medspa",
                  "value": "CEO of Artistry Wellness & Medspa"
                },
                {
                  "name": "Founder and Chief Executive Officer",
                  "value": "Founder and Chief Executive Officer"
                },
                {
                  "name": "Title",
                  "value": "Title"
                }
              ],
              "removed": true,
              "readOnly": false,
              "required": false,
              "displayName": "Title",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "Company Name",
              "type": "string",
              "display": true,
              "removed": true,
              "readOnly": false,
              "required": false,
              "displayName": "Company Name",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "Email",
              "type": "string",
              "display": true,
              "removed": true,
              "readOnly": false,
              "required": false,
              "displayName": "Email",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "Person Linkedin Url",
              "type": "string",
              "display": true,
              "removed": true,
              "readOnly": false,
              "required": false,
              "displayName": "Person Linkedin Url",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "Website",
              "type": "string",
              "display": true,
              "removed": true,
              "readOnly": false,
              "required": false,
              "displayName": "Website",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "Company Linkedin Url",
              "type": "string",
              "display": true,
              "removed": true,
              "readOnly": false,
              "required": false,
              "displayName": "Company Linkedin Url",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "ZB Status",
              "type": "options",
              "display": true,
              "options": [
                {
                  "name": "valid",
                  "value": "valid"
                },
                {
                  "name": "ZB Status",
                  "value": "ZB Status"
                }
              ],
              "removed": true,
              "readOnly": false,
              "required": false,
              "displayName": "ZB Status",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "ZB Sub status",
              "type": "options",
              "display": true,
              "options": [
                {
                  "name": "alias_address",
                  "value": "alias_address"
                },
                {
                  "name": "ZB Sub status",
                  "value": "ZB Sub status"
                }
              ],
              "removed": true,
              "readOnly": false,
              "required": false,
              "displayName": "ZB Sub status",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "ZB Free Email",
              "type": "boolean",
              "display": true,
              "removed": true,
              "readOnly": false,
              "required": false,
              "displayName": "ZB Free Email",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "Subject Line",
              "type": "string",
              "display": true,
              "removed": false,
              "readOnly": false,
              "required": false,
              "displayName": "Subject Line",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "Icebreaker",
              "type": "string",
              "display": true,
              "removed": false,
              "readOnly": false,
              "required": false,
              "displayName": "Icebreaker",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "Icebreaker Created",
              "type": "options",
              "display": true,
              "options": [
                {
                  "name": "Icebreaker Created",
                  "value": "Icebreaker Created"
                },
                {
                  "name": "Under Review",
                  "value": "Under Review"
                }
              ],
              "removed": false,
              "readOnly": false,
              "required": false,
              "displayName": "Icebreaker Created",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "Website Overview",
              "type": "string",
              "display": true,
              "removed": false,
              "readOnly": false,
              "required": false,
              "displayName": "Website Overview",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            }
          ],
          "mappingMode": "defineBelow",
          "matchingColumns": [
            "id"
          ],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        },
        "options": {},
        "operation": "update"
      },
      "credentials": {
        "airtableTokenApi": {
          "name": "<your credential>"
        }
      },
      "retryOnFail": true,
      "typeVersion": 2.1
    },
    {
      "id": "19d3f301-5b78-4a8e-b12e-b6d2a131c696",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1328,
        -32
      ],
      "parameters": {
        "color": 6,
        "width": 230,
        "height": 320,
        "content": "## Remove External URLs"
      },
      "typeVersion": 1
    },
    {
      "id": "a6086278-11d5-4fa0-85ba-685d3f957eed",
      "name": "Apify Scraper",
      "type": "n8n-nodes-base.httpRequest",
      "onError": "continueErrorOutput",
      "position": [
        -704,
        304
      ],
      "parameters": {
        "url": "https://api.apify.com/v2/acts/mtrunkat~url-list-download-html/run-sync-get-dataset-items?token=YOUR_TOKEN_HERE<YOUR API KEY>",
        "options": {},
        "jsonBody": "={\n    \"maxRequestRetries\": 3,\n    \"proxyConfiguration\": {\n        \"useApifyProxy\": true\n    },\n    \"requestListSources\": [\n        {\n            \"url\": \"{{ $json.Website }}\"\n        }\n    ],\n    \"useChrome\": true\n} ",
        "sendBody": true,
        "specifyBody": "json"
      },
      "retryOnFail": false,
      "typeVersion": 4.3
    },
    {
      "id": "5b768149-5234-44fe-bdaa-c677e1bae348",
      "name": "If it says no content",
      "type": "n8n-nodes-base.if",
      "position": [
        4128,
        464
      ],
      "parameters": {
        "options": {
          "ignoreCase": true
        },
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": false,
            "typeValidation": "strict"
          },
          "combinator": "or",
          "conditions": [
            {
              "id": "b59cc7d1-8f6a-4070-9e32-ae2809e3cbfa",
              "operator": {
                "type": "string",
                "operation": "notEquals"
              },
              "leftValue": "={{ $json['Webpages Overview'] }}",
              "rightValue": "=no content"
            },
            {
              "id": "eeb5a105-9d33-45b9-abf9-3613f9fa27b4",
              "operator": {
                "type": "string",
                "operation": "contains"
              },
              "leftValue": "={{ $json['Webpages Overview'] }}",
              "rightValue": "Website expired"
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "eb22b90c-cc7e-4d3a-88f4-1d3a55cbd65c",
      "name": "Update No content",
      "type": "n8n-nodes-base.airtable",
      "position": [
        2144,
        1200
      ],
      "parameters": {
        "base": {
          "__rl": true,
          "mode": "list",
          "value": "appPjcifCNI07CY8A",
          "cachedResultUrl": "https://airtable.com/appPjcifCNI07CY8A",
          "cachedResultName": "Icebreaker "
        },
        "table": {
          "__rl": true,
          "mode": "list",
          "value": "tblNtP1T6JdBwpJTz",
          "cachedResultUrl": "https://airtable.com/appPjcifCNI07CY8A/tblNtP1T6JdBwpJTz",
          "cachedResultName": "Med Spa 1/3"
        },
        "columns": {
          "value": {
            "id": "={{ $('Person info').item.json.id }}",
            "Icebreaker": "={{ $('Send icebreaker & subject no content').item.json.Icebreaker }}",
            "Subject Line": "={{ $('Send icebreaker & subject no content').item.json['Subject Line'] }}",
            "Icebreaker Created": "Icebreaker Created"
          },
          "schema": [
            {
              "id": "id",
              "type": "string",
              "display": true,
              "removed": false,
              "readOnly": true,
              "required": false,
              "displayName": "id",
              "defaultMatch": true
            },
            {
              "id": "First Name",
              "type": "string",
              "display": true,
              "removed": true,
              "readOnly": false,
              "required": false,
              "displayName": "First Name",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "Last Name",
              "type": "string",
              "display": true,
              "removed": true,
              "readOnly": false,
              "required": false,
              "displayName": "Last Name",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "Title",
              "type": "options",
              "display": true,
              "options": [
                {
                  "name": "Founder",
                  "value": "Founder"
                },
                {
                  "name": "Owner",
                  "value": "Owner"
                },
                {
                  "name": "Assistant Practice Manager",
                  "value": "Assistant Practice Manager"
                },
                {
                  "name": "Co-Founder & CEO",
                  "value": "Co-Founder & CEO"
                },
                {
                  "name": "Co-Owner",
                  "value": "Co-Owner"
                },
                {
                  "name": "Co-Founder",
                  "value": "Co-Founder"
                },
                {
                  "name": "Business Owner",
                  "value": "Business Owner"
                },
                {
                  "name": "Chief Executive Officer",
                  "value": "Chief Executive Officer"
                },
                {
                  "name": "Owner/Nurse Practitioner/ Expert Esthetic Injector",
                  "value": "Owner/Nurse Practitioner/ Expert Esthetic Injector"
                },
                {
                  "name": "CEO and Founder",
                  "value": "CEO and Founder"
                },
                {
                  "name": "Owner/Acupuncturist",
                  "value": "Owner/Acupuncturist"
                },
                {
                  "name": "Practice Manager",
                  "value": "Practice Manager"
                },
                {
                  "name": "Clinic Operations Director",
                  "value": "Clinic Operations Director"
                },
                {
                  "name": "Co-founder",
                  "value": "Co-founder"
                },
                {
                  "name": "CEO",
                  "value": "CEO"
                },
                {
                  "name": "Owner, Family Nurse Practitioner, and Doctor of Chiropractic",
                  "value": "Owner, Family Nurse Practitioner, and Doctor of Chiropractic"
                },
                {
                  "name": "CEO & Founder",
                  "value": "CEO & Founder"
                },
                {
                  "name": "Dermatologist and Owner",
                  "value": "Dermatologist and Owner"
                },
                {
                  "name": "Marketing Manager",
                  "value": "Marketing Manager"
                },
                {
                  "name": "President & Founder",
                  "value": "President & Founder"
                },
                {
                  "name": "Co-Founder and CEO",
                  "value": "Co-Founder and CEO"
                },
                {
                  "name": "Founder, Founder and Stylist",
                  "value": "Founder, Founder and Stylist"
                },
                {
                  "name": "Founder & CEO",
                  "value": "Founder & CEO"
                },
                {
                  "name": "Co-Owner & Vice President",
                  "value": "Co-Owner & Vice President"
                },
                {
                  "name": "Owner/ Operations, Clinical Liaison",
                  "value": "Owner/ Operations, Clinical Liaison"
                },
                {
                  "name": "Community, Owner & Founder",
                  "value": "Community, Owner & Founder"
                },
                {
                  "name": "Owner & Director of Operations",
                  "value": "Owner & Director of Operations"
                },
                {
                  "name": "Founder & Owner",
                  "value": "Founder & Owner"
                },
                {
                  "name": "Spa Owner",
                  "value": "Spa Owner"
                },
                {
                  "name": "Owner, Medical Director",
                  "value": "Owner, Medical Director"
                },
                {
                  "name": "Co-founder & Chief Executive Officer",
                  "value": "Co-founder & Chief Executive Officer"
                },
                {
                  "name": "Founder & Instructor",
                  "value": "Founder & Instructor"
                },
                {
                  "name": "Owner and Esthetician",
                  "value": "Owner and Esthetician"
                },
                {
                  "name": "Founder and CEO",
                  "value": "Founder and CEO"
                },
                {
                  "name": "Owner and CEO",
                  "value": "Owner and CEO"
                },
                {
                  "name": "Owner/Founder",
                  "value": "Owner/Founder"
                },
                {
                  "name": "CEO/Founder",
                  "value": "CEO/Founder"
                },
                {
                  "name": "Ceo/cmo",
                  "value": "Ceo/cmo"
                },
                {
                  "name": "Founder & Chief Executive Officer",
                  "value": "Founder & Chief Executive Officer"
                },
                {
                  "name": "Founder, Chief Executive Officer",
                  "value": "Founder, Chief Executive Officer"
                },
                {
                  "name": "Co Founder / Marketing Director",
                  "value": "Co Founder / Marketing Director"
                },
                {
                  "name": "Co-founder & CEO",
                  "value": "Co-founder & CEO"
                },
                {
                  "name": "CEO/Co-Founder",
                  "value": "CEO/Co-Founder"
                },
                {
                  "name": "Co-Founder and Wellness Consultant",
                  "value": "Co-Founder and Wellness Consultant"
                },
                {
                  "name": "Social Media Marketing Manager-Admin",
                  "value": "Social Media Marketing Manager-Admin"
                },
                {
                  "name": "Aesthetics Practice Manager",
                  "value": "Aesthetics Practice Manager"
                },
                {
                  "name": "President & CEO of Broker Brothers & Co. - Founder & CEO",
                  "value": "President & CEO of Broker Brothers & Co. - Founder & CEO"
                },
                {
                  "name": "CEO / Founder",
                  "value": "CEO / Founder"
                },
                {
                  "name": "Esthetician and Owner, Educator",
                  "value": "Esthetician and Owner, Educator"
                },
                {
                  "name": "Lead Physician and Clinic Director",
                  "value": "Lead Physician and Clinic Director"
                },
                {
                  "name": "Founder + CEO",
                  "value": "Founder + CEO"
                },
                {
                  "name": "Founder/Owner/Surgeon",
                  "value": "Founder/Owner/Surgeon"
                },
                {
                  "name": "Founder & Medical Director",
                  "value": "Founder & Medical Director"
                },
                {
                  "name": "Co Owner",
                  "value": "Co Owner"
                },
                {
                  "name": "Co-Founder/CEO",
                  "value": "Co-Founder/CEO"
                },
                {
                  "name": "Co-Founder/Clinician",
                  "value": "Co-Founder/Clinician"
                },
                {
                  "name": "Owner /CEO",
                  "value": "Owner /CEO"
                },
                {
                  "name": "Co-Founder/ CEO",
                  "value": "Co-Founder/ CEO"
                },
                {
                  "name": "Founder/CEO",
                  "value": "Founder/CEO"
                },
                {
                  "name": "Owner/CEO",
                  "value": "Owner/CEO"
                },
                {
                  "name": "Founder & President",
                  "value": "Founder & President"
                },
                {
                  "name": "Owner & Co-Founder",
                  "value": "Owner & Co-Founder"
                },
                {
                  "name": "Founder & Head of Product Strategy",
                  "value": "Founder & Head of Product Strategy"
                },
                {
                  "name": "Senior Marketing Manager",
                  "value": "Senior Marketing Manager"
                },
                {
                  "name": "North Clinic Director",
                  "value": "North Clinic Director"
                },
                {
                  "name": "Medical Director/Owner",
                  "value": "Medical Director/Owner"
                },
                {
                  "name": "President and CEO SeniorSkin, EpiMD Founder",
                  "value": "President and CEO SeniorSkin, EpiMD Founder"
                },
                {
                  "name": "Associate Practice Manager",
                  "value": "Associate Practice Manager"
                },
                {
                  "name": "Chief Executive Officer, Co-Founder",
                  "value": "Chief Executive Officer, Co-Founder"
                },
                {
                  "name": "Owner/ Esthetician",
                  "value": "Owner/ Esthetician"
                },
                {
                  "name": "Co-Founder and co-CEO",
                  "value": "Co-Founder and co-CEO"
                },
                {
                  "name": "Co-Founder | CEO",
                  "value": "Co-Founder | CEO"
                },
                {
                  "name": "Owner & Founder",
                  "value": "Owner & Founder"
                },
                {
                  "name": "Co- Founder & CEO",
                  "value": "Co- Founder & CEO"
                },
                {
                  "name": "Co-Founder & COO",
                  "value": "Co-Founder & COO"
                },
                {
                  "name": "Founder / CEO",
                  "value": "Founder / CEO"
                },
                {
                  "name": "Founder, CEO",
                  "value": "Founder, CEO"
                },
                {
                  "name": "Marketing Lead",
                  "value": "Marketing Lead"
                },
                {
                  "name": "Company Owner",
                  "value": "Company Owner"
                },
                {
                  "name": "Small Business Owner",
                  "value": "Small Business Owner"
                },
                {
                  "name": "Chairman/CEO of CourMed",
                  "value": "Chairman/CEO of CourMed"
                },
                {
                  "name": "President and Co-Founder",
                  "value": "President and Co-Founder"
                },
                {
                  "name": "CEO & Chief Revenue Officer",
                  "value": "CEO & Chief Revenue Officer"
                },
                {
                  "name": "Educator, Owner",
                  "value": "Educator, Owner"
                },
                {
                  "name": "Founder/ CEO",
                  "value": "Founder/ CEO"
                },
                {
                  "name": "SPA Owner",
                  "value": "SPA Owner"
                },
                {
                  "name": "CEO Founder of The Bio Optimization Institute",
                  "value": "CEO Founder of The Bio Optimization Institute"
                },
                {
                  "name": "Co-Founder and CEO 2018 \u2013 Present Qvene Brand",
                  "value": "Co-Founder and CEO 2018 \u2013 Present Qvene Brand"
                },
                {
                  "name": "Founder - Owner",
                  "value": "Founder - Owner"
                },
                {
                  "name": "CEO + Founder",
                  "value": "CEO + Founder"
                },
                {
                  "name": "President and Founder",
                  "value": "President and Founder"
                },
                {
                  "name": "President/Owner",
                  "value": "President/Owner"
                },
                {
                  "name": "President & Co-Founder",
                  "value": "President & Co-Founder"
                },
                {
                  "name": "Owner/Esthetician",
                  "value": "Owner/Esthetician"
                },
                {
                  "name": "Medical Spa Manager + Marketing Director",
                  "value": "Medical Spa Manager + Marketing Director"
                },
                {
                  "name": "Co-Founder & Co-CEO of Great Many",
                  "value": "Co-Founder & Co-CEO of Great Many"
                },
                {
                  "name": "Co-Founder and Director",
                  "value": "Co-Founder and Director"
                },
                {
                  "name": "Content and Social Media Marketing Manager",
                  "value": "Content and Social Media Marketing Manager"
                },
                {
                  "name": "Business Owner/ Founder. Doctor of Physical Therapy. Performance Director",
                  "value": "Business Owner/ Founder. Doctor of Physical Therapy. Performance Director"
                },
                {
                  "name": "Owner/ President",
                  "value": "Owner/ President"
                },
                {
                  "name": "Owner/President",
                  "value": "Owner/President"
                },
                {
                  "name": "Naturopathic Doctor, Owner Young Naturopathic Center for Wellness",
                  "value": "Naturopathic Doctor, Owner Young Naturopathic Center for Wellness"
                },
                {
                  "name": "Aesthetics Nurse Practitioner/Business Owner/Cosmetic Trainer",
                  "value": "Aesthetics Nurse Practitioner/Business Owner/Cosmetic Trainer"
                },
                {
                  "name": "Co-Founder at Nourished3",
                  "value": "Co-Founder at Nourished3"
                },
                {
                  "name": "President & CEO",
                  "value": "President & CEO"
                },
                {
                  "name": "Co-Owner, Naturopathic Physician",
                  "value": "Co-Owner, Naturopathic Physician"
                },
                {
                  "name": "Principal Owner",
                  "value": "Principal Owner"
                },
                {
                  "name": "Manager & Marketing Director",
                  "value": "Manager & Marketing Director"
                },
                {
                  "name": "Owner and CEO, Consultant",
                  "value": "Owner and CEO, Consultant"
                },
                {
                  "name": "Sales and Marketing Manager",
                  "value": "Sales and Marketing Manager"
                },
                {
                  "name": "CEO, Founder & Chief Naturopathic Doctor",
                  "value": "CEO, Founder & Chief Naturopathic Doctor"
                },
                {
                  "name": "Partner and CEO",
                  "value": "Partner and CEO"
                },
                {
                  "name": "CEO / President",
                  "value": "CEO / President"
                },
                {
                  "name": "Founder, Director and Venture Funding",
                  "value": "Founder, Director and Venture Funding"
                },
                {
                  "name": "CEO & Sole Esthetician",
                  "value": "CEO & Sole Esthetician"
                },
                {
                  "name": "HydraMed Infusion and Wellness Owner and Managing Physician",
                  "value": "HydraMed Infusion and Wellness Owner and Managing Physician"
                },
                {
                  "name": "Owner/director",
                  "value": "Owner/director"
                },
                {
                  "name": "Founder, CEO, & Lead Alchemist",
                  "value": "Founder, CEO, & Lead Alchemist"
                },
                {
                  "name": "President and CEO",
                  "value": "President and CEO"
                },
                {
                  "name": "Co Founder",
                  "value": "Co Founder"
                },
                {
                  "name": "Owner/Administrator",
                  "value": "Owner/Administrator"
                },
                {
                  "name": "Founder, CEO, Certified Photonic Therapist and Noninvasive Body Sculptor",
                  "value": "Founder, CEO, Certified Photonic Therapist and Noninvasive Body Sculptor"
                },
                {
                  "name": "Founder, Formulator + CEO",
                  "value": "Founder, Formulator + CEO"
                },
                {
                  "name": "Physician Founder/CEO",
                  "value": "Physician Founder/CEO"
                },
                {
                  "name": "Co-Founder/Co-Owner",
                  "value": "Co-Founder/Co-Owner"
                },
                {
                  "name": "Owner Mina's Studio",
                  "value": "Owner Mina's Studio"
                },
                {
                  "name": "Founder + Aesthetics Injector",
                  "value": "Founder + Aesthetics Injector"
                },
                {
                  "name": "Co-Owner at Good Carma Studio, Co-Founder",
                  "value": "Co-Owner at Good Carma Studio, Co-Founder"
                },
                {
                  "name": "Founder and Owner",
                  "value": "Founder and Owner"
                },
                {
                  "name": "Co-Founder, CEO",
                  "value": "Co-Founder, CEO"
                },
                {
                  "name": "Licensed Esthetician/Oncology Trained/Trainer. Founder",
                  "value": "Licensed Esthetician/Oncology Trained/Trainer. Founder"
                },
                {
                  "name": "President - CEO",
                  "value": "President - CEO"
                },
                {
                  "name": "Co-CEO",
                  "value": "Co-CEO"
                },
                {
                  "name": "Owner/ Coach",
                  "value": "Owner/ Coach"
                },
                {
                  "name": "Founder & Dreamer",
                  "value": "Founder & Dreamer"
                },
                {
                  "name": "Email Marketing Manager",
                  "value": "Email Marketing Manager"
                },
                {
                  "name": "Cofounder, COO",
                  "value": "Cofounder, COO"
                },
                {
                  "name": "Co-Founder & Chief Operating Officer",
                  "value": "Co-Founder & Chief Operating Officer"
                },
                {
                  "name": "Franchise Owner",
                  "value": "Franchise Owner"
                },
                {
                  "name": "Founder/Esthetician",
                  "value": "Founder/Esthetician"
                },
                {
                  "name": "Co-Chief Executive Officer",
                  "value": "Co-Chief Executive Officer"
                },
                {
                  "name": "Executive Practice Manager",
                  "value": "Executive Practice Manager"
                },
                {
                  "name": "Owner and Doctor",
                  "value": "Owner and Doctor"
                },
                {
                  "name": "Co-founder and Chief Technical Officer",
                  "value": "Co-founder and Chief Technical Officer"
                },
                {
                  "name": "Co-Founder & Senior Aesthetic Practitioner",
                  "value": "Co-Founder & Senior Aesthetic Practitioner"
                },
                {
                  "name": "Co-Founder and Practitioner",
                  "value": "Co-Founder and Practitioner"
                },
                {
                  "name": "Growth & Content Marketing Manager",
                  "value": "Growth & Content Marketing Manager"
                },
                {
                  "name": "Co-Founder, Chief Executive Officer",
                  "value": "Co-Founder, Chief Executive Officer"
                },
                {
                  "name": "CEO/Master Esthetician",
                  "value": "CEO/Master Esthetician"
                },
                {
                  "name": "Owner, Founder and Otolaryngologist",
                  "value": "Owner, Founder and Otolaryngologist"
                },
                {
                  "name": "Co-Founder and CCO",
                  "value": "Co-Founder and CCO"
                },
                {
                  "name": "Manager, Practice Systems and Training",
                  "value": "Manager, Practice Systems and Training"
                },
                {
                  "name": "CEO, Founder",
                  "value": "CEO, Founder"
                },
                {
                  "name": "Business Owner @ Onsite Care Solutions P.S. Business Owner",
                  "value": "Business Owner @ Onsite Care Solutions P.S. Business Owner"
                },
                {
                  "name": "Owner/Stylist",
                  "value": "Owner/Stylist"
                },
                {
                  "name": "Nurse Practitioner & CEO",
                  "value": "Nurse Practitioner & CEO"
                },
                {
                  "name": "CoCEO & Founder",
                  "value": "CoCEO & Founder"
                },
                {
                  "name": "Business Owner at Golden Aesthetics Medspa",
                  "value": "Business Owner at Golden Aesthetics Medspa"
                },
                {
                  "name": "CEO and Co-Founder",
                  "value": "CEO and Co-Founder"
                },
                {
                  "name": "CEO & Co-Founder",
                  "value": "CEO & Co-Founder"
                },
                {
                  "name": "Owner and Founder",
                  "value": "Owner and Founder"
                },
                {
                  "name": "Marketing and Sales Manager",
                  "value": "Marketing and Sales Manager"
                },
                {
                  "name": "President | Owner",
                  "value": "President | Owner"
                },
                {
                  "name": "Business Owner/Family Nurse Practitioner",
                  "value": "Business Owner/Family Nurse Practitioner"
                },
                {
                  "name": "Digital Marketing Manager",
                  "value": "Digital Marketing Manager"
                },
                {
                  "name": "Founder/President",
                  "value": "Founder/President"
                },
                {
                  "name": "Founder, CEO & Chief Chemist",
                  "value": "Founder, CEO & Chief Chemist"
                },
                {
                  "name": "Manager of Consumer Marketing",
                  "value": "Manager of Consumer Marketing"
                },
                {
                  "name": "CEO, Member",
                  "value": "CEO, Member"
                },
                {
                  "name": "Medical Director, Owner",
                  "value": "Medical Director, Owner"
                },
                {
                  "name": "Owner, Licensed Acupuncturist / Herbalist",
                  "value": "Owner, Licensed Acupuncturist / Herbalist"
                },
                {
                  "name": "RN, Founder & President",
                  "value": "RN, Founder & President"
                },
                {
                  "name": "Dermatology Certified Nurse Practitioner/ Owner",
                  "value": "Dermatology Certified Nurse Practitioner/ Owner"
                },
                {
                  "name": "Advanced Practice Aesthetic Nurse Injector & Partner/Owner",
                  "value": "Advanced Practice Aesthetic Nurse Injector & Partner/Owner"
                },
                {
                  "name": "Owner/Aesthetician",
                  "value": "Owner/Aesthetician"
                },
                {
                  "name": "Owner & CEO",
                  "value": "Owner & CEO"
                },
                {
                  "name": "President & Founder; Master Nurse Injector; International Injectable Trainer",
                  "value": "President & Founder; Master Nurse Injector; International Injectable Trainer"
                },
                {
                  "name": "Office & Marketing Manager",
                  "value": "Office & Marketing Manager"
                },
                {
                  "name": "Owner/ Licensed Acupuncturist",
                  "value": "Owner/ Licensed Acupuncturist"
                },
                {
                  "name": "Med spa Owner",
                  "value": "Med spa Owner"
                },
                {
                  "name": "\ufe0f Founder, Ladybird Jet",
                  "value": "\ufe0f Founder, Ladybird Jet"
                },
                {
                  "name": "Co-founder - CCO",
                  "value": "Co-founder - CCO"
                },
                {
                  "name": "Board Member | CEO",
                  "value": "Board Member | CEO"
                },
                {
                  "name": "Founder and Therapist",
                  "value": "Founder and Therapist"
                },
                {
                  "name": "Sales Marketing Manager & Health & Clinic Manager",
                  "value": "Sales Marketing Manager & Health & Clinic Manager"
                },
                {
                  "name": "US Marketing Manager",
                  "value": "US Marketing Manager"
                },
                {
                  "name": "Owner, Medical Aesthetician & Cosmetic Laser Technician",
                  "value": "Owner, Medical Aesthetician & Cosmetic Laser Technician"
                },
                {
                  "name": "Physician Aesthetics Specialist and Owner of Bend Aesthetics and Wellness",
                  "value": "Physician Aesthetics Specialist and Owner of Bend Aesthetics and Wellness"
                },
                {
                  "name": "Owner, Founder",
                  "value": "Owner, Founder"
                },
                {
                  "name": "Ecommerce Marketing Manager",
                  "value": "Ecommerce Marketing Manager"
                },
                {
                  "name": "License Esthetician and Owner",
                  "value": "License Esthetician and Owner"
                },
                {
                  "name": "CEO, President",
                  "value": "CEO, President"
                },
                {
                  "name": "CEO of Artistry Wellness & Medspa",
                  "value": "CEO of Artistry Wellness & Medspa"
                },
                {
                  "name": "Founder and Chief Executive Officer",
                  "value": "Founder and Chief Executive Officer"
                },
                {
                  "name": "Title",
                  "value": "Title"
                }
              ],
              "removed": true,
              "readOnly": false,
              "required": false,
              "displayName": "Title",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "Company Name",
              "type": "string",
              "display": true,
              "removed": true,
              "readOnly": false,
              "required": false,
              "displayName": "Company Name",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "Email",
              "type": "string",
              "display": true,
              "removed": true,
              "readOnly": false,
              "required": false,
              "displayName": "Email",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "Person Linkedin Url",
              "type": "string",
              "display": true,
              "removed": true,
              "readOnly": false,
              "required": false,
              "displayName": "Person Linkedin Url",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "Website",
              "type": "string",
              "display": true,
              "removed": true,
              "readOnly": false,
              "required": false,
              "displayName": "Website",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "Company Linkedin Url",
              "type": "string",
              "display": true,
              "removed": true,
              "readOnly": false,
              "required": false,
              "displayName": "Company Linkedin Url",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "ZB Status",
              "type": "options",
              "display": true,
              "options": [
                {
                  "name": "valid",
                  "value": "valid"
                },
                {
                  "name": "ZB Status",
                  "value": "ZB Status"
                }
              ],
              "removed": true,
              "readOnly": false,
              "required": false,
              "displayName": "ZB Status",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "ZB Sub status",
              "type": "options",
              "display": true,
              "options": [
                {
                  "name": "alias_address",
                  "value": "alias_address"
                },
                {
                  "name": "ZB Sub status",
                  "value": "ZB Sub status"
                }
              ],
              "removed": true,
              "readOnly": false,
              "required": false,
              "displayName": "ZB Sub status",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "ZB Free Email",
              "type": "boolean",
              "display": true,
              "removed": true,
              "readOnly": false,
              "required": false,
              "displayName": "ZB Free Email",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "Subject Line",
              "type": "string",
              "display": true,
              "removed": false,
              "readOnly": false,
              "required": false,
              "displayName": "Subject Line",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "Icebreaker",
              "type": "string",
              "display": true,
              "removed": false,
              "readOnly": false,
              "required": false,
              "displayName": "Icebreaker",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "Icebreaker Created",
              "type": "options",
              "display": true,
              "options": [
                {
                  "name": "Icebreaker Created",
                  "value": "Icebreaker Created"
                },
                {
                  "name": "Under Review",
                  "value": "Under Review"
                }
              ],
              "removed": false,
              "readOnly": false,
              "required": false,
              "displayName": "Icebreaker Created",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "Website Overview",
              "type": "string",
              "display": true,
              "removed": true,
              "readOnly": false,
              "required": false,
              "displayName": "Website Overview",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            }
          ],
          "mappingMode": "defineBelow",
          "matchingColumns": [
            "id"
          ],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        },
        "options": {},
        "operation": "update"
      },
      "credentials": {
        "airtableTokenApi": {
          "name": "<your credential>"
        }
      },
      "retryOnFail": true,
      "typeVersion": 2.1
    },
    {
      "id": "eb73d7cc-ece6-4138-a5b5-3061c75fbae1",
      "name": "Send icebreaker & subject no content",
      "type": "n8n-nodes-base.set",
      "position": [
        4128,
        736
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "a7d48b48-0a67-4fed-8486-91fa19199ca4",
              "name": "Icebreaker",
              "type": "string",
              "value": "={{ $json['Webpages Overview'] }}"
            },
            {
              "id": "ce27f801-72d5-404f-901e-6267aeb8c621",
              "name": "Subject Line",
              "type": "string",
              "value": "={{ $json['Webpages Overview'] }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "6d868e97-332b-4f25-820e-0041076c0b05",
      "name": "Apify Scraper1",
      "type": "n8n-nodes-base.httpRequest",
      "onError": "continueRegularOutput",
      "position": [
        2688,
        288
      ],
      "parameters": {
        "url": "https://api.apify.com/v2/acts/mtrunkat~url-list-download-html/run-sync-get-dataset-items?token=YOUR_TOKEN_HERE<YOUR API KEY>",
        "options": {},
        "jsonBody": "={\n    \"maxRequestRetries\": 3,\n    \"proxyConfiguration\": {\n        \"useApifyProxy\": true\n    },\n    \"requestListSources\": [\n        {\n            \"url\": \"{{ $('Check for scrapes').item.json.urlItems }}\"\n        }\n    ],\n    \"useChrome\": true\n} ",
        "sendBody": true,
        "specifyBody": "json"
      },
      "retryOnFail": false,
      "typeVersion": 4.3
    },
    {
      "id": "199db52e-a844-40ee-bf3d-053cf36f4b2d",
      "name": "OpenRouter ThreeZero",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        3456,
        1248
      ],
      "parameters": {
        "model": "openai/gpt-4.1",
        "options": {}
      },
      "credentials": {
        "openRouterApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "92626ec9-09b6-4265-b73f-86c21fac8045",
      "name": "When clicking \u2018Execute workflow\u2019",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -2064,
        -48
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "2e206f79-4cd0-4983-8269-af145ae59587",
      "name": "Aggregate",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        4128,
        96
      ],
      "parameters": {
        "options": {},
        "fieldsToAggregate": {
          "fieldToAggregate": [
            {
              "renameField": true,
              "outputFieldName": "Webpage Overview",
              "fieldToAggregate": "data"
            }
          ]
        }
      },
      "typeVersion": 1
    },
    {
      "id": "23ec6b65-067d-45a2-92e5-6ba1537ef708",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2608,
        -288
      ],
      "parameters": {
        "width": 496,
        "height": 544,
        "content": "## Passes Directly if Atleast 1 scrape was successful else uses the Apify scraper\n\n- #### Code node grabs all data items and urls.\n\n--- If 'data' exists (even if only 1), it outputs: 'hasData=true', if not then outputs 'hasData=false'\n\n- #### The IF node checks if 'hasData' is 'true'.\n\n--- If 'hasData' is true then the workflow only uses the successful website scrape.\n\n--- If 'hasData' is 'false' or if no scrape was successful, only then it forwards the 'urls' to the Apify scraper."
      },
      "typeVersion": 1
    },
    {
      "id": "ff3f2a8e-26aa-4d51-8494-943003ad9daa",
      "name": "Check for scrapes",
      "type": "n8n-nodes-base.code",
      "position": [
        2688,
        96
      ],
      "parameters": {
        "jsCode": "// Separate items with 'data' and 'urls'\nconst dataItems = items.filter(item => item.json.data !== undefined && item.json.data !== null);\nconst urlItems = items.filter(item => $('Array into Separate Items').item.json.urls !== undefined && $('Array into Separate Items').item.json.urls !== null);\n\n// Output a single item summarizing presence for the If node\nreturn [\n  {\n    json: {\n      hasData: dataItems.length > 0,\n      dataItems,  // keep all 'data' objects\n      urlItems    // keep all 'urls' objects\n    },\n    pairedItem: 0\n  }\n];\n"
      },
      "typeVersion": 2
    },
    {
      "id": "48bd0054-0200-41d8-ab59-008eeb69365d",
      "name": "Scraped from Apify",
      "type": "n8n-nodes-base.set",
      "onError": "continueRegularOutput",
      "position": [
        3184,
        288
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "bc6abe78-92b2-46b0-a907-1746d86d5a65",
              "name": "data",
              "type": "string",
              "value": "={{ $json.item.fullHtml }}"
            }
          ]
        }
      },
      "typeVersion": 3.4,
      "alwaysOutputData": false
    },
    {
      "id": "91437240-4cf1-49bb-b587-faf67bd76ada",
      "name": "Normally Scraped",
      "type": "n8n-nodes-base.set",
      "position": [
        3184,
        96
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "80ede12a-ae1f-4cdc-87ff-f632719d3b69",
              "name": "data",
              "type": "string",
              "value": "={{ $('Check for scrapes').item.json.dataItems }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "033c2820-88a1-40d3-bbdc-5b43812003b1",
      "name": "If there is Data",
      "type": "n8n-nodes-base.if",
      "position": [
        2928,
        96
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "or",
          "conditions": [
            {
              "id": "2e4cfc73-1656-4486-858d-7f150c5dc10b",
              "operator": {
                "type": "boolean",
                "operation": "true",
                "singleValue": true
              },
              "leftValue": "={{ $json.hasData }}",
              "rightValue": "true"
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "8c53bcc9-a540-4e60-941f-2ae827605910",
      "name": "Remove Duplicates",
      "type": "n8n-nodes-base.code",
      "position": [
        912,
        96
      ],
      "parameters": {
        "jsCode": "// get lead website\nconst website = $('Person info').item.json.Website;\n\n// build deduped URL list\nconst seen = new Set();\nconst links = [];\n\nfor (const item of items) {\n  const link = item.json?.links?.trim();\n  if (!link) continue;\n  if (seen.has(link)) continue;\n\n  seen.add(link);\n  links.push(link);\n}\n\n// return a single combined result, keeping item linking intact\nreturn [\n  {\n    json: {\n      website,\n      links   // <--- renamed from urls to links\n    },\n    pairedItem: 0\n  }\n];\n"
      },
      "typeVersion": 2,
      "alwaysOutputData": true
    },
    {
      "id": "4946fbe6-075d-4caa-bf37-c8f05e28f29e",
      "name": "Update Icebreaker and Subject",
      "type": "n8n-nodes-base.baserow",
      "position": [
        1840,
        960
      ],
      "parameters": {
        "rowId": "={{ $('Person info').item.json.id }}",
        "tableId": 797289,
        "fieldsUi": {
          "fieldValues": [
            {
              "fieldId": 6809989,
              "fieldValue": "={{ $('Subject & Icebreaker').item.json['Icebreaker'] }}"
            },
            {
              "fieldId": 6809970,
              "fieldValue": "={{ $('Subject & Icebreaker').item.json['Subject Line'] }}"
            },
            {
              "fieldId": 6810068,
              "fieldValue": "Created"
            },
            {
              "fieldId": 6810081,
              "fieldValue": "={{ $('Website overview').item.json.text }}"
            }
          ]
        },
        "operation": "update",
        "databaseId": 350863
      },
      "credentials": {
        "baserowApi": {
          "name": "<your credential>"
        }
      },
      "retryOnFail": true,
      "typeVersion": 1
    },
    {
      "id": "bba2ec24-4b46-4dbf-98cd-261e61085145",
      "name": "Update NoContent",
      "type": "n8n-nodes-base.baserow",
      "position": [
        2144,
        960
      ],
      "parameters": {
        "rowId": "={{ $('Person info').item.json.id }}",
        "tableId": 797289,
        "fieldsUi": {
          "fieldValues": [
            {
              "fieldId": 6809989,
              "fieldValue": "={{ $('Send icebreaker & subject no content').item.json.Icebreaker }}"
            },
            {
              "fieldId": 6809970,
              "fieldValue": "={{ $('Send icebreaker & subject no content').item.json['Subject Line'] }}"
            },
            {
              "fieldId": 6810068,
              "fieldValue": "Failed"
            },
            {
              "fieldId": 6810081,
              "fieldValue": "={{ $('Website overview').item.json.text }}"
            }
          ]
        },
        "operation": "update",
        "databaseId": 350863
      },
      "credentials": {
        "baserowApi": {
          "name": "<your credential>"
        }
      },
      "retryOnFail": true,
      "typeVersion": 1
    },
    {
      "id": "f431ed50-c480-4043-a1f0-046606375de2",
      "name": "Apify Scraper2",
      "type": "n8n-nodes-base.httpRequest",
      "onError": "continueRegularOutput",
      "position": [
        -352,
        544
      ],
      "parameters": {
        "url": "https://api.apify.com/v2/acts/apify~website-content-crawler/run-sync-get-dataset-items?token=YOUR_TOKEN_HERE<YOUR API KEY>",
        "options": {},
        "jsonBody": "={\n    \"maxRequestRetries\": 3,\n    \"proxyConfiguration\": {\n        \"useApifyProxy\": true\n    },\n    \"requestListSources\": [\n        {\n            \"url\": \"{{ $json.Website }}\"\n        }\n    ],\n    \"useChrome\": true\n} ",
        "sendBody": true,
        "specifyBody": "json"
      },
      "retryOnFail": false,
      "typeVersion": 4.3,
      "alwaysOutputData": true,
      "waitBetweenTries": 3000
    },
    {
      "id": "3b07fa03-6ef5-4c65-8e06-6ac7cb5ea705",
      "name": "data or content both get forwarded",
      "type": "n8n-nodes-base.set",
      "position": [
        -528,
        96
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "5db69d2f-1e75-4af8-98fc-75dbf34f4a8c",
              "name": "data",
              "type": "string",
              "value": "={{ $json.page.content }}{{ $json.data }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "9cf84df0-0ae2-412a-9bd9-edefce4dc386",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2912,
        -256
      ],
      "parameters": {
        "width": 688,
        "height": 800,
        "content": "## Overview\nThis workflow researches each lead\u2019s website and generates a personalized cold outreach subject line and icebreaker using real website content. It replaces manual research with structured scraping and AI-driven analysis, helping you send outreach that feels relevant instead of generic.\n\nIf a website is unreachable or broken, the workflow records `no content` so faulty leads are easy to identify.\n\n## How It Works\n1. Pulls leads from the database (Baserow by default).\n2. Fetches and scrapes the lead\u2019s website.\n3. Extracts and filters internal links only.\n4. Scrapes up to five pages total, including the main page.\n5. Converts content to markdown and trims each page to control token usage.\n6. Aggregates all pages into a single input.\n7. Uses an LLM to generate a short business overview.\n8. Uses a second LLM to generate a personalized subject line and icebreaker.\n9. Updates the database with the generated outputs.\n\n## Setup Steps\n1. Add your Apify API key for website scraping.\n2. Connect your Baserow credentials (Airtable or Google Sheets can be used instead).\n3. Add your LLM API key (OpenRouter is used here).\n4. Map the database fields for name, website, company name, and outputs.\n5. Test with a small batch before running at scale.\n6. Change Rule 1 of the Website Overview AI node to match the niche of the website you are scraping\n\n## Use Cases\n- Cold email personalization at scale  \n- Sales and SDR research automation  \n- Agency and founder-led outbound workflows\n"
      },
      "typeVersion": 1
    },
    {
      "id": "a8f1a90c-1c61-47c1-a734-bb09cdd6fdd3",
      "name": "Get Sheet data",
      "type": "n8n-nodes-base.airtable",
      "position": [
        -1712,
        176
      ],
      "parameters": {
        "base": {
          "__rl": true,
          "mode": "list",
          "value": "appPjcifCNI07CY8A",
          "cachedResultUrl": "https://airtable.com/appPjcifCNI07CY8A",
          "cachedResultName": "Icebreaker "
        },
        "table": {
          "__rl": true,
          "mode": "list",
          "value": "tblNtP1T6JdBwpJTz",
          "cachedResultUrl": "https://airtable.com/appPjcifCNI07CY8A/tblNtP1T6JdBwpJTz",
          "cachedResultName": "Med Spa 1/3"
        },
        "options": {},
        "operation": "search",
        "filterByFormula": "({Icebreaker Created} = 'Under Review')"
      },
      "credentials": {
        "airtableTokenApi": {
          "name": "<your credential>"
        }
      },
      "retryOnFail": true,
      "typeVersion": 2.1
    },
    {
      "id": "3ec49e3e-53e5-4ff2-8529-2c29742ec19c",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        832,
        -32
      ],
      "parameters": {
        "width": 262,
        "height": 320,
        "content": "## Remove Duplicates"
      },
      "typeVersion": 1
    },
    {
      "id": "b4ef164d-a286-4422-b05f-4c8ad8f8dd14",
      "name": "Sticky Note10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -800,
        -400
      ],
      "parameters": {
        "color": 2,
        "width": 640,
        "height": 272,
        "content": "## To understand how to get the URL with embedded API\n\nOpen the Apify Scraper or Apify Scraper2 node. And in the URLs field, you will see a URL of the actor along with a placeholder API.\nGrab the URL from after \"...v2/acts/\" up to before \"/run_sync_dataset...\", and paste it in the Apify store's search bar to find the used Actor.\n\nFor example:\nIf the URL is \"https://api.apify.com/v2/acts/apify~website-content-crawler/run-sync-get-dataset-items?token=apify_api_<YOUR API KEY>\"\nThen you grab \"apify~website-content-crawler\"."
      },
      "typeVersion": 1
    },
    {
      "id": "8586283f-d7ed-4bca-b762-151140526f94",
      "name": "Extract Links",
      "type": "n8n-nodes-base.html",
      "position": [
        -352,
        96
      ],
      "parameters": {
        "options": {
          "trimValues": true,
          "cleanUpText": true
        },
        "operation": "extractHtmlContent",
        "extractionValues": {
          "values": [
            {
              "key": "links",
              "attribute": "href",
              "cssSelector": "a",
              "returnArray": true,
              "returnValue": "attribute"
            }
          ]
        }
      },
      "retryOnFail": true,
      "typeVersion": 1.2,
      "alwaysOutputData": true
    },
    {
      "id": "e4645f87-9e04-4e75-a5e7-17b8a32e38a0",
      "name": "Grab the Web URL",
      "type": "n8n-nodes-base.set",
      "position": [
        -704,
        544
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "187989c4-4450-479c-aab3-8862603f762c",
              "name": "Website",
              "type": "string",
              "value": "={{ $json['#debug'].url }}{{ $json.Website }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "f399369f-448a-436f-87c6-cae23e2ea225",
      "name": "Break the Array into Items",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        -96,
        96
      ],
      "parameters": {
        "options": {},
        "fieldToSplitOut": "links"
      },
      "typeVersion": 1,
      "alwaysOutputData": true
    },
    {
      "id": "bacbfafd-cb8b-42a4-82a3-ba632a0af6f5",
      "name": "Sticky Note11",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        816,
        -176
      ],
      "parameters": {
        "color": 7,
        "width": 1312,
        "height": 464,
        "content": "## Remove Extras"
      },
      "typeVersion": 1
    },
    {
      "id": "1ca0ca71-e80e-4569-ab80-79872cce6230",
      "name": "Array into Items",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        1168,
        96
      ],
      "parameters": {
        "options": {},
        "fieldToSplitOut": "links"
      },
      "typeVersion": 1
    },
    {
      "id": "363ada1a-65e7-4a55-95c7-0fa4e306b65f",
      "name": "Filter out other URLs",
      "type": "n8n-nodes-base.filter",
      "position": [
        1392,
        96
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "or",
          "conditions": [
            {
              "id": "dbd9b3cd-410e-409a-9eb8-c0846cae9e49",
              "operator": {
                "type": "string",
                "operation": "contains"
              },
              "leftValue": "={{ $json.links }}",
              "rightValue": "={{ $('Person info').item.json.Website }}"
            },
            {
              "id": "9861b2c4-e474-4000-a473-65190d570222",
              "operator": {
                "type": "string",
                "operation": "contains"
              },
              "leftValue": "={{ $json.links }}",
              "rightValue": "={{ $('Person info').item.json.Website.startsWith('http://') || $('Person info').item.json.Website.startsWith('https://') ? $('Person info').item.json.Website.replace(/^(https?:\\/\\/)(?!www\\.)/, '$1www.') : $('Person info').item.json.Website\u00a0}}"
            }
          ]
        }
      },
      "typeVersion": 2.2,
      "alwaysOutputData": true
    },
    {
      "id": "8009f1d6-d855-4818-ae18-c957d43ea4d9",
      "name": "Check for Half URLs",
      "type": "n8n-nodes-base.if",
      "position": [
        112,
        96
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "or",
          "conditions": [
            {
              "id": "585172ed-f1fe-4961-b5a7-8b462c77e3a2",
              "operator": {
                "type": "string",
                "operation": "startsWith"
              },
              "leftValue": "={{ $json.links }}",
              "rightValue": "/"
            }
          ]
        }
      },
      "typeVersion": 2.2,
      "alwaysOutputData": true
    },
    {
      "id": "383017d1-ea76-4df6-ad5e-b21a7a29a4b7",
      "name": "Make Half URLs Full",
      "type": "n8n-nodes-base.set",
      "position": [
        384,
        -32
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "0d397df6-f0ee-48e1-85f6-380f9b5321ef",
              "name": "links",
              "type": "string",
              "value": "={{ $('Person info').item.json.Website.endsWith('/') ? $('Person info').item.json.Website.slice(0, -1) : $('Person info').item.json.Website\u00a0}}{{ $json.links\u00a0}}"
            }
          ]
        }
      },
      "typeVersion": 3.4,
      "alwaysOutputData": true
    },
    {
      "id": "0eb28c7d-53be-4c41-aa3a-e1c5be509713",
      "name": "Combine Full and Empty URLs",
      "type": "n8n-nodes-base.merge",
      "position": [
        640,
        96
      ],
      "parameters": {},
      "typeVersion": 3.2,
      "alwaysOutputData": true
    },
    {
      "id": "6f7e2b41-dd7d-4c54-85f2-7335407e6575",
      "name": "Get Data from Sheet",
      "type": "n8n-nodes-base.baserow",
      "position": [
        -1712,
        -48
      ],
      "parameters": {
        "limit": 1,
        "tableId": 797289,
        "databaseId": 350863,
        "additionalOptions": {
          "filters": {
            "fields": [
              {
                "field": 6809989,
                "operator": "not_empty"
              }
            ]
          }
        }
      },
      "credentials": {
        "baserowApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "6209f1fb-7d43-4264-8b46-abbf0b66731f",
      "name": "Only Grab the Desired Pages",
      "type": "n8n-nodes-base.code",
      "position": [
        1808,
        96
      ],
      "parameters": {
        "jsCode": "// ------------------------------------------------------\n// CONFIG\n// ------------------------------------------------------\nconst keywords = [\n  \"home\",\"index\",\"welcome\",\"research\",\"about\",\"about-us\",\"aboutus\",\"our-story\",\"story\",\"company\",\"team\",\"who-we-are\",\"mission\",\"vision\",\"values\",\n  \"services\",\"service\",\"what-we-do\",\"solutions\",\"offerings\",\"capabilities\",\"expertise\",\"products\",\n  \"testimonials\",\"reviews\",\"case-studies\",\"case-study\",\"success-stories\",\"portfolio\",\"work\",\"results\",\"clients\",\n  \"blog\",\"news\",\"articles\",\"posts\",\"insights\",\"resources\",\"learn\",\n  \"contact\",\"contact-us\",\"get-in-touch\",\"support\",\"help\"\n];\n\nconst blacklist = [\n  \"privacy\",\"terms\",\"cookie\",\"sitemap\",\"login\",\"signup\",\"account\",\"admin\",\"wp-admin\",\"cpanel\",\n  \"cart\",\"checkout\",\"shop\",\"facebook\",\"instagram\",\"linkedin\",\"twitter\",\"tiktok\",\"youtube\"\n];\n\nconst maxUrls = 5;\n\n// ------------------------------------------------------\n// DOMAIN PARSING\n// ------------------------------------------------------\nlet originalUrl = $('Person info').item.json.Website;\nlet baseOrigin = null;\nlet baseDomain = null;\n\ntry {\n  const parsed = new URL(originalUrl);\n  baseOrigin = parsed.origin;\n  baseDomain = parsed.hostname;\n} catch {\n  baseOrigin = null;\n  baseDomain = null;\n}\n\n// ------------------------------------------------------\n// NORMALIZE FUNCTION\n// ------------------------------------------------------\nfunction normalize(url) {\n  if (!url || typeof url !== \"string\") return null;\n  url = url.trim();\n  if (url.startsWith(\"#\")) return null;\n  if (url.startsWith(\"mailto:\") || url.startsWith(\"tel:\")) return null;\n  if (url.startsWith(\"http://\") || url.startsWith(\"https://\")) return url;\n  if (baseOrigin) {\n    try { return new URL(url, baseOrigin).href; } \n    catch { return null; }\n  }\n  return null;\n}\n\n// ------------------------------------------------------\n// FLATTEN + NORMALIZE LINKS\n// ------------------------------------------------------\nconst allLinks = items\n  .flatMap(i => i.json.links || [])    // flatten arrays\n  .map(l => normalize(l.url || l))     // normalize URLs\n  .filter(l => l)                      // remove nulls\n  .map(l => ({ url: l }));             // wrap as objects\n\nif (allLinks.length === 0) {\n  return [{ json: { url: originalUrl } }];\n}\n\n// ------------------------------------------------------\n// PRIMARY FILTERING\n// ------------------------------------------------------\nconst primary = allLinks.filter(obj => {\n  const url = obj.url.toLowerCase();\n  return keywords.some(k => url.includes(k));\n});\n\n// ------------------------------------------------------\n// FALLBACK FILTERING\n// ------------------------------------------------------\nconst fallback = allLinks.filter(obj => {\n  const url = obj.url.toLowerCase();\n  if (url.startsWith(\"mailto:\") || url.startsWith(\"tel:\")) return false;\n  if (blacklist.some(b => url.includes(b))) return false;\n  if (baseDomain) {\n    try {\n      const domain = new URL(obj.url).hostname;\n      if (domain !== baseDomain) return false;\n    } catch { return false; }\n  }\n  return true;\n});\n\n// Sort fallback by URL length (longer = more specific)\nfallback.sort((a, b) => b.url.length - a.url.length);\n\n// ------------------------------------------------------\n// COMBINE RESULTS\n// ------------------------------------------------------\nconst results = [];\nconst addUnique = url => {\n  if (!url) return;\n  const clean = url.toLowerCase().trim();\n  if (!results.includes(clean)) results.push(clean);\n};\n\n// 1. Homepage first\naddUnique(originalUrl);\n\n// 2. Include **one primary page** if exists\nif (primary.length > 0) addUnique(primary[0].url);\n\n// 3. Fill remaining slots with primary pages (skip the first already added)\nprimary.slice(1).forEach(l => addUnique(l.url));\n\n// 4. Fill remaining slots with fallback pages\nfallback.forEach(l => addUnique(l.url));\n\n// Limit to maxUrls\nconst final = results.slice(0, maxUrls);\n\n// Limit to maxUrls\nconst finalUrls = results.slice(0, maxUrls);\n\n// Get the lead's first name\nconst firstName = $('Person info').item.json['First Name'];\n\n// Get the leads's id\nconst id = $('Person info').item.json.id;\n\n// Return as a single item with pairing to the current input item\nreturn [\n  {\n    json: {\n      id,\n      firstName,\n      urls: finalUrls\n    },\n    pairedItem: 0 // paired to the current input item (index 0)\n  }\n];"
      },
      "typeVersion": 2
    },
    {
      "id": "45c08f1f-4d51-43a5-bab5-d541dee74175",
      "name": "Array into Separate Items",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        2208,
        96
      ],
      "parameters": {
        "options": {},
        "fieldToSplitOut": "urls"
      },
      "typeVersion": 1
    },
    {
      "id": "8d6a7422-97fc-482d-ad6b-28090078d072",
      "name": "Merge All",
      "type": "n8n-nodes-base.merge",
      "position": [
        3456,
        96
      ],
      "parameters": {},
      "typeVersion": 3.2,
      "alwaysOutputData": true
    },
    {
      "id": "889b9e22-f299-4f87-a8d8-fc0c8a50476d",
      "name": "Converts HTML into easily readable format",
      "type": "n8n-nodes-base.markdown",
      "onError": "continueRegularOutput",
      "position": [
        3680,
        96
      ],
      "parameters": {
        "html": "={{ $json.data }}",
        "options": {}
      },
      "typeVersion": 1,
      "alwaysOutputData": true
    },
    {
      "id": "04e360d2-6a55-4b46-96c3-201641734975",
      "name": "Sticky Note12",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3600,
        -112
      ],
      "parameters": {
        "color": 6,
        "width": 256,
        "height": 368,
        "content": "## Shorten the HTML\n\n- It removes the extra parts of HTML such as '<div>, <body>, <title>' tags to help save token usage"
      },
      "typeVersion": 1
    },
    {
      "id": "747a4d93-6288-4576-97b9-5b90ab0ab17a",
      "name": "Sticky Note13",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1632,
        -112
      ],
      "parameters": {
        "width": 480,
        "height": 416,
        "content": "## Filters through to find desired pages. \n- Desired pages are mentioned in the code as 'keywords'\n- If need to change the kind of pages, then change the words in the 'keywords' constant\n\n- Detailed working of the node mentioned in the Sticky Note Above"
      },
      "typeVersion": 1
    },
    {
      "id": "43d31185-89fe-47b3-9d85-f49676a5d298",
      "name": "Sticky Note14",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3872,
        -112
      ],
      "parameters": {
        "width": 192,
        "height": 368,
        "content": "## Limit the material of the page(s) to 5000 characters"
      },
      "typeVersion": 1
    },
    {
      "id": "00831533-2d61-4f56-b884-f934c30b2cd2",
      "name": "Limit Characters to 5k each",
      "type": "n8n-nodes-base.set",
      "position": [
        3920,
        96
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "67d6c450-9b1d-426b-9ca2-ddf19e955548",
              "name": "data",
              "type": "string",
              "value": "={{ $json.data.length > 5000 ? $json.data.slice(0,5000) : $json.data }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "eda642b0-a731-4ba0-9172-5d3630e1bdca",
      "name": "Sticky Note15",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        4320,
        416
      ],
      "parameters": {
        "color": 5,
        "width": 592,
        "height": 544,
        "content": "## LLM for generating Website Overview and Personalized Emails\n\n### The Website Overview Node:\n- Takes the website scrape and uses it to create a 3-paragraph overview of said site.\n- Has error handling and outputs 'no content' to prevent inaccurate info\n\n### If Node:\n- Only forwards the overview if it is not 'no content', to prevent wasted AI generations\n\n### Icebreaker & Subject Node:\n- Takes the Website Overview and uses it to create a personalized Icebreaker for the prospect.\n-- The subject Line is generated with Fixed Templates, but you can edit the prompt to change that.\n-- The Icebreaker is also created using templates, but you can change that too in the prompt.\n-- This currently only generates the Icebreaker and Subject Line, Not the full Email.  Change the prompt as needed.\n\n\n_The prompts are short and simple for easy editing_\n"
      },
      "typeVersion": 1
    }
  ],
  "connections": {
    "Aggregate": {
      "main": [
        [
          {
            "node": "Website overview",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge All": {
      "main": [
        [
          {
            "node": "Converts HTML into easily readable format",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Person info": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Apify Scraper": {
      "main": [
        [
          {
            "node": "Scraped from Apify",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Grab the Web URL",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract Links": {
      "main": [
        [
          {
            "node": "Break the Array into Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Apify Scraper1": {
      "main": [
        [
          {
            "node": "Scraped from Apify",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Apify Scraper2": {
      "main": [
        [
          {
            "node": "Scraped from Apify",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Scrape Website": {
      "main": [
        [
          {
            "node": "data or content both get forwarded",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Apify Scraper",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items": {
      "main": [
        [],
        [
          {
            "node": "Scrape Website",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Overview & Name": {
      "main": [
        [
          {
            "node": "If it says no content",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Array into Items": {
      "main": [
        [
          {
            "node": "Filter out other URLs",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Grab the Web URL": {
      "main": [
        [
          {
            "node": "Apify Scraper2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If there is Data": {
      "main": [
        [
          {
            "node": "Normally Scraped",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Apify Scraper1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Normally Scraped": {
      "main": [
        [
          {
            "node": "Merge All",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update NoContent": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Website overview": {
      "main": [
        [
          {
            "node": "Overview & Name",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check for scrapes": {
      "main": [
        [
          {
            "node": "If there is Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Icebreaker Update": {
      "main": [
        []
      ]
    },
    "Remove Duplicates": {
      "main": [
        [
          {
            "node": "Array into Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update No content": {
      "main": [
        []
      ]
    },
    "Scrape other pages": {
      "main": [
        [
          {
            "node": "Check for scrapes",
            "type": "main",
            "index": 0
          }
        ],
        []
      ]
    },
    "Scraped from Apify": {
      "main": [
        [
          {
            "node": "Merge All",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Check for Half URLs": {
      "main": [
        [
          {
            "node": "Make Half URLs Full",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Combine Full and Empty URLs",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Get Data from Sheet": {
      "main": [
        [
          {
            "node": "Person info",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Make Half URLs Full": {
      "main": [
        [
          {
            "node": "Combine Full and Empty URLs",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenRouter ThreeZero": {
      "ai_languageModel": [
        [
          {
            "node": "Website overview",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "Structured Output Parser",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "icebreaker & Subject",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Subject & Icebreaker": {
      "main": [
        [
          {
            "node": "Update Icebreaker and Subject",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "icebreaker & Subject": {
      "main": [
        [
          {
            "node": "Subject & Icebreaker",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter out other URLs": {
      "main": [
        [
          {
            "node": "Only Grab the Desired Pages",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If it says no content": {
      "main": [
        [
          {
            "node": "icebreaker & Subject",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Send icebreaker & subject no content",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "icebreaker & Subject",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Array into Separate Items": {
      "main": [
        [
          {
            "node": "Scrape other pages",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Break the Array into Items": {
      "main": [
        [
          {
            "node": "Check for Half URLs",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Combine Full and Empty URLs": {
      "main": [
        [
          {
            "node": "Remove Duplicates",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Limit Characters to 5k each": {
      "main": [
        [
          {
            "node": "Aggregate",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Only Grab the Desired Pages": {
      "main": [
        [
          {
            "node": "Array into Separate Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update Icebreaker and Subject": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "data or content both get forwarded": {
      "main": [
        [
          {
            "node": "Extract Links",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send icebreaker & subject no content": {
      "main": [
        [
          {
            "node": "Update NoContent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking \u2018Execute workflow\u2019": {
      "main": [
        [
          {
            "node": "Get Data from Sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Converts HTML into easily readable format": {
      "main": [
        [
          {
            "node": "Limit Characters to 5k each",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}