{
  "updatedAt": "2026-03-30T23:50:31.932Z",
  "createdAt": "2026-03-30T01:46:48.925Z",
  "id": "XXcGDQH3Q5A7dCG3",
  "name": "NC 9-Email Nurture Sequence",
  "description": null,
  "active": false,
  "isArchived": false,
  "nodes": [
    {
      "parameters": {
        "httpMethod": "POST",
        "path": "nc-nurture-9",
        "responseMode": "onReceived",
        "responseData": "allEntries",
        "options": {}
      },
      "id": "webhook-trigger",
      "name": "GHL Webhook",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 2,
      "position": [
        0,
        0
      ],
      "webhookId": "nc-nurture-9"
    },
    {
      "parameters": {
        "mode": "manual",
        "duplicateItem": false,
        "assignments": {
          "assignments": [
            {
              "id": "a1",
              "name": "email",
              "value": "={{ $json.body.email || $json.email || '' }}",
              "type": "string"
            },
            {
              "id": "a2",
              "name": "firstName",
              "value": "={{ $json.body.first_name || $json.body.firstName || $json.firstName || 'there' }}",
              "type": "string"
            },
            {
              "id": "a3",
              "name": "contactId",
              "value": "={{ $json.body.contactId || $json.body.contact_id || $json.contactId || '' }}",
              "type": "string"
            },
            {
              "id": "a4",
              "name": "sequenceStartDate",
              "value": "={{ new Date().toISOString() }}",
              "type": "string"
            }
          ]
        },
        "options": {}
      },
      "id": "set-contact",
      "name": "Extract Contact Data",
      "type": "n8n-nodes-base.set",
      "typeVersion": 3.4,
      "position": [
        250,
        0
      ]
    },
    {
      "parameters": {
        "jsCode": "function hdr(subtitle){\n  subtitle = subtitle || 'Real Talk from the ER &bull; 37+ Years Strong';\n  return '<div style=\"background:linear-gradient(135deg,#0B0F1A,#151C2E);padding:30px 40px;text-align:center;border-bottom:2px solid rgba(96,247,250,0.15)\"><h1 style=\"color:#60f7fa;font-family:Bebas Neue,Arial,sans-serif;font-size:28px;margin:0;font-weight:600;letter-spacing:0.05em\">NURSE CHARLES</h1><p style=\"color:#5a9ea3;font-size:14px;margin:5px 0 0\">'+subtitle+'</p></div>';\n}\nfunction ftr(){\n  return '<div style=\"background:#080c16;padding:25px 40px;text-align:center;border-top:1px solid rgba(96,247,250,0.08)\"><div style=\"margin:0 0 15px\"><a href=\"https://www.tiktok.com/@nursecharlesmedia\" style=\"color:#5a9ea3;text-decoration:none;margin:0 12px;font-size:14px\">TikTok</a><a href=\"https://www.instagram.com/nursecharlesmedia\" style=\"color:#5a9ea3;text-decoration:none;margin:0 12px;font-size:14px\">Instagram</a><a href=\"https://www.youtube.com/@NurseCharles\" style=\"color:#5a9ea3;text-decoration:none;margin:0 12px;font-size:14px\">YouTube</a></div><p style=\"color:#64748b;font-size:12px;margin:5px 0\">&copy; 2026 Nurse Charles Media. All rights reserved.</p><p style=\"color:#64748b;font-size:12px;margin:5px 0\"><a href=\"#\" style=\"color:#5a9ea3;text-decoration:underline\">Unsubscribe</a></p></div>';\n}\nfunction sig(signoff){\n  return '<div style=\"border-top:1px solid rgba(96,247,250,0.08);padding-top:20px;margin-top:10px\"><p style=\"margin:0 0 4px;font-size:15px;color:#e2e8f0\"><strong>'+signoff+'</strong></p><p style=\"margin:0 0 4px;font-size:15px;color:#e2e8f0\"><strong>Nurse Charles</strong></p><p style=\"color:#64748b;font-size:14px;margin:0\">ER Nurse &bull; Educator &bull; Advocate</p></div>';\n}\nfunction wrap(content,ctaText,ctaUrl,subtitle){\n  var cta=ctaText?'<div style=\"text-align:center;margin:30px 0\"><a href=\"'+ctaUrl+'\" style=\"display:inline-block;background:linear-gradient(135deg,#43797d,#5a9ea3);color:#fff;text-decoration:none;padding:14px 32px;border-radius:6px;font-weight:600;font-size:16px\">'+ctaText+'</a></div>':'';\n  return '<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"UTF-8\"><meta name=\"viewport\" content=\"width=device-width,initial-scale=1.0\"></head><body style=\"margin:0;padding:0;background-color:#080c16;font-family:Helvetica Neue,Arial,sans-serif\"><div style=\"max-width:600px;margin:0 auto;background:#0B0F1A\">'+hdr(subtitle)+'<div style=\"padding:35px 40px;color:#e2e8f0;line-height:1.7;font-size:16px\">'+content+cta+'</div>'+ftr()+'</div></body></html>';\n}\nfunction box(inner){\n  return '<div style=\"background:rgba(96,247,250,0.06);border-left:3px solid #60f7fa;padding:18px 22px;margin:22px 0;border-radius:0 6px 6px 0\">'+inner+'</div>';\n}\nfunction tipCard(num,title,text){\n  return '<div style=\"background:rgba(96,247,250,0.06);border-radius:8px;padding:20px 24px;margin:18px 0\"><p style=\"color:#60f7fa;font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:2px;margin:0 0 6px\">Lesson '+num+'</p><h3 style=\"color:#fff;font-size:17px;margin:0 0 8px\">'+title+'</h3><p style=\"margin:0;font-size:15px;color:#e2e8f0\">'+text+'</p></div>';\n}\nfunction stepBlock(num,title,text){\n  return '<div style=\"margin:22px 0;padding:18px 22px;border-radius:8px;background:rgba(96,247,250,0.06)\"><span style=\"display:inline-block;background:linear-gradient(135deg,#43797d,#5a9ea3);color:#fff;width:30px;height:30px;border-radius:50%;text-align:center;line-height:30px;font-weight:700;font-size:14px;margin-right:10px\">'+num+'</span><h3 style=\"display:inline;color:#fff;font-size:17px\">'+title+'</h3><p style=\"margin:10px 0 0;font-size:15px;color:#e2e8f0\">'+text+'</p></div>';\n}\nfunction checkItem(text){\n  return '<li style=\"padding:10px 0 10px 35px;position:relative;border-bottom:1px solid rgba(96,247,250,0.08);font-size:15px;color:#e2e8f0;list-style:none\"><span style=\"position:absolute;left:8px;color:#60f7fa;font-weight:700;font-size:18px\">&#10003;</span>'+text+'</li>';\n}\nconst fn = $input.first().json.firstName || 'there';\nreturn [{json:{emailHtml:wrap('<h2 style=\"color:#fff;font-size:20px;margin-top:0\">Welcome &#8212; I\\'m glad you\\'re here.</h2>'+\n'<p>Hey '+fn+',</p>'+\n'<p>I\\'m Charles &#8212; but most people just call me Nurse Charles. If you found me on TikTok or Instagram, you already know I don\\'t sugarcoat things. I\\'ve spent <strong>37+ years</strong> in emergency rooms across this country, and I\\'ve seen just about everything.</p>'+\n'<p>Gunshot wounds at 3 AM. Parents holding a child who can\\'t breathe. Teenagers who swore they\\'d \\\"only vaped a few times.\\\" Nurses on the edge of burnout who just need someone to tell them <em>it\\'s okay to feel this way.</em></p>'+\nbox('<p style=\"margin:0;font-size:15px;color:#e2e8f0\"><strong>Here\\'s what I want you to know:</strong> I didn\\'t build a following of 150,000+ people by being flashy. I built it by being <em>honest.</em> The same way I talk to patients &#8212; direct, caring, no BS &#8212; that\\'s exactly how I\\'ll show up in your inbox.</p>')+\n'<p>Over the next few weeks, I\\'m going to share things with you that I don\\'t always get to say in a 60-second video:</p>'+\n'<ul><li style=\"color:#e2e8f0\">Stories from the ER that changed how I see healthcare</li><li style=\"color:#e2e8f0\">Practical nursing tips from nearly four decades on the floor</li><li style=\"color:#e2e8f0\">The truth about vaping that the industry doesn\\'t want you to hear</li><li style=\"color:#e2e8f0\">Resources I\\'ve built to help nurses, parents, and communities</li></ul>'+\n'<p>This isn\\'t a sales pitch. This is a conversation. And it starts right here.</p>'+\n'<p>Hit reply and tell me &#8212; what brought you into my world? I read every message.</p>'+\nsig('Stay safe out there,'),'Visit NurseCharlesMedia.com','https://nursecharlesmedia.com')}}];"
      },
      "id": "code-email-01",
      "name": "Build Email 01",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        500,
        0
      ]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://api.resend.com/emails",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "Content-Type",
              "value": "application/json"
            }
          ]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={\n  \"from\": \"Nurse Charles <charles@mail.nursecharlesmedia.com>\",\n  \"to\": [\"{{ $('Extract Contact Data').item.json.email }}\"],\n  \"subject\": \"The ER nurse TikTok didn't tell you about (until now)\",\n  \"html\": {{ JSON.stringify($json.emailHtml) }}\n}"
      },
      "id": "send-01",
      "name": "Send Email 01",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        750,
        0
      ],
      "credentials": {
        "httpHeaderAuth": {
          "id": "83bayJB4JKjeXtVy",
          "name": "Resend API Key"
        }
      }
    },
    {
      "parameters": {
        "amount": 1,
        "unit": "days"
      },
      "id": "wait-02",
      "name": "Wait Day 0\u21921",
      "type": "n8n-nodes-base.wait",
      "typeVersion": 1.1,
      "position": [
        1000,
        0
      ]
    },
    {
      "parameters": {
        "jsCode": "function hdr(subtitle){\n  subtitle = subtitle || 'Real Talk from the ER &bull; 37+ Years Strong';\n  return '<div style=\"background:linear-gradient(135deg,#0B0F1A,#151C2E);padding:30px 40px;text-align:center;border-bottom:2px solid rgba(96,247,250,0.15)\"><h1 style=\"color:#60f7fa;font-family:Bebas Neue,Arial,sans-serif;font-size:28px;margin:0;font-weight:600;letter-spacing:0.05em\">NURSE CHARLES</h1><p style=\"color:#5a9ea3;font-size:14px;margin:5px 0 0\">'+subtitle+'</p></div>';\n}\nfunction ftr(){\n  return '<div style=\"background:#080c16;padding:25px 40px;text-align:center;border-top:1px solid rgba(96,247,250,0.08)\"><div style=\"margin:0 0 15px\"><a href=\"https://www.tiktok.com/@nursecharlesmedia\" style=\"color:#5a9ea3;text-decoration:none;margin:0 12px;font-size:14px\">TikTok</a><a href=\"https://www.instagram.com/nursecharlesmedia\" style=\"color:#5a9ea3;text-decoration:none;margin:0 12px;font-size:14px\">Instagram</a><a href=\"https://www.youtube.com/@NurseCharles\" style=\"color:#5a9ea3;text-decoration:none;margin:0 12px;font-size:14px\">YouTube</a></div><p style=\"color:#64748b;font-size:12px;margin:5px 0\">&copy; 2026 Nurse Charles Media. All rights reserved.</p><p style=\"color:#64748b;font-size:12px;margin:5px 0\"><a href=\"#\" style=\"color:#5a9ea3;text-decoration:underline\">Unsubscribe</a></p></div>';\n}\nfunction sig(signoff){\n  return '<div style=\"border-top:1px solid rgba(96,247,250,0.08);padding-top:20px;margin-top:10px\"><p style=\"margin:0 0 4px;font-size:15px;color:#e2e8f0\"><strong>'+signoff+'</strong></p><p style=\"margin:0 0 4px;font-size:15px;color:#e2e8f0\"><strong>Nurse Charles</strong></p><p style=\"color:#64748b;font-size:14px;margin:0\">ER Nurse &bull; Educator &bull; Advocate</p></div>';\n}\nfunction wrap(content,ctaText,ctaUrl,subtitle){\n  var cta=ctaText?'<div style=\"text-align:center;margin:30px 0\"><a href=\"'+ctaUrl+'\" style=\"display:inline-block;background:linear-gradient(135deg,#43797d,#5a9ea3);color:#fff;text-decoration:none;padding:14px 32px;border-radius:6px;font-weight:600;font-size:16px\">'+ctaText+'</a></div>':'';\n  return '<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"UTF-8\"><meta name=\"viewport\" content=\"width=device-width,initial-scale=1.0\"></head><body style=\"margin:0;padding:0;background-color:#080c16;font-family:Helvetica Neue,Arial,sans-serif\"><div style=\"max-width:600px;margin:0 auto;background:#0B0F1A\">'+hdr(subtitle)+'<div style=\"padding:35px 40px;color:#e2e8f0;line-height:1.7;font-size:16px\">'+content+cta+'</div>'+ftr()+'</div></body></html>';\n}\nfunction box(inner){\n  return '<div style=\"background:rgba(96,247,250,0.06);border-left:3px solid #60f7fa;padding:18px 22px;margin:22px 0;border-radius:0 6px 6px 0\">'+inner+'</div>';\n}\nfunction tipCard(num,title,text){\n  return '<div style=\"background:rgba(96,247,250,0.06);border-radius:8px;padding:20px 24px;margin:18px 0\"><p style=\"color:#60f7fa;font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:2px;margin:0 0 6px\">Lesson '+num+'</p><h3 style=\"color:#fff;font-size:17px;margin:0 0 8px\">'+title+'</h3><p style=\"margin:0;font-size:15px;color:#e2e8f0\">'+text+'</p></div>';\n}\nfunction stepBlock(num,title,text){\n  return '<div style=\"margin:22px 0;padding:18px 22px;border-radius:8px;background:rgba(96,247,250,0.06)\"><span style=\"display:inline-block;background:linear-gradient(135deg,#43797d,#5a9ea3);color:#fff;width:30px;height:30px;border-radius:50%;text-align:center;line-height:30px;font-weight:700;font-size:14px;margin-right:10px\">'+num+'</span><h3 style=\"display:inline;color:#fff;font-size:17px\">'+title+'</h3><p style=\"margin:10px 0 0;font-size:15px;color:#e2e8f0\">'+text+'</p></div>';\n}\nfunction checkItem(text){\n  return '<li style=\"padding:10px 0 10px 35px;position:relative;border-bottom:1px solid rgba(96,247,250,0.08);font-size:15px;color:#e2e8f0;list-style:none\"><span style=\"position:absolute;left:8px;color:#60f7fa;font-weight:700;font-size:18px\">&#10003;</span>'+text+'</li>';\n}\nconst fn = $('Extract Contact Data').first().json.firstName || 'there';\nreturn [{json:{emailHtml:wrap('<h2 style=\"color:#fff;font-size:20px;margin-top:0\">I almost didn\\'t become a nurse.</h2>'+\n'<p>Hey '+fn+',</p>'+\n'<p>I know &#8212; hard to believe when nursing has been my entire life. But the truth is, nobody in my family had gone into healthcare. Nobody told me it was possible. Nobody drew me a roadmap.</p>'+\n'<p>What I <em>did</em> have was a moment.</p>'+\n'<p>I was young, and someone I cared about ended up in an emergency room. I watched the nurse &#8212; not the doctor, the <strong>nurse</strong> &#8212; hold their hand, explain what was happening, and bring calm to a situation that felt like the world was ending.</p>'+\n'<div style=\"background:rgba(96,247,250,0.06);border-left:3px solid #60f7fa;padding:20px 24px;margin:25px 0;border-radius:0 6px 6px 0;font-style:italic;color:#e2e8f0;font-size:17px\">\\\"That nurse didn\\'t just treat a patient. They treated a human being. And I thought &#8212; <em>that\\'s who I want to be.</em>\\\"</div>'+\n'<p>So I did it. I went to nursing school. I showed up on my first ER shift with my heart pounding so hard I could hear it in my stethoscope. And I never looked back.</p>'+\n'<p><strong>37 years later,</strong> I\\'ve worked trauma centers, community hospitals, and everything in between. I\\'ve trained new nurses who were just as scared as I was on day one. I\\'ve held patients\\' hands the same way that nurse held the hand of someone I loved.</p>'+\n'<p>And now? I\\'m taking everything I\\'ve learned &#8212; every shift, every save, every heartbreak &#8212; and putting it where it can reach people who need it.</p>'+\n'<p>That\\'s why I\\'m on TikTok. That\\'s why I\\'m on Instagram. That\\'s why I\\'m in your inbox right now.</p>'+\n'<p><strong>Because healthcare isn\\'t just what happens in the hospital. It\\'s what happens when someone finally gets the truth.</strong></p>'+\nsig('Proud to serve,'),'Watch My Story on TikTok','https://www.tiktok.com/@nursecharlesmedia')}}];"
      },
      "id": "code-email-02",
      "name": "Build Email 02",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        1250,
        0
      ]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://api.resend.com/emails",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "Content-Type",
              "value": "application/json"
            }
          ]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={\n  \"from\": \"Nurse Charles <charles@mail.nursecharlesmedia.com>\",\n  \"to\": [\"{{ $('Extract Contact Data').item.json.email }}\"],\n  \"subject\": \"Why I started making videos at 37 years in\",\n  \"html\": {{ JSON.stringify($json.emailHtml) }}\n}"
      },
      "id": "send-02",
      "name": "Send Email 02",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        1500,
        0
      ],
      "credentials": {
        "httpHeaderAuth": {
          "id": "83bayJB4JKjeXtVy",
          "name": "Resend API Key"
        }
      }
    },
    {
      "parameters": {
        "amount": 1,
        "unit": "days"
      },
      "id": "wait-03",
      "name": "Wait Day 1\u21922",
      "type": "n8n-nodes-base.wait",
      "typeVersion": 1.1,
      "position": [
        1750,
        0
      ]
    },
    {
      "parameters": {
        "jsCode": "function hdr(subtitle){\n  subtitle = subtitle || 'Real Talk from the ER &bull; 37+ Years Strong';\n  return '<div style=\"background:linear-gradient(135deg,#0B0F1A,#151C2E);padding:30px 40px;text-align:center;border-bottom:2px solid rgba(96,247,250,0.15)\"><h1 style=\"color:#60f7fa;font-family:Bebas Neue,Arial,sans-serif;font-size:28px;margin:0;font-weight:600;letter-spacing:0.05em\">NURSE CHARLES</h1><p style=\"color:#5a9ea3;font-size:14px;margin:5px 0 0\">'+subtitle+'</p></div>';\n}\nfunction ftr(){\n  return '<div style=\"background:#080c16;padding:25px 40px;text-align:center;border-top:1px solid rgba(96,247,250,0.08)\"><div style=\"margin:0 0 15px\"><a href=\"https://www.tiktok.com/@nursecharlesmedia\" style=\"color:#5a9ea3;text-decoration:none;margin:0 12px;font-size:14px\">TikTok</a><a href=\"https://www.instagram.com/nursecharlesmedia\" style=\"color:#5a9ea3;text-decoration:none;margin:0 12px;font-size:14px\">Instagram</a><a href=\"https://www.youtube.com/@NurseCharles\" style=\"color:#5a9ea3;text-decoration:none;margin:0 12px;font-size:14px\">YouTube</a></div><p style=\"color:#64748b;font-size:12px;margin:5px 0\">&copy; 2026 Nurse Charles Media. All rights reserved.</p><p style=\"color:#64748b;font-size:12px;margin:5px 0\"><a href=\"#\" style=\"color:#5a9ea3;text-decoration:underline\">Unsubscribe</a></p></div>';\n}\nfunction sig(signoff){\n  return '<div style=\"border-top:1px solid rgba(96,247,250,0.08);padding-top:20px;margin-top:10px\"><p style=\"margin:0 0 4px;font-size:15px;color:#e2e8f0\"><strong>'+signoff+'</strong></p><p style=\"margin:0 0 4px;font-size:15px;color:#e2e8f0\"><strong>Nurse Charles</strong></p><p style=\"color:#64748b;font-size:14px;margin:0\">ER Nurse &bull; Educator &bull; Advocate</p></div>';\n}\nfunction wrap(content,ctaText,ctaUrl,subtitle){\n  var cta=ctaText?'<div style=\"text-align:center;margin:30px 0\"><a href=\"'+ctaUrl+'\" style=\"display:inline-block;background:linear-gradient(135deg,#43797d,#5a9ea3);color:#fff;text-decoration:none;padding:14px 32px;border-radius:6px;font-weight:600;font-size:16px\">'+ctaText+'</a></div>':'';\n  return '<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"UTF-8\"><meta name=\"viewport\" content=\"width=device-width,initial-scale=1.0\"></head><body style=\"margin:0;padding:0;background-color:#080c16;font-family:Helvetica Neue,Arial,sans-serif\"><div style=\"max-width:600px;margin:0 auto;background:#0B0F1A\">'+hdr(subtitle)+'<div style=\"padding:35px 40px;color:#e2e8f0;line-height:1.7;font-size:16px\">'+content+cta+'</div>'+ftr()+'</div></body></html>';\n}\nfunction box(inner){\n  return '<div style=\"background:rgba(96,247,250,0.06);border-left:3px solid #60f7fa;padding:18px 22px;margin:22px 0;border-radius:0 6px 6px 0\">'+inner+'</div>';\n}\nfunction tipCard(num,title,text){\n  return '<div style=\"background:rgba(96,247,250,0.06);border-radius:8px;padding:20px 24px;margin:18px 0\"><p style=\"color:#60f7fa;font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:2px;margin:0 0 6px\">Lesson '+num+'</p><h3 style=\"color:#fff;font-size:17px;margin:0 0 8px\">'+title+'</h3><p style=\"margin:0;font-size:15px;color:#e2e8f0\">'+text+'</p></div>';\n}\nfunction stepBlock(num,title,text){\n  return '<div style=\"margin:22px 0;padding:18px 22px;border-radius:8px;background:rgba(96,247,250,0.06)\"><span style=\"display:inline-block;background:linear-gradient(135deg,#43797d,#5a9ea3);color:#fff;width:30px;height:30px;border-radius:50%;text-align:center;line-height:30px;font-weight:700;font-size:14px;margin-right:10px\">'+num+'</span><h3 style=\"display:inline;color:#fff;font-size:17px\">'+title+'</h3><p style=\"margin:10px 0 0;font-size:15px;color:#e2e8f0\">'+text+'</p></div>';\n}\nfunction checkItem(text){\n  return '<li style=\"padding:10px 0 10px 35px;position:relative;border-bottom:1px solid rgba(96,247,250,0.08);font-size:15px;color:#e2e8f0;list-style:none\"><span style=\"position:absolute;left:8px;color:#60f7fa;font-weight:700;font-size:18px\">&#10003;</span>'+text+'</li>';\n}\nconst fn = $('Extract Contact Data').first().json.firstName || 'there';\nreturn [{json:{emailHtml:wrap('<h2 style=\"color:#fff;font-size:20px;margin-top:0\">The shift that almost made me quit.</h2>'+\n'<p>Hey '+fn+',</p>'+\n'<p>It was a Friday night. We were understaffed &#8212; as usual &#8212; and the ER was packed wall-to-wall. I\\'d already been on my feet for ten hours straight.</p>'+\n'<p>Then a young man came in. Gunshot wound. He couldn\\'t have been older than 19. And as we worked on him, I looked up and saw his mother in the hallway &#8212; screaming, being held back by security &#8212; and something inside me just... cracked.</p>'+\n'<p>Not because it was the first time. Because it was the <em>hundredth</em> time.</p>'+\n'<p>I went home that morning, sat in my car in the driveway, and didn\\'t move for forty-five minutes. I thought about quitting. I thought about walking away from all of it.</p>'+\n'<hr style=\"border:none;border-top:2px solid rgba(96,247,250,0.08);margin:25px 0\">'+\n'<p><strong>But I didn\\'t.</strong></p>'+\n'<p>Because the next week, that young man\\'s mother found me. She grabbed my hand in the waiting room and said, <em>\\\"Thank you for fighting for my son.\\\"</em></p>'+\n'<p>He survived. And in that moment, I remembered why I do this.</p>'+\n'<p>Not every story ends that way. I\\'ve lost patients. I\\'ve cried in supply closets. I\\'ve questioned everything. But every single time, I come back. Because <strong>this work matters.</strong></p>'+\n'<table role=\"presentation\" style=\"width:100%;margin:25px 0;background:rgba(96,247,250,0.06);border-radius:8px\"><tr><td style=\"text-align:center;padding:20px\"><div style=\"display:inline-block;text-align:center;padding:0 20px\"><div style=\"color:#60f7fa;font-size:28px;font-weight:700\">37+</div><div style=\"color:#5a9ea3;font-size:12px;text-transform:uppercase;letter-spacing:1px\">Years in the ER</div></div><div style=\"display:inline-block;text-align:center;padding:0 20px\"><div style=\"color:#60f7fa;font-size:28px;font-weight:700\">150K+</div><div style=\"color:#5a9ea3;font-size:12px;text-transform:uppercase;letter-spacing:1px\">TikTok Family</div></div><div style=\"display:inline-block;text-align:center;padding:0 20px\"><div style=\"color:#60f7fa;font-size:28px;font-weight:700\">25K+</div><div style=\"color:#5a9ea3;font-size:12px;text-transform:uppercase;letter-spacing:1px\">Instagram Community</div></div></td></tr></table>'+\n'<p>Those numbers up there? That\\'s not vanity. That\\'s <strong>trust.</strong> Every one of those followers chose to hear what I have to say &#8212; because they know I\\'ve lived it.</p>'+\n'<p>And now you\\'re here too. That means something to me.</p>'+\n'<p>In my next email, I\\'m going to start sharing the practical stuff &#8212; real nursing tips from the trenches. Things I wish someone had told me on day one.</p>'+\nsig('Still fighting,'),'Follow the Journey on Instagram','https://www.instagram.com/nursecharlesmedia')}}];"
      },
      "id": "code-email-03",
      "name": "Build Email 03",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        2000,
        0
      ]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://api.resend.com/emails",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "Content-Type",
              "value": "application/json"
            }
          ]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={\n  \"from\": \"Nurse Charles <charles@mail.nursecharlesmedia.com>\",\n  \"to\": [\"{{ $('Extract Contact Data').item.json.email }}\"],\n  \"subject\": \"3 things I've seen that changed how I practice\",\n  \"html\": {{ JSON.stringify($json.emailHtml) }}\n}"
      },
      "id": "send-03",
      "name": "Send Email 03",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        2250,
        0
      ],
      "credentials": {
        "httpHeaderAuth": {
          "id": "83bayJB4JKjeXtVy",
          "name": "Resend API Key"
        }
      }
    },
    {
      "parameters": {
        "amount": 2,
        "unit": "days"
      },
      "id": "wait-04",
      "name": "Wait Day 2\u21924",
      "type": "n8n-nodes-base.wait",
      "typeVersion": 1.1,
      "position": [
        2500,
        0
      ]
    },
    {
      "parameters": {
        "jsCode": "function hdr(subtitle){\n  subtitle = subtitle || 'Real Talk from the ER &bull; 37+ Years Strong';\n  return '<div style=\"background:linear-gradient(135deg,#0B0F1A,#151C2E);padding:30px 40px;text-align:center;border-bottom:2px solid rgba(96,247,250,0.15)\"><h1 style=\"color:#60f7fa;font-family:Bebas Neue,Arial,sans-serif;font-size:28px;margin:0;font-weight:600;letter-spacing:0.05em\">NURSE CHARLES</h1><p style=\"color:#5a9ea3;font-size:14px;margin:5px 0 0\">'+subtitle+'</p></div>';\n}\nfunction ftr(){\n  return '<div style=\"background:#080c16;padding:25px 40px;text-align:center;border-top:1px solid rgba(96,247,250,0.08)\"><div style=\"margin:0 0 15px\"><a href=\"https://www.tiktok.com/@nursecharlesmedia\" style=\"color:#5a9ea3;text-decoration:none;margin:0 12px;font-size:14px\">TikTok</a><a href=\"https://www.instagram.com/nursecharlesmedia\" style=\"color:#5a9ea3;text-decoration:none;margin:0 12px;font-size:14px\">Instagram</a><a href=\"https://www.youtube.com/@NurseCharles\" style=\"color:#5a9ea3;text-decoration:none;margin:0 12px;font-size:14px\">YouTube</a></div><p style=\"color:#64748b;font-size:12px;margin:5px 0\">&copy; 2026 Nurse Charles Media. All rights reserved.</p><p style=\"color:#64748b;font-size:12px;margin:5px 0\"><a href=\"#\" style=\"color:#5a9ea3;text-decoration:underline\">Unsubscribe</a></p></div>';\n}\nfunction sig(signoff){\n  return '<div style=\"border-top:1px solid rgba(96,247,250,0.08);padding-top:20px;margin-top:10px\"><p style=\"margin:0 0 4px;font-size:15px;color:#e2e8f0\"><strong>'+signoff+'</strong></p><p style=\"margin:0 0 4px;font-size:15px;color:#e2e8f0\"><strong>Nurse Charles</strong></p><p style=\"color:#64748b;font-size:14px;margin:0\">ER Nurse &bull; Educator &bull; Advocate</p></div>';\n}\nfunction wrap(content,ctaText,ctaUrl,subtitle){\n  var cta=ctaText?'<div style=\"text-align:center;margin:30px 0\"><a href=\"'+ctaUrl+'\" style=\"display:inline-block;background:linear-gradient(135deg,#43797d,#5a9ea3);color:#fff;text-decoration:none;padding:14px 32px;border-radius:6px;font-weight:600;font-size:16px\">'+ctaText+'</a></div>':'';\n  return '<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"UTF-8\"><meta name=\"viewport\" content=\"width=device-width,initial-scale=1.0\"></head><body style=\"margin:0;padding:0;background-color:#080c16;font-family:Helvetica Neue,Arial,sans-serif\"><div style=\"max-width:600px;margin:0 auto;background:#0B0F1A\">'+hdr(subtitle)+'<div style=\"padding:35px 40px;color:#e2e8f0;line-height:1.7;font-size:16px\">'+content+cta+'</div>'+ftr()+'</div></body></html>';\n}\nfunction box(inner){\n  return '<div style=\"background:rgba(96,247,250,0.06);border-left:3px solid #60f7fa;padding:18px 22px;margin:22px 0;border-radius:0 6px 6px 0\">'+inner+'</div>';\n}\nfunction tipCard(num,title,text){\n  return '<div style=\"background:rgba(96,247,250,0.06);border-radius:8px;padding:20px 24px;margin:18px 0\"><p style=\"color:#60f7fa;font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:2px;margin:0 0 6px\">Lesson '+num+'</p><h3 style=\"color:#fff;font-size:17px;margin:0 0 8px\">'+title+'</h3><p style=\"margin:0;font-size:15px;color:#e2e8f0\">'+text+'</p></div>';\n}\nfunction stepBlock(num,title,text){\n  return '<div style=\"margin:22px 0;padding:18px 22px;border-radius:8px;background:rgba(96,247,250,0.06)\"><span style=\"display:inline-block;background:linear-gradient(135deg,#43797d,#5a9ea3);color:#fff;width:30px;height:30px;border-radius:50%;text-align:center;line-height:30px;font-weight:700;font-size:14px;margin-right:10px\">'+num+'</span><h3 style=\"display:inline;color:#fff;font-size:17px\">'+title+'</h3><p style=\"margin:10px 0 0;font-size:15px;color:#e2e8f0\">'+text+'</p></div>';\n}\nfunction checkItem(text){\n  return '<li style=\"padding:10px 0 10px 35px;position:relative;border-bottom:1px solid rgba(96,247,250,0.08);font-size:15px;color:#e2e8f0;list-style:none\"><span style=\"position:absolute;left:8px;color:#60f7fa;font-weight:700;font-size:18px\">&#10003;</span>'+text+'</li>';\n}\nconst fn = $('Extract Contact Data').first().json.firstName || 'there';\nreturn [{json:{emailHtml:wrap('<h2 style=\"color:#fff;font-size:20px;margin-top:0\">5 Things Every ER Nurse Learns the Hard Way</h2>'+\n'<p>Hey '+fn+',</p>'+\n'<p>Whether you\\'re a nurse, a nursing student, or someone who cares about a nurse &#8212; these lessons took me <em>decades</em> to learn. I\\'m giving them to you in five minutes.</p>'+\ntipCard('01','Your first code won\\'t go like the textbook says.','The adrenaline hits different when it\\'s real. Your hands shake. Your mind races. That\\'s normal. The key is to <strong>trust your training</strong> &#8212; your body knows what to do even when your brain is panicking.')+\ntipCard('02','Document like your license depends on it &#8212; because it does.','I\\'ve seen careers saved and destroyed by charting. If you didn\\'t write it down, it didn\\'t happen. Period. Take the extra two minutes. Future you will be grateful.')+\ntipCard('03','The quiet patients scare me more than the loud ones.','Screaming means airway. Screaming means conscious. It\\'s the ones who go silent you need to watch. Always assess the quiet room first.')+\ntipCard('04','You cannot pour from an empty cup &#8212; and the ER will drain you dry.','Burnout isn\\'t a badge of honor. Eat your meals. Drink your water. Take your breaks. If you go down, your patients go down with you.')+\ntipCard('05','The patient is always someone\\'s whole world.','When you\\'ve seen 40 patients in a shift, it\\'s easy to see numbers. But that person in bed 7? They\\'re somebody\\'s father, daughter, best friend. Treat every single one like the most important person you\\'ll see today.')+\n'<p>These aren\\'t things they teach in school. These are things the ER teaches you &#8212; shift by shift, patient by patient.</p>'+\n'<p><strong>Want more?</strong> I go deeper on my YouTube channel &#8212; real ER stories, nursing advice, and the stuff nobody else is talking about.</p>'+\nsig('Keep learning, keep growing,'),'Watch on YouTube','https://www.youtube.com/@NurseCharles')}}];"
      },
      "id": "code-email-04",
      "name": "Build Email 04",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        2750,
        0
      ]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://api.resend.com/emails",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "Content-Type",
              "value": "application/json"
            }
          ]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={\n  \"from\": \"Nurse Charles <charles@mail.nursecharlesmedia.com>\",\n  \"to\": [\"{{ $('Extract Contact Data').item.json.email }}\"],\n  \"subject\": \"The nursing tip they don't teach in school\",\n  \"html\": {{ JSON.stringify($json.emailHtml) }}\n}"
      },
      "id": "send-04",
      "name": "Send Email 04",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        3000,
        0
      ],
      "credentials": {
        "httpHeaderAuth": {
          "id": "83bayJB4JKjeXtVy",
          "name": "Resend API Key"
        }
      }
    },
    {
      "parameters": {
        "amount": 2,
        "unit": "days"
      },
      "id": "wait-05",
      "name": "Wait Day 4\u21926",
      "type": "n8n-nodes-base.wait",
      "typeVersion": 1.1,
      "position": [
        3250,
        0
      ]
    },
    {
      "parameters": {
        "jsCode": "function hdr(subtitle){\n  subtitle = subtitle || 'Real Talk from the ER &bull; 37+ Years Strong';\n  return '<div style=\"background:linear-gradient(135deg,#0B0F1A,#151C2E);padding:30px 40px;text-align:center;border-bottom:2px solid rgba(96,247,250,0.15)\"><h1 style=\"color:#60f7fa;font-family:Bebas Neue,Arial,sans-serif;font-size:28px;margin:0;font-weight:600;letter-spacing:0.05em\">NURSE CHARLES</h1><p style=\"color:#5a9ea3;font-size:14px;margin:5px 0 0\">'+subtitle+'</p></div>';\n}\nfunction ftr(){\n  return '<div style=\"background:#080c16;padding:25px 40px;text-align:center;border-top:1px solid rgba(96,247,250,0.08)\"><div style=\"margin:0 0 15px\"><a href=\"https://www.tiktok.com/@nursecharlesmedia\" style=\"color:#5a9ea3;text-decoration:none;margin:0 12px;font-size:14px\">TikTok</a><a href=\"https://www.instagram.com/nursecharlesmedia\" style=\"color:#5a9ea3;text-decoration:none;margin:0 12px;font-size:14px\">Instagram</a><a href=\"https://www.youtube.com/@NurseCharles\" style=\"color:#5a9ea3;text-decoration:none;margin:0 12px;font-size:14px\">YouTube</a></div><p style=\"color:#64748b;font-size:12px;margin:5px 0\">&copy; 2026 Nurse Charles Media. All rights reserved.</p><p style=\"color:#64748b;font-size:12px;margin:5px 0\"><a href=\"#\" style=\"color:#5a9ea3;text-decoration:underline\">Unsubscribe</a></p></div>';\n}\nfunction sig(signoff){\n  return '<div style=\"border-top:1px solid rgba(96,247,250,0.08);padding-top:20px;margin-top:10px\"><p style=\"margin:0 0 4px;font-size:15px;color:#e2e8f0\"><strong>'+signoff+'</strong></p><p style=\"margin:0 0 4px;font-size:15px;color:#e2e8f0\"><strong>Nurse Charles</strong></p><p style=\"color:#64748b;font-size:14px;margin:0\">ER Nurse &bull; Educator &bull; Advocate</p></div>';\n}\nfunction wrap(content,ctaText,ctaUrl,subtitle){\n  var cta=ctaText?'<div style=\"text-align:center;margin:30px 0\"><a href=\"'+ctaUrl+'\" style=\"display:inline-block;background:linear-gradient(135deg,#43797d,#5a9ea3);color:#fff;text-decoration:none;padding:14px 32px;border-radius:6px;font-weight:600;font-size:16px\">'+ctaText+'</a></div>':'';\n  return '<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"UTF-8\"><meta name=\"viewport\" content=\"width=device-width,initial-scale=1.0\"></head><body style=\"margin:0;padding:0;background-color:#080c16;font-family:Helvetica Neue,Arial,sans-serif\"><div style=\"max-width:600px;margin:0 auto;background:#0B0F1A\">'+hdr(subtitle)+'<div style=\"padding:35px 40px;color:#e2e8f0;line-height:1.7;font-size:16px\">'+content+cta+'</div>'+ftr()+'</div></body></html>';\n}\nfunction box(inner){\n  return '<div style=\"background:rgba(96,247,250,0.06);border-left:3px solid #60f7fa;padding:18px 22px;margin:22px 0;border-radius:0 6px 6px 0\">'+inner+'</div>';\n}\nfunction tipCard(num,title,text){\n  return '<div style=\"background:rgba(96,247,250,0.06);border-radius:8px;padding:20px 24px;margin:18px 0\"><p style=\"color:#60f7fa;font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:2px;margin:0 0 6px\">Lesson '+num+'</p><h3 style=\"color:#fff;font-size:17px;margin:0 0 8px\">'+title+'</h3><p style=\"margin:0;font-size:15px;color:#e2e8f0\">'+text+'</p></div>';\n}\nfunction stepBlock(num,title,text){\n  return '<div style=\"margin:22px 0;padding:18px 22px;border-radius:8px;background:rgba(96,247,250,0.06)\"><span style=\"display:inline-block;background:linear-gradient(135deg,#43797d,#5a9ea3);color:#fff;width:30px;height:30px;border-radius:50%;text-align:center;line-height:30px;font-weight:700;font-size:14px;margin-right:10px\">'+num+'</span><h3 style=\"display:inline;color:#fff;font-size:17px\">'+title+'</h3><p style=\"margin:10px 0 0;font-size:15px;color:#e2e8f0\">'+text+'</p></div>';\n}\nfunction checkItem(text){\n  return '<li style=\"padding:10px 0 10px 35px;position:relative;border-bottom:1px solid rgba(96,247,250,0.08);font-size:15px;color:#e2e8f0;list-style:none\"><span style=\"position:absolute;left:8px;color:#60f7fa;font-weight:700;font-size:18px\">&#10003;</span>'+text+'</li>';\n}\nconst fn = $('Extract Contact Data').first().json.firstName || 'there';\nreturn [{json:{emailHtml:wrap('<h2 style=\"color:#fff;font-size:20px;margin-top:0\">Let\\'s talk about burnout.</h2>'+\n'<p>Hey '+fn+',</p>'+\n'<p>Not the \\\"I\\'m tired after a long shift\\\" kind. I mean the kind where you sit in your car before work and can\\'t make yourself walk through the door. The kind where you start to feel <em>nothing</em> &#8212; and that scares you more than the trauma.</p>'+\n'<p>I\\'ve been there. More than once.</p>'+\nbox('<p style=\"margin:0;font-size:15px;color:#e2e8f0\"><strong>Nursing burnout isn\\'t weakness.</strong> It\\'s what happens when good people absorb too much pain for too long without proper support. And in the ER? The pain never stops coming.</p>')+\n'<p>After 37 years, here\\'s what actually helped me survive &#8212; not just as a nurse, but as a <em>human being:</em></p>'+\n'<ul style=\"list-style:none;padding:0;margin:20px 0\">'+\ncheckItem('<strong>Set a hard boundary on overtime.</strong> The hospital will always need more. You can\\'t give what you don\\'t have. Saying no isn\\'t selfish &#8212; it\\'s survival.')+\ncheckItem('<strong>Find your debrief person.</strong> Not a therapist (though that helps too). I mean someone who <em>gets it</em>. Another nurse. Someone who doesn\\'t flinch when you describe your shift.')+\ncheckItem('<strong>Move your body after a bad shift.</strong> I don\\'t care if it\\'s a walk, a gym session, or dancing in your kitchen. Your body holds trauma. You have to move it out.')+\ncheckItem('<strong>Stop numbing with screen time.</strong> I know it\\'s tempting to just scroll for three hours after a shift. But your brain needs real rest &#8212; silence, sleep, something that doesn\\'t stimulate.')+\ncheckItem('<strong>Remember your why.</strong> Write it on a card. Put it in your locker. On your worst days, read it. You chose this for a reason.')+\n'</ul>'+\n'<p>If you\\'re a nurse reading this and you\\'re struggling &#8212; <strong>you are not alone.</strong> I see your messages. I hear you. And I\\'m building things specifically to help you.</p>'+\n'<p>More on that soon. For now, take care of yourself today. Not tomorrow. Today.</p>'+\nsig('I see you. Keep going.'),'Join the Conversation on TikTok','https://www.tiktok.com/@nursecharlesmedia')}}];"
      },
      "id": "code-email-05",
      "name": "Build Email 05",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        3500,
        0
      ]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://api.resend.com/emails",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "Content-Type",
              "value": "application/json"
            }
          ]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={\n  \"from\": \"Nurse Charles <charles@mail.nursecharlesmedia.com>\",\n  \"to\": [\"{{ $('Extract Contact Data').item.json.email }}\"],\n  \"subject\": \"What I tell every new nurse on Day 1\",\n  \"html\": {{ JSON.stringify($json.emailHtml) }}\n}"
      },
      "id": "send-05",
      "name": "Send Email 05",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        3750,
        0
      ],
      "credentials": {
        "httpHeaderAuth": {
          "id": "83bayJB4JKjeXtVy",
          "name": "Resend API Key"
        }
      }
    },
    {
      "parameters": {
        "amount": 2,
        "unit": "days"
      },
      "id": "wait-06",
      "name": "Wait Day 6\u21928",
      "type": "n8n-nodes-base.wait",
      "typeVersion": 1.1,
      "position": [
        4000,
        0
      ]
    },
    {
      "parameters": {
        "jsCode": "function hdr(subtitle){\n  subtitle = subtitle || 'Real Talk from the ER &bull; 37+ Years Strong';\n  return '<div style=\"background:linear-gradient(135deg,#0B0F1A,#151C2E);padding:30px 40px;text-align:center;border-bottom:2px solid rgba(96,247,250,0.15)\"><h1 style=\"color:#60f7fa;font-family:Bebas Neue,Arial,sans-serif;font-size:28px;margin:0;font-weight:600;letter-spacing:0.05em\">NURSE CHARLES</h1><p style=\"color:#5a9ea3;font-size:14px;margin:5px 0 0\">'+subtitle+'</p></div>';\n}\nfunction ftr(){\n  return '<div style=\"background:#080c16;padding:25px 40px;text-align:center;border-top:1px solid rgba(96,247,250,0.08)\"><div style=\"margin:0 0 15px\"><a href=\"https://www.tiktok.com/@nursecharlesmedia\" style=\"color:#5a9ea3;text-decoration:none;margin:0 12px;font-size:14px\">TikTok</a><a href=\"https://www.instagram.com/nursecharlesmedia\" style=\"color:#5a9ea3;text-decoration:none;margin:0 12px;font-size:14px\">Instagram</a><a href=\"https://www.youtube.com/@NurseCharles\" style=\"color:#5a9ea3;text-decoration:none;margin:0 12px;font-size:14px\">YouTube</a></div><p style=\"color:#64748b;font-size:12px;margin:5px 0\">&copy; 2026 Nurse Charles Media. All rights reserved.</p><p style=\"color:#64748b;font-size:12px;margin:5px 0\"><a href=\"#\" style=\"color:#5a9ea3;text-decoration:underline\">Unsubscribe</a></p></div>';\n}\nfunction sig(signoff){\n  return '<div style=\"border-top:1px solid rgba(96,247,250,0.08);padding-top:20px;margin-top:10px\"><p style=\"margin:0 0 4px;font-size:15px;color:#e2e8f0\"><strong>'+signoff+'</strong></p><p style=\"margin:0 0 4px;font-size:15px;color:#e2e8f0\"><strong>Nurse Charles</strong></p><p style=\"color:#64748b;font-size:14px;margin:0\">ER Nurse &bull; Educator &bull; Advocate</p></div>';\n}\nfunction wrap(content,ctaText,ctaUrl,subtitle){\n  var cta=ctaText?'<div style=\"text-align:center;margin:30px 0\"><a href=\"'+ctaUrl+'\" style=\"display:inline-block;background:linear-gradient(135deg,#43797d,#5a9ea3);color:#fff;text-decoration:none;padding:14px 32px;border-radius:6px;font-weight:600;font-size:16px\">'+ctaText+'</a></div>':'';\n  return '<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"UTF-8\"><meta name=\"viewport\" content=\"width=device-width,initial-scale=1.0\"></head><body style=\"margin:0;padding:0;background-color:#080c16;font-family:Helvetica Neue,Arial,sans-serif\"><div style=\"max-width:600px;margin:0 auto;background:#0B0F1A\">'+hdr(subtitle)+'<div style=\"padding:35px 40px;color:#e2e8f0;line-height:1.7;font-size:16px\">'+content+cta+'</div>'+ftr()+'</div></body></html>';\n}\nfunction box(inner){\n  return '<div style=\"background:rgba(96,247,250,0.06);border-left:3px solid #60f7fa;padding:18px 22px;margin:22px 0;border-radius:0 6px 6px 0\">'+inner+'</div>';\n}\nfunction tipCard(num,title,text){\n  return '<div style=\"background:rgba(96,247,250,0.06);border-radius:8px;padding:20px 24px;margin:18px 0\"><p style=\"color:#60f7fa;font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:2px;margin:0 0 6px\">Lesson '+num+'</p><h3 style=\"color:#fff;font-size:17px;margin:0 0 8px\">'+title+'</h3><p style=\"margin:0;font-size:15px;color:#e2e8f0\">'+text+'</p></div>';\n}\nfunction stepBlock(num,title,text){\n  return '<div style=\"margin:22px 0;padding:18px 22px;border-radius:8px;background:rgba(96,247,250,0.06)\"><span style=\"display:inline-block;background:linear-gradient(135deg,#43797d,#5a9ea3);color:#fff;width:30px;height:30px;border-radius:50%;text-align:center;line-height:30px;font-weight:700;font-size:14px;margin-right:10px\">'+num+'</span><h3 style=\"display:inline;color:#fff;font-size:17px\">'+title+'</h3><p style=\"margin:10px 0 0;font-size:15px;color:#e2e8f0\">'+text+'</p></div>';\n}\nfunction checkItem(text){\n  return '<li style=\"padding:10px 0 10px 35px;position:relative;border-bottom:1px solid rgba(96,247,250,0.08);font-size:15px;color:#e2e8f0;list-style:none\"><span style=\"position:absolute;left:8px;color:#60f7fa;font-weight:700;font-size:18px\">&#10003;</span>'+text+'</li>';\n}\nconst fn = $('Extract Contact Data').first().json.firstName || 'there';\nreturn [{json:{emailHtml:wrap('<h2 style=\"color:#fff;font-size:20px;margin-top:0\">A letter to the nurse I used to be.</h2>'+\n'<p>Hey '+fn+',</p>'+\n'<p>I\\'ve been thinking about what I\\'d say to myself on day one. If I could sit down with 22-year-old Charles, scrubs still creased, hands still shaking &#8212; here\\'s the letter I\\'d write:</p>'+\n'<div style=\"background:rgba(96,247,250,0.06);border:1px solid rgba(96,247,250,0.1);border-radius:8px;padding:25px 28px;margin:22px 0;font-style:italic;color:#e2e8f0\">'+\n'<p style=\"margin:0 0 14px\">Dear Young Charles,</p>'+\n'<p style=\"margin:0 0 14px\">You\\'re going to lose patients. Not because you did something wrong &#8212; because some battles aren\\'t yours to win. Don\\'t let that break you. Let it make you sharper.</p>'+\n'<p style=\"margin:0 0 14px\">Learn every name. The patient\\'s name. The family\\'s name. The janitor\\'s name. Respect costs nothing and earns everything in this building.</p>'+\n'<p style=\"margin:0 0 14px\">Don\\'t try to be the smartest person in the room. Be the most <strong>prepared.</strong> Read the charts before rounds. Anticipate the orders. When the doctor asks, you should already know.</p>'+\n'<p style=\"margin:0 0 14px\">Find a mentor. Not the one everyone loves &#8212; the one who\\'s been doing this for 20 years and still shows up with fire. Watch how they move. Watch how they talk to patients. That\\'s your real education.</p>'+\n'<p style=\"margin:0 0 14px\">Eat lunch. I\\'m serious. You\\'ll think skipping meals makes you dedicated. It just makes you dangerous. A hungry nurse makes mistakes.</p>'+\n'<p style=\"margin:0 0 14px\">And one more thing &#8212; you\\'re going to build something bigger than the ER one day. You don\\'t see it yet, but the world needs your voice beyond these walls.</p>'+\n'<p style=\"margin:0 0 14px\">Don\\'t rush it. Every shift is a lesson. Bank them all.</p>'+\n'<p style=\"margin:0\"><strong>&#8212; Future You (37 years and counting)</strong></p>'+\n'</div>'+\n'<p>Whether you\\'re a brand-new nurse or you\\'ve been in the game for years &#8212; I hope something in that letter hit home.</p>'+\n'<p>Share it with a nurse who needs to hear it. Sometimes the right words at the right time can change everything.</p>'+\n'<div style=\"background:rgba(96,247,250,0.06);border-radius:8px;padding:20px 24px;margin:25px 0;text-align:center\"><p style=\"margin:0;color:#e2e8f0;font-size:15px\"><strong>Coming next:</strong> I need to talk to you about something serious. Something I\\'m seeing in the ER more and more &#8212; and it\\'s affecting younger patients every single day. <em>Vaping.</em></p></div>'+\nsig('Passing the torch,'),'More Real Talk on YouTube','https://www.youtube.com/@NurseCharles')}}];"
      },
      "id": "code-email-06",
      "name": "Build Email 06",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        4250,
        0
      ]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://api.resend.com/emails",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "Content-Type",
              "value": "application/json"
            }
          ]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={\n  \"from\": \"Nurse Charles <charles@mail.nursecharlesmedia.com>\",\n  \"to\": [\"{{ $('Extract Contact Data').item.json.email }}\"],\n  \"subject\": \"The mistake I see patients make every single shift\",\n  \"html\": {{ JSON.stringify($json.emailHtml) }}\n}"
      },
      "id": "send-06",
      "name": "Send Email 06",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        4500,
        0
      ],
      "credentials": {
        "httpHeaderAuth": {
          "id": "83bayJB4JKjeXtVy",
          "name": "Resend API Key"
        }
      }
    },
    {
      "parameters": {
        "amount": 2,
        "unit": "days"
      },
      "id": "wait-07",
      "name": "Wait Day 8\u219210",
      "type": "n8n-nodes-base.wait",
      "typeVersion": 1.1,
      "position": [
        4750,
        0
      ]
    },
    {
      "parameters": {
        "jsCode": "function hdr(subtitle){\n  subtitle = subtitle || 'Real Talk from the ER &bull; 37+ Years Strong';\n  return '<div style=\"background:linear-gradient(135deg,#0B0F1A,#151C2E);padding:30px 40px;text-align:center;border-bottom:2px solid rgba(96,247,250,0.15)\"><h1 style=\"color:#60f7fa;font-family:Bebas Neue,Arial,sans-serif;font-size:28px;margin:0;font-weight:600;letter-spacing:0.05em\">NURSE CHARLES</h1><p style=\"color:#5a9ea3;font-size:14px;margin:5px 0 0\">'+subtitle+'</p></div>';\n}\nfunction ftr(){\n  return '<div style=\"background:#080c16;padding:25px 40px;text-align:center;border-top:1px solid rgba(96,247,250,0.08)\"><div style=\"margin:0 0 15px\"><a href=\"https://www.tiktok.com/@nursecharlesmedia\" style=\"color:#5a9ea3;text-decoration:none;margin:0 12px;font-size:14px\">TikTok</a><a href=\"https://www.instagram.com/nursecharlesmedia\" style=\"color:#5a9ea3;text-decoration:none;margin:0 12px;font-size:14px\">Instagram</a><a href=\"https://www.youtube.com/@NurseCharles\" style=\"color:#5a9ea3;text-decoration:none;margin:0 12px;font-size:14px\">YouTube</a></div><p style=\"color:#64748b;font-size:12px;margin:5px 0\">&copy; 2026 Nurse Charles Media. All rights reserved.</p><p style=\"color:#64748b;font-size:12px;margin:5px 0\"><a href=\"#\" style=\"color:#5a9ea3;text-decoration:underline\">Unsubscribe</a></p></div>';\n}\nfunction sig(signoff){\n  return '<div style=\"border-top:1px solid rgba(96,247,250,0.08);padding-top:20px;margin-top:10px\"><p style=\"margin:0 0 4px;font-size:15px;color:#e2e8f0\"><strong>'+signoff+'</strong></p><p style=\"margin:0 0 4px;font-size:15px;color:#e2e8f0\"><strong>Nurse Charles</strong></p><p style=\"color:#64748b;font-size:14px;margin:0\">ER Nurse &bull; Educator &bull; Advocate</p></div>';\n}\nfunction wrap(content,ctaText,ctaUrl,subtitle){\n  var cta=ctaText?'<div style=\"text-align:center;margin:30px 0\"><a href=\"'+ctaUrl+'\" style=\"display:inline-block;background:linear-gradient(135deg,#43797d,#5a9ea3);color:#fff;text-decoration:none;padding:14px 32px;border-radius:6px;font-weight:600;font-size:16px\">'+ctaText+'</a></div>':'';\n  return '<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"UTF-8\"><meta name=\"viewport\" content=\"width=device-width,initial-scale=1.0\"></head><body style=\"margin:0;padding:0;background-color:#080c16;font-family:Helvetica Neue,Arial,sans-serif\"><div style=\"max-width:600px;margin:0 auto;background:#0B0F1A\">'+hdr(subtitle)+'<div style=\"padding:35px 40px;color:#e2e8f0;line-height:1.7;font-size:16px\">'+content+cta+'</div>'+ftr()+'</div></body></html>';\n}\nfunction box(inner){\n  return '<div style=\"background:rgba(96,247,250,0.06);border-left:3px solid #60f7fa;padding:18px 22px;margin:22px 0;border-radius:0 6px 6px 0\">'+inner+'</div>';\n}\nfunction tipCard(num,title,text){\n  return '<div style=\"background:rgba(96,247,250,0.06);border-radius:8px;padding:20px 24px;margin:18px 0\"><p style=\"color:#60f7fa;font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:2px;margin:0 0 6px\">Lesson '+num+'</p><h3 style=\"color:#fff;font-size:17px;margin:0 0 8px\">'+title+'</h3><p style=\"margin:0;font-size:15px;color:#e2e8f0\">'+text+'</p></div>';\n}\nfunction stepBlock(num,title,text){\n  return '<div style=\"margin:22px 0;padding:18px 22px;border-radius:8px;background:rgba(96,247,250,0.06)\"><span style=\"display:inline-block;background:linear-gradient(135deg,#43797d,#5a9ea3);color:#fff;width:30px;height:30px;border-radius:50%;text-align:center;line-height:30px;font-weight:700;font-size:14px;margin-right:10px\">'+num+'</span><h3 style=\"display:inline;color:#fff;font-size:17px\">'+title+'</h3><p style=\"margin:10px 0 0;font-size:15px;color:#e2e8f0\">'+text+'</p></div>';\n}\nfunction checkItem(text){\n  return '<li style=\"padding:10px 0 10px 35px;position:relative;border-bottom:1px solid rgba(96,247,250,0.08);font-size:15px;color:#e2e8f0;list-style:none\"><span style=\"position:absolute;left:8px;color:#60f7fa;font-weight:700;font-size:18px\">&#10003;</span>'+text+'</li>';\n}\nconst fn = $('Extract Contact Data').first().json.firstName || 'there';\nreturn [{json:{emailHtml:wrap('<h2 style=\"color:#fff;font-size:20px;margin-top:0\">I need to tell you what I\\'m seeing.</h2>'+\n'<p>Hey '+fn+',</p>'+\n'<p>I\\'ve treated gunshot wounds. I\\'ve treated overdoses. I\\'ve treated car accident victims. And right now &#8212; the thing keeping me up at night isn\\'t any of those.</p>'+\n'<p><strong>It\\'s vaping.</strong></p>'+\n'<p>I\\'m watching teenagers &#8212; 15, 16, 17 years old &#8212; come into my ER with breathing problems that look like they belong in a 60-year-old smoker. Chest pain. Shortness of breath. Collapsed lungs. And every single one of them says the same thing:</p>'+\n'<p><em>\\\"But it\\'s just vaping. It\\'s not like real cigarettes.\\\"</em></p>'+\nbox('<p style=\"margin:0 0 10px;font-size:15px;color:#e2e8f0\"><strong>Here\\'s what the vape industry doesn\\'t tell you:</strong></p><p style=\"margin:0 0 10px;font-size:15px;color:#e2e8f0\">&#8594; A single JUUL pod contains as much nicotine as 20 cigarettes</p><p style=\"margin:0 0 10px;font-size:15px;color:#e2e8f0\">&#8594; Vaping introduces ultrafine particles deep into the lungs</p><p style=\"margin:0 0 10px;font-size:15px;color:#e2e8f0\">&#8594; Adolescent brains are especially vulnerable to nicotine addiction</p><p style=\"margin:0;font-size:15px;color:#e2e8f0\">&#8594; \\\"EVALI\\\" (e-cigarette/vaping-associated lung injury) can be fatal</p>')+\n'<div style=\"background:rgba(96,247,250,0.06);color:#fff;padding:20px 24px;border-radius:8px;margin:22px 0;text-align:center\"><div style=\"font-size:42px;font-weight:700;color:#60f7fa\">2.5M+</div><p style=\"margin:5px 0 0;font-size:14px;color:#5a9ea3\">U.S. middle and high school students currently use e-cigarettes</p></div>'+\n'<p>This isn\\'t a scare tactic. This is what I see with my own eyes, every single week, in the emergency room. Kids who thought they were invincible. Parents who had no idea.</p>'+\n'<p>And here\\'s the hardest part: <strong>nicotine addiction in young people is incredibly hard to break.</strong> Their brains are still developing. The addiction wires itself in deeper and faster than it does in adults.</p>'+\n'<p>I\\'m not just talking about this online anymore. I\\'m doing something about it.</p>'+\n'<p>Over the next couple of emails, I\\'m going to share real strategies for quitting &#8212; and introduce you to a free guide I\\'ve put together specifically for this crisis.</p>'+\n'<p><strong>If you know someone who vapes &#8212; a kid, a teenager, an adult who thinks it\\'s harmless &#8212; please forward this email.</strong> It might be the wake-up call they need.</p>'+\nsig('Sounding the alarm,'),'Watch My Vaping Videos on TikTok','https://www.tiktok.com/@nursecharlesmedia','An Urgent Message About Vaping')}}];"
      },
      "id": "code-email-07",
      "name": "Build Email 07",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        5000,
        0
      ]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://api.resend.com/emails",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "Content-Type",
              "value": "application/json"
            }
          ]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={\n  \"from\": \"Nurse Charles <charles@mail.nursecharlesmedia.com>\",\n  \"to\": [\"{{ $('Extract Contact Data').item.json.email }}\"],\n  \"subject\": \"The vaping crisis nobody's talking about\",\n  \"html\": {{ JSON.stringify($json.emailHtml) }}\n}"
      },
      "id": "send-07",
      "name": "Send Email 07",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        5250,
        0
      ],
      "credentials": {
        "httpHeaderAuth": {
          "id": "83bayJB4JKjeXtVy",
          "name": "Resend API Key"
        }
      }
    },
    {
      "parameters": {
        "amount": 2,
        "unit": "days"
      },
      "id": "wait-08",
      "name": "Wait Day 10\u219212",
      "type": "n8n-nodes-base.wait",
      "typeVersion": 1.1,
      "position": [
        5500,
        0
      ]
    },
    {
      "parameters": {
        "jsCode": "function hdr(subtitle){\n  subtitle = subtitle || 'Real Talk from the ER &bull; 37+ Years Strong';\n  return '<div style=\"background:linear-gradient(135deg,#0B0F1A,#151C2E);padding:30px 40px;text-align:center;border-bottom:2px solid rgba(96,247,250,0.15)\"><h1 style=\"color:#60f7fa;font-family:Bebas Neue,Arial,sans-serif;font-size:28px;margin:0;font-weight:600;letter-spacing:0.05em\">NURSE CHARLES</h1><p style=\"color:#5a9ea3;font-size:14px;margin:5px 0 0\">'+subtitle+'</p></div>';\n}\nfunction ftr(){\n  return '<div style=\"background:#080c16;padding:25px 40px;text-align:center;border-top:1px solid rgba(96,247,250,0.08)\"><div style=\"margin:0 0 15px\"><a href=\"https://www.tiktok.com/@nursecharlesmedia\" style=\"color:#5a9ea3;text-decoration:none;margin:0 12px;font-size:14px\">TikTok</a><a href=\"https://www.instagram.com/nursecharlesmedia\" style=\"color:#5a9ea3;text-decoration:none;margin:0 12px;font-size:14px\">Instagram</a><a href=\"https://www.youtube.com/@NurseCharles\" style=\"color:#5a9ea3;text-decoration:none;margin:0 12px;font-size:14px\">YouTube</a></div><p style=\"color:#64748b;font-size:12px;margin:5px 0\">&copy; 2026 Nurse Charles Media. All rights reserved.</p><p style=\"color:#64748b;font-size:12px;margin:5px 0\"><a href=\"#\" style=\"color:#5a9ea3;text-decoration:underline\">Unsubscribe</a></p></div>';\n}\nfunction sig(signoff){\n  return '<div style=\"border-top:1px solid rgba(96,247,250,0.08);padding-top:20px;margin-top:10px\"><p style=\"margin:0 0 4px;font-size:15px;color:#e2e8f0\"><strong>'+signoff+'</strong></p><p style=\"margin:0 0 4px;font-size:15px;color:#e2e8f0\"><strong>Nurse Charles</strong></p><p style=\"color:#64748b;font-size:14px;margin:0\">ER Nurse &bull; Educator &bull; Advocate</p></div>';\n}\nfunction wrap(content,ctaText,ctaUrl,subtitle){\n  var cta=ctaText?'<div style=\"text-align:center;margin:30px 0\"><a href=\"'+ctaUrl+'\" style=\"display:inline-block;background:linear-gradient(135deg,#43797d,#5a9ea3);color:#fff;text-decoration:none;padding:14px 32px;border-radius:6px;font-weight:600;font-size:16px\">'+ctaText+'</a></div>':'';\n  return '<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"UTF-8\"><meta name=\"viewport\" content=\"width=device-width,initial-scale=1.0\"></head><body style=\"margin:0;padding:0;background-color:#080c16;font-family:Helvetica Neue,Arial,sans-serif\"><div style=\"max-width:600px;margin:0 auto;background:#0B0F1A\">'+hdr(subtitle)+'<div style=\"padding:35px 40px;color:#e2e8f0;line-height:1.7;font-size:16px\">'+content+cta+'</div>'+ftr()+'</div></body></html>';\n}\nfunction box(inner){\n  return '<div style=\"background:rgba(96,247,250,0.06);border-left:3px solid #60f7fa;padding:18px 22px;margin:22px 0;border-radius:0 6px 6px 0\">'+inner+'</div>';\n}\nfunction tipCard(num,title,text){\n  return '<div style=\"background:rgba(96,247,250,0.06);border-radius:8px;padding:20px 24px;margin:18px 0\"><p style=\"color:#60f7fa;font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:2px;margin:0 0 6px\">Lesson '+num+'</p><h3 style=\"color:#fff;font-size:17px;margin:0 0 8px\">'+title+'</h3><p style=\"margin:0;font-size:15px;color:#e2e8f0\">'+text+'</p></div>';\n}\nfunction stepBlock(num,title,text){\n  return '<div style=\"margin:22px 0;padding:18px 22px;border-radius:8px;background:rgba(96,247,250,0.06)\"><span style=\"display:inline-block;background:linear-gradient(135deg,#43797d,#5a9ea3);color:#fff;width:30px;height:30px;border-radius:50%;text-align:center;line-height:30px;font-weight:700;font-size:14px;margin-right:10px\">'+num+'</span><h3 style=\"display:inline;color:#fff;font-size:17px\">'+title+'</h3><p style=\"margin:10px 0 0;font-size:15px;color:#e2e8f0\">'+text+'</p></div>';\n}\nfunction checkItem(text){\n  return '<li style=\"padding:10px 0 10px 35px;position:relative;border-bottom:1px solid rgba(96,247,250,0.08);font-size:15px;color:#e2e8f0;list-style:none\"><span style=\"position:absolute;left:8px;color:#60f7fa;font-weight:700;font-size:18px\">&#10003;</span>'+text+'</li>';\n}\nconst fn = $('Extract Contact Data').first().json.firstName || 'there';\nreturn [{json:{emailHtml:wrap('<h2 style=\"color:#fff;font-size:20px;margin-top:0\">Quitting vaping isn\\'t about willpower. It\\'s about strategy.</h2>'+\n'<p>Hey '+fn+',</p>'+\n'<p>Last email I told you what I\\'m seeing in the ER. Today, I want to give you something <em>actionable</em> &#8212; because awareness without a plan is just anxiety.</p>'+\n'<p>After working with countless patients and studying the research, here\\'s the framework I recommend:</p>'+\nstepBlock('1','Pick Your Quit Date (and Tell Someone)','Don\\'t say \\\"I\\'ll quit eventually.\\\" Pick a date within the next 2 weeks. Write it down. Tell someone you trust. Accountability makes it real.')+\nstepBlock('2','Map Your Triggers','Most people vape at the same times: after meals, during stress, in the car, with certain friends. For 3 days before your quit date, write down every time you reach for the vape and <em>why.</em> Knowing your triggers is half the battle.')+\nstepBlock('3','Replace the Ritual (Not Just the Nicotine)','Vaping isn\\'t just a chemical addiction &#8212; it\\'s a <em>behavioral</em> one. The hand-to-mouth motion. The inhale. The break. Replace these with something: deep breathing exercises, sugar-free gum, a stress ball. Your body needs a new pattern.')+\nstepBlock('4','Consider Nicotine Replacement (Talk to Your Doctor)','Patches, lozenges, or gum can help manage withdrawal while you break the behavioral habit. Don\\'t try to fight chemistry and behavior at the same time. Talk to a healthcare provider about what\\'s right for you.')+\nstepBlock('5','Build Your Support System','You need people who will check on you, not judge you. Tell your inner circle. Remove vaping friends from your daily routine (temporarily). Join online communities. You don\\'t have to do this alone.')+\n'<p>These five steps aren\\'t magic. But they\\'re <strong>proven</strong> &#8212; and they work a lot better than just throwing your vape in the trash and hoping for the best.</p>'+\n'<div style=\"background:rgba(96,247,250,0.06);border:1px solid rgba(96,247,250,0.15);border-radius:8px;padding:20px 24px;margin:25px 0;text-align:center\"><p style=\"margin:0;color:#e2e8f0;font-size:15px\"><strong>Want the complete guide?</strong> I\\'ve put together a free, detailed resource called <em>The ER Nurse\\'s Guide to Quitting Vaping</em> &#8212; with checklists, day-by-day plans, and the medical truth about what vaping does to your body. I\\'ll send you the link in my next email.</p></div>'+\nsig('One step at a time,'),'Share This With Someone Who Needs It','https://www.instagram.com/nursecharlesmedia')}}];"
      },
      "id": "code-email-08",
      "name": "Build Email 08",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        5750,
        0
      ]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://api.resend.com/emails",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "Content-Type",
              "value": "application/json"
            }
          ]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={\n  \"from\": \"Nurse Charles <charles@mail.nursecharlesmedia.com>\",\n  \"to\": [\"{{ $('Extract Contact Data').item.json.email }}\"],\n  \"subject\": \"My framework for helping anyone quit\",\n  \"html\": {{ JSON.stringify($json.emailHtml) }}\n}"
      },
      "id": "send-08",
      "name": "Send Email 08",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        6000,
        0
      ],
      "credentials": {
        "httpHeaderAuth": {
          "id": "83bayJB4JKjeXtVy",
          "name": "Resend API Key"
        }
      }
    },
    {
      "parameters": {
        "amount": 2,
        "unit": "days"
      },
      "id": "wait-09",
      "name": "Wait Day 12\u219214",
      "type": "n8n-nodes-base.wait",
      "typeVersion": 1.1,
      "position": [
        6250,
        0
      ]
    },
    {
      "parameters": {
        "jsCode": "function hdr(subtitle){\n  subtitle = subtitle || 'Real Talk from the ER &bull; 37+ Years Strong';\n  return '<div style=\"background:linear-gradient(135deg,#0B0F1A,#151C2E);padding:30px 40px;text-align:center;border-bottom:2px solid rgba(96,247,250,0.15)\"><h1 style=\"color:#60f7fa;font-family:Bebas Neue,Arial,sans-serif;font-size:28px;margin:0;font-weight:600;letter-spacing:0.05em\">NURSE CHARLES</h1><p style=\"color:#5a9ea3;font-size:14px;margin:5px 0 0\">'+subtitle+'</p></div>';\n}\nfunction ftr(){\n  return '<div style=\"background:#080c16;padding:25px 40px;text-align:center;border-top:1px solid rgba(96,247,250,0.08)\"><div style=\"margin:0 0 15px\"><a href=\"https://www.tiktok.com/@nursecharlesmedia\" style=\"color:#5a9ea3;text-decoration:none;margin:0 12px;font-size:14px\">TikTok</a><a href=\"https://www.instagram.com/nursecharlesmedia\" style=\"color:#5a9ea3;text-decoration:none;margin:0 12px;font-size:14px\">Instagram</a><a href=\"https://www.youtube.com/@NurseCharles\" style=\"color:#5a9ea3;text-decoration:none;margin:0 12px;font-size:14px\">YouTube</a></div><p style=\"color:#64748b;font-size:12px;margin:5px 0\">&copy; 2026 Nurse Charles Media. All rights reserved.</p><p style=\"color:#64748b;font-size:12px;margin:5px 0\"><a href=\"#\" style=\"color:#5a9ea3;text-decoration:underline\">Unsubscribe</a></p></div>';\n}\nfunction sig(signoff){\n  return '<div style=\"border-top:1px solid rgba(96,247,250,0.08);padding-top:20px;margin-top:10px\"><p style=\"margin:0 0 4px;font-size:15px;color:#e2e8f0\"><strong>'+signoff+'</strong></p><p style=\"margin:0 0 4px;font-size:15px;color:#e2e8f0\"><strong>Nurse Charles</strong></p><p style=\"color:#64748b;font-size:14px;margin:0\">ER Nurse &bull; Educator &bull; Advocate</p></div>';\n}\nfunction wrap(content,ctaText,ctaUrl,subtitle){\n  var cta=ctaText?'<div style=\"text-align:center;margin:30px 0\"><a href=\"'+ctaUrl+'\" style=\"display:inline-block;background:linear-gradient(135deg,#43797d,#5a9ea3);color:#fff;text-decoration:none;padding:14px 32px;border-radius:6px;font-weight:600;font-size:16px\">'+ctaText+'</a></div>':'';\n  return '<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"UTF-8\"><meta name=\"viewport\" content=\"width=device-width,initial-scale=1.0\"></head><body style=\"margin:0;padding:0;background-color:#080c16;font-family:Helvetica Neue,Arial,sans-serif\"><div style=\"max-width:600px;margin:0 auto;background:#0B0F1A\">'+hdr(subtitle)+'<div style=\"padding:35px 40px;color:#e2e8f0;line-height:1.7;font-size:16px\">'+content+cta+'</div>'+ftr()+'</div></body></html>';\n}\nfunction box(inner){\n  return '<div style=\"background:rgba(96,247,250,0.06);border-left:3px solid #60f7fa;padding:18px 22px;margin:22px 0;border-radius:0 6px 6px 0\">'+inner+'</div>';\n}\nfunction tipCard(num,title,text){\n  return '<div style=\"background:rgba(96,247,250,0.06);border-radius:8px;padding:20px 24px;margin:18px 0\"><p style=\"color:#60f7fa;font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:2px;margin:0 0 6px\">Lesson '+num+'</p><h3 style=\"color:#fff;font-size:17px;margin:0 0 8px\">'+title+'</h3><p style=\"margin:0;font-size:15px;color:#e2e8f0\">'+text+'</p></div>';\n}\nfunction stepBlock(num,title,text){\n  return '<div style=\"margin:22px 0;padding:18px 22px;border-radius:8px;background:rgba(96,247,250,0.06)\"><span style=\"display:inline-block;background:linear-gradient(135deg,#43797d,#5a9ea3);color:#fff;width:30px;height:30px;border-radius:50%;text-align:center;line-height:30px;font-weight:700;font-size:14px;margin-right:10px\">'+num+'</span><h3 style=\"display:inline;color:#fff;font-size:17px\">'+title+'</h3><p style=\"margin:10px 0 0;font-size:15px;color:#e2e8f0\">'+text+'</p></div>';\n}\nfunction checkItem(text){\n  return '<li style=\"padding:10px 0 10px 35px;position:relative;border-bottom:1px solid rgba(96,247,250,0.08);font-size:15px;color:#e2e8f0;list-style:none\"><span style=\"position:absolute;left:8px;color:#60f7fa;font-weight:700;font-size:18px\">&#10003;</span>'+text+'</li>';\n}\nconst fn = $('Extract Contact Data').first().json.firstName || 'there';\nreturn [{json:{emailHtml:wrap('<h2 style=\"color:#fff;font-size:22px;margin-top:0\">I built this guide because I was tired of watching people struggle alone.</h2>'+\n'<p>Hey '+fn+',</p>'+\n'<p>Over the last two emails, I showed you what vaping is doing to people &#8212; and I gave you a framework for quitting. But I know that reading an email isn\\'t the same as having a plan in your hands.</p>'+\n'<p>So I created one.</p>'+\n'<div style=\"background:linear-gradient(135deg,#0B0F1A,#151C2E);border:1px solid rgba(96,247,250,0.15);border-radius:12px;padding:30px;margin:25px 0;text-align:center;color:#fff\"><h3 style=\"font-size:20px;margin:0 0 8px;color:#fff\">The ER Nurse\\'s Guide to Quitting Vaping</h3><p style=\"color:#5a9ea3;font-size:14px;margin:0 0 20px\">A free, comprehensive guide from 37+ years of frontline experience</p><a href=\"https://nursecharlesmedia.com/stop-vaping-landing-page\" style=\"display:inline-block;background:linear-gradient(135deg,#43797d,#5a9ea3);color:#fff;text-decoration:none;padding:16px 40px;border-radius:8px;font-weight:700;font-size:18px\">Download Your Free Guide</a></div>'+\n'<p><strong>Here\\'s what\\'s inside:</strong></p>'+\n'<ul style=\"list-style:none;padding:0;margin:22px 0\">'+\ncheckItem('<strong>The Medical Truth:</strong> What vaping actually does to your lungs, heart, and brain &#8212; explained in plain English by an ER nurse')+\ncheckItem('<strong>The 30-Day Quit Plan:</strong> Day-by-day guidance so you\\'re never guessing what to do next')+\ncheckItem('<strong>Trigger Mapping Worksheet:</strong> Identify exactly when and why you vape &#8212; then build counter-strategies')+\ncheckItem('<strong>Withdrawal Timeline:</strong> Know what to expect physically and emotionally, so nothing catches you off guard')+\ncheckItem('<strong>Scripts for Tough Conversations:</strong> What to say to friends who still vape, parents who don\\'t understand, or kids you\\'re worried about')+\ncheckItem('<strong>Resource Directory:</strong> Hotlines, apps, and support groups that actually help')+\n'</ul>'+\n'<div style=\"background:rgba(96,247,250,0.06);border-radius:8px;padding:18px 22px;margin:22px 0;font-style:italic;text-align:center;color:#e2e8f0;font-size:15px\">\\\"I\\'ve been a nurse for 37 years. I\\'ve seen what works and what doesn\\'t. This guide is everything I know &#8212; organized into something you can actually use.\\\"<br><strong>&#8212; Nurse Charles</strong></div>'+\n'<p>This guide is <strong>100% free.</strong> No catch. I built it because this crisis is too urgent to gatekeep behind a paywall.</p>'+\n'<p><strong>Ready to go further?</strong> The guide gives you the knowledge. But if you want accountability, structure, and a community doing it with you &#8212; I built something for that too.</p>'+\n'<div style=\"background:rgba(96,247,250,0.06);border:2px solid #60f7fa;border-radius:12px;padding:30px;margin:30px 0;text-align:center\"><h3 style=\"font-size:22px;margin:0 0 10px;color:#60f7fa\">The 5-Day Smoke-Free Challenge</h3><p style=\"color:#e2e8f0;font-size:15px;margin:0 0 20px\">Five days. Real structure. Daily guidance from me. A community of people quitting together. This is where the guide comes to life &#8212; and where real change starts.</p><a href=\"https://nursecharlesmedia.com/5-day-challenge\" style=\"display:inline-block;background:#60f7fa;color:#0B0F1A;text-decoration:none;padding:16px 40px;border-radius:8px;font-weight:700;font-size:18px\">Join the Free 5-Day Challenge</a></div>'+\n'<p><strong>If you vape, share this with someone who does, or have a child you\\'re worried about</strong> &#8212; download the guide and sign up for the challenge. This could be the turning point.</p>'+\n'<p>This is just the beginning. I\\'ve got more resources, more tools, and more real talk coming your way. Stay tuned.</p>'+\nsig('Here to help,'),null,null,'Free Resource &#8212; Just for You')}}];"
      },
      "id": "code-email-09",
      "name": "Build Email 09",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        6500,
        0
      ]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://api.resend.com/emails",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "Content-Type",
              "value": "application/json"
            }
          ]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={\n  \"from\": \"Nurse Charles <charles@mail.nursecharlesmedia.com>\",\n  \"to\": [\"{{ $('Extract Contact Data').item.json.email }}\"],\n  \"subject\": \"Ready to go further? The 5-Day Challenge awaits\",\n  \"html\": {{ JSON.stringify($json.emailHtml) }}\n}"
      },
      "id": "send-09",
      "name": "Send Email 09",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        6750,
        0
      ],
      "credentials": {
        "httpHeaderAuth": {
          "id": "83bayJB4JKjeXtVy",
          "name": "Resend API Key"
        }
      }
    },
    {
      "parameters": {
        "conditions": {
          "options": {
            "caseSensitive": false,
            "typeValidation": "strict",
            "version": 2
          },
          "conditions": [
            {
              "leftValue": "={{ $json.email }}",
              "rightValue": "",
              "operator": {
                "type": "string",
                "operation": "notEquals"
              }
            }
          ],
          "combinator": "and"
        }
      },
      "type": "n8n-nodes-base.if",
      "typeVersion": 2.2,
      "position": [
        380,
        300
      ],
      "id": "email-check",
      "name": "Has Email?"
    }
  ],
  "connections": {
    "GHL Webhook": {
      "main": [
        [
          {
            "node": "Extract Contact Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract Contact Data": {
      "main": [
        [
          {
            "node": "Has Email?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Build Email 01": {
      "main": [
        [
          {
            "node": "Send Email 01",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Email 01": {
      "main": [
        [
          {
            "node": "Wait Day 0\u21921",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait Day 0\u21921": {
      "main": [
        [
          {
            "node": "Build Email 02",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Build Email 02": {
      "main": [
        [
          {
            "node": "Send Email 02",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Email 02": {
      "main": [
        [
          {
            "node": "Wait Day 1\u21922",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait Day 1\u21922": {
      "main": [
        [
          {
            "node": "Build Email 03",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Build Email 03": {
      "main": [
        [
          {
            "node": "Send Email 03",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Email 03": {
      "main": [
        [
          {
            "node": "Wait Day 2\u21924",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait Day 2\u21924": {
      "main": [
        [
          {
            "node": "Build Email 04",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Build Email 04": {
      "main": [
        [
          {
            "node": "Send Email 04",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Email 04": {
      "main": [
        [
          {
            "node": "Wait Day 4\u21926",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait Day 4\u21926": {
      "main": [
        [
          {
            "node": "Build Email 05",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Build Email 05": {
      "main": [
        [
          {
            "node": "Send Email 05",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Email 05": {
      "main": [
        [
          {
            "node": "Wait Day 6\u21928",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait Day 6\u21928": {
      "main": [
        [
          {
            "node": "Build Email 06",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Build Email 06": {
      "main": [
        [
          {
            "node": "Send Email 06",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Email 06": {
      "main": [
        [
          {
            "node": "Wait Day 8\u219210",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait Day 8\u219210": {
      "main": [
        [
          {
            "node": "Build Email 07",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Build Email 07": {
      "main": [
        [
          {
            "node": "Send Email 07",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Email 07": {
      "main": [
        [
          {
            "node": "Wait Day 10\u219212",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait Day 10\u219212": {
      "main": [
        [
          {
            "node": "Build Email 08",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Build Email 08": {
      "main": [
        [
          {
            "node": "Send Email 08",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Email 08": {
      "main": [
        [
          {
            "node": "Wait Day 12\u219214",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait Day 12\u219214": {
      "main": [
        [
          {
            "node": "Build Email 09",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Build Email 09": {
      "main": [
        [
          {
            "node": "Send Email 09",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Has Email?": {
      "main": [
        [
          {
            "node": "Build Email 01",
            "type": "main",
            "index": 0
          }
        ],
        []
      ]
    }
  },
  "settings": {
    "executionOrder": "v1",
    "saveManualExecutions": true,
    "callerPolicy": "workflowsFromSameOwner",
    "availableInMCP": false
  },
  "staticData": null,
  "meta": null,
  "pinData": null,
  "versionId": "e326e295-d948-4ef4-b24a-02069256d269",
  "activeVersionId": null,
  "versionCounter": 13,
  "triggerCount": 1,
  "shared": [
    {
      "updatedAt": "2026-03-30T01:46:48.927Z",
      "createdAt": "2026-03-30T01:46:48.927Z",
      "role": "workflow:owner",
      "workflowId": "XXcGDQH3Q5A7dCG3",
      "projectId": "91dLj8Hg37i136qG",
      "project": {
        "updatedAt": "2026-03-22T06:53:28.112Z",
        "createdAt": "2026-02-12T18:32:53.056Z",
        "id": "91dLj8Hg37i136qG",
        "name": "Bryce Folsom <bfolsom@emersonnorth.com>",
        "type": "personal",
        "icon": null,
        "description": null,
        "creatorId": "17d3676f-3e74-4586-8363-5c1f4d237ed7"
      }
    }
  ],
  "tags": [],
  "activeVersion": null
}