{
  "name": "Kinetic Hue \u2014 Auto Outreach (Status-driven)",
  "nodes": [
    {
      "parameters": {
        "rule": {
          "interval": [
            {
              "field": "days",
              "daysInterval": 1,
              "triggerAtHour": 9
            }
          ]
        }
      },
      "id": "c1000000-0000-0000-0000-000000000001",
      "name": "Every Day 09:00",
      "type": "n8n-nodes-base.scheduleTrigger",
      "typeVersion": 1.2,
      "position": [
        -180,
        300
      ]
    },
    {
      "parameters": {
        "documentId": {
          "__rl": true,
          "value": "",
          "mode": "list",
          "cachedResultName": ""
        },
        "sheetName": {
          "__rl": true,
          "value": "",
          "mode": "list",
          "cachedResultName": ""
        },
        "filtersUI": {
          "values": [
            {
              "lookupColumn": "Status",
              "lookupValue": "new"
            }
          ]
        },
        "options": {}
      },
      "id": "c1000000-0000-0000-0000-000000000002",
      "name": "Read NEW Rows",
      "type": "n8n-nodes-base.googleSheets",
      "typeVersion": 4.5,
      "position": [
        40,
        300
      ],
      "credentials": {
        "googleSheetsOAuth2Api": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "options": {
          "reset": false
        },
        "batchSize": 1
      },
      "id": "c1000000-0000-0000-0000-000000000003",
      "name": "Loop Over Rows",
      "type": "n8n-nodes-base.splitInBatches",
      "typeVersion": 3,
      "position": [
        280,
        300
      ]
    },
    {
      "parameters": {},
      "id": "c1000000-0000-0000-0000-000000000004",
      "name": "Done",
      "type": "n8n-nodes-base.noOp",
      "typeVersion": 1,
      "position": [
        520,
        160
      ]
    },
    {
      "parameters": {
        "assignments": {
          "assignments": [
            {
              "id": "f0000000-0000-0000-0000-000000000010",
              "name": "emailHtml",
              "value": "=<!DOCTYPE html>\n<html lang=\"ro\">\n<head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n<title>Kinetic Hue \u2014 Prezentare</title>\n</head>\n<!-- Outlook-safe: layout pe tabele + stiluri inline. {{ $json[\"Company\"] }} este inlocuit per rand de workflow-ul n8n. -->\n<body style=\"margin:0; padding:0; background-color:#eef1f5; font-family:'DM Sans','Segoe UI',Arial,sans-serif;\">\n<table role=\"presentation\" width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" style=\"background-color:#eef1f5;\">\n  <tr>\n    <td align=\"center\" style=\"padding:24px 12px;\">\n      <table role=\"presentation\" width=\"600\" cellpadding=\"0\" cellspacing=\"0\" style=\"max-width:600px; width:100%; background-color:#ffffff; border-radius:12px; overflow:hidden; border:1px solid #dfe4ea;\">\n\n        <!-- Header bar -->\n        <tr>\n          <td style=\"background-color:#0b1224; padding:22px 28px;\">\n            <table role=\"presentation\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">\n              <tr>\n                <td style=\"vertical-align:middle;\">\n                  <table role=\"presentation\" cellpadding=\"0\" cellspacing=\"0\"><tr>\n                    <td style=\"width:40px; height:40px; background-color:#5b6cff; border-radius:9px; text-align:center; vertical-align:middle; color:#ffffff; font-weight:700; font-size:16px; letter-spacing:0.5px;\">KH</td>\n                    <td style=\"padding-left:12px; color:#ffffff; font-size:18px; font-weight:700; letter-spacing:0.2px;\">Kinetic&nbsp;Hue</td>\n                  </tr></table>\n                </td>\n                <td align=\"right\" style=\"vertical-align:middle; color:#7fe3d4; font-size:11px; font-weight:600; letter-spacing:1px; text-transform:uppercase;\">Automatizare&nbsp;&amp;&nbsp;Securitate</td>\n              </tr>\n            </table>\n          </td>\n        </tr>\n\n        <!-- Accent line -->\n        <tr><td style=\"height:3px; background-color:#2dd4bf; line-height:3px; font-size:0;\">&nbsp;</td></tr>\n\n        <!-- Body -->\n        <tr>\n          <td style=\"padding:32px 28px 8px 28px; color:#1a2233; font-size:15px; line-height:1.6;\">\n            <p style=\"margin:0 0 16px 0;\">Bun\u0103 ziua, echipa {{ $json[\"Company\"] }},</p>\n{{ $json[\"PrimulRand\"] ? ('<p style=\"margin:0 0 16px 0;\">' + $json[\"PrimulRand\"] + '</p>') : '' }}\n            <p style=\"margin:0 0 16px 0;\">Dou\u0103 probleme cost\u0103 companiile din Rom\u00e2nia mai mult dec\u00e2t ar trebui: munca manual\u0103 repetitiv\u0103 care consum\u0103 timpul echipei \u0219i bre\u0219ele de securitate pe care NIS2 le-a transformat \u00eentr-o r\u0103spundere legal\u0103.</p>\n\n            <p style=\"margin:0 0 20px 0; font-weight:600; color:#0b1224;\">Kinetic Hue le rezolv\u0103 pe am\u00e2ndou\u0103 \u2014 \u00eent\u00e2i auditul, apoi tehnologia.</p>\n          </td>\n        </tr>\n\n        <!-- Feature: Automatizare -->\n        <tr>\n          <td style=\"padding:0 28px;\">\n            <table role=\"presentation\" width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" style=\"background-color:#f5f7fb; border-radius:10px; border-left:3px solid #5b6cff;\">\n              <tr><td style=\"padding:16px 18px; color:#1a2233; font-size:14px; line-height:1.55;\">\n                <span style=\"display:block; font-weight:700; color:#0b1224; margin-bottom:4px;\">Automatizare &amp; AI</span>\n                Construim workflow-uri n8n \u0219i integr\u0103ri LLM care elimin\u0103 procesele repetitive \u2014 ofertare, raportare, introducere de date, gestionarea lead-urilor. Mai pu\u021bin\u0103 rutin\u0103, mai pu\u021bine erori, ore recuperate.\n              </td></tr>\n            </table>\n          </td>\n        </tr>\n\n        <!-- Feature: Securitate -->\n        <tr>\n          <td style=\"padding:12px 28px 4px 28px;\">\n            <table role=\"presentation\" width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" style=\"background-color:#f5f7fb; border-radius:10px; border-left:3px solid #2dd4bf;\">\n              <tr><td style=\"padding:16px 18px; color:#1a2233; font-size:14px; line-height:1.55;\">\n                <span style=\"display:block; font-weight:700; color:#0b1224; margin-bottom:4px;\">Securitate cibernetic\u0103 administrat\u0103</span>\n                Ca auditor de securitate cibernetic\u0103 autorizat DNSC (CompTIA PenTest+), implement\u0103m \u0219i administr\u0103m <strong>Fortinet</strong>, <strong>Bitdefender</strong> \u0219i backup <strong>Keepit</strong> \u2014 plus \u00eentregul catalog de distribu\u021bie prin NOD \u0219i solu\u021bii endpoint/EDR, inclusiv CrowdStrike. Un singur partener, o singur\u0103 factur\u0103, preg\u0103tit pentru audit.\n              </td></tr>\n            </table>\n          </td>\n        </tr>\n\n        <!-- CTA -->\n        <tr>\n          <td style=\"padding:24px 28px 8px 28px; color:#1a2233; font-size:15px; line-height:1.6;\">\n            <p style=\"margin:0 0 18px 0;\">Nu suntem un reseller care adaug\u0103 servicii la pachet. Auditul vine primul, tehnologia urmeaz\u0103.</p>\n            <p style=\"margin:0 0 22px 0;\">Merit\u0103 20 de minute? O \u00eentrebare ca punct de plecare: <strong>ce proces ar elimina echipa ta m\u00e2ine, dac\u0103 ar putea?</strong></p>\n            <table role=\"presentation\" cellpadding=\"0\" cellspacing=\"0\"><tr>\n              <td style=\"background-color:#5b6cff; border-radius:8px;\">\n                <a href=\"mailto:office@kinetichue.ro?subject=Kinetic%20Hue%20\u2014%20discu%C8%9Bie%2020%20min\" style=\"display:inline-block; padding:12px 26px; color:#ffffff; font-size:14px; font-weight:700; text-decoration:none;\">Programeaz\u0103 o discu\u021bie de 20 de minute &rarr;</a>\n              </td>\n            </tr></table>\n          </td>\n        </tr>\n\n        <!-- Signature -->\n        <tr>\n          <td style=\"padding:26px 28px 10px 28px;\">\n            <table role=\"presentation\" width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" style=\"border-top:1px solid #e6eaf0;\">\n              <tr><td style=\"padding-top:18px; color:#1a2233; font-size:14px; line-height:1.5;\">\n                <strong style=\"color:#0b1224;\">Vladimir Elisei</strong><br>\n                Fondator, Kinetic Hue SRL<br>\n                <a href=\"https://kinetichue.ro\" style=\"color:#5b6cff; text-decoration:none;\">kinetichue.ro</a> &nbsp;\u00b7&nbsp; office@kinetichue.ro\n              </td></tr>\n            </table>\n          </td>\n        </tr>\n\n        <!-- Footer -->\n        <tr>\n          <td style=\"background-color:#0b1224; padding:16px 28px; color:#8b93a7; font-size:11px; line-height:1.5;\">\n            Nu mai vrei mesaje de la noi? R\u0103spunde acestui email cu <strong style=\"color:#b9c0d0;\">STOP</strong> \u0219i te elimin\u0103m din list\u0103.<br><br>\n            Kinetic Hue SRL \u00b7 CUI RO51880953 \u00b7 Bucure\u0219ti, Rom\u00e2nia<br>\n            Partener: Fortinet (Engage / MSSP) \u00b7 Bitdefender \u00b7 Keepit \u00b7 NOD\n          </td>\n        </tr>\n\n      </table>\n    </td>\n  </tr>\n</table>\n</body>\n</html>\n",
              "type": "string"
            }
          ]
        },
        "includeOtherFields": true,
        "options": {}
      },
      "id": "c1000000-0000-0000-0000-000000000005",
      "name": "Build Email HTML",
      "type": "n8n-nodes-base.set",
      "typeVersion": 3.4,
      "position": [
        520,
        380
      ]
    },
    {
      "parameters": {
        "resource": "message",
        "operation": "send",
        "subject": "=Kinetic Hue \u2014 automatizare + securitate pentru {{ $json[\"Company\"] }}",
        "bodyContent": "={{ $json[\"emailHtml\"] }}",
        "toRecipients": "={{ $json[\"Email\"] }}",
        "additionalFields": {
          "bodyContentType": "html",
          "replyTo": "office@kinetichue.ro"
        }
      },
      "id": "c1000000-0000-0000-0000-000000000006",
      "name": "Send via Outlook (M365)",
      "type": "n8n-nodes-base.microsoftOutlook",
      "typeVersion": 2,
      "position": [
        760,
        380
      ],
      "credentials": {
        "microsoftOutlookOAuth2Api": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "operation": "update",
        "documentId": {
          "__rl": true,
          "value": "",
          "mode": "list",
          "cachedResultName": ""
        },
        "sheetName": {
          "__rl": true,
          "value": "",
          "mode": "list",
          "cachedResultName": ""
        },
        "columns": {
          "mappingMode": "defineBelow",
          "matchingColumns": [
            "row_number"
          ],
          "schema": [],
          "value": {
            "row_number": "={{ $('Loop Over Rows').item.json.row_number }}",
            "Status": "sent",
            "DateSent": "={{ $now.toISO() }}"
          }
        },
        "options": {}
      },
      "id": "c1000000-0000-0000-0000-000000000007",
      "name": "Mark Row = sent",
      "type": "n8n-nodes-base.googleSheets",
      "typeVersion": 4.5,
      "position": [
        1000,
        380
      ],
      "credentials": {
        "googleSheetsOAuth2Api": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "amount": 4,
        "unit": "seconds"
      },
      "id": "c1000000-0000-0000-0000-000000000008",
      "name": "Throttle 4s",
      "type": "n8n-nodes-base.wait",
      "typeVersion": 1.1,
      "position": [
        1240,
        380
      ]
    }
  ],
  "connections": {
    "Every Day 09:00": {
      "main": [
        [
          {
            "node": "Read NEW Rows",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Read NEW Rows": {
      "main": [
        [
          {
            "node": "Loop Over Rows",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Rows": {
      "main": [
        [
          {
            "node": "Done",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Build Email HTML",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Build Email HTML": {
      "main": [
        [
          {
            "node": "Send via Outlook (M365)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send via Outlook (M365)": {
      "main": [
        [
          {
            "node": "Mark Row = sent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Mark Row = sent": {
      "main": [
        [
          {
            "node": "Throttle 4s",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Throttle 4s": {
      "main": [
        [
          {
            "node": "Loop Over Rows",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1"
  },
  "meta": {
    "templateId": "kinetichue-auto-outreach-status"
  }
}