{
  "active": false,
  "connections": {
    "Webhook": {
      "main": [
        [
          {
            "node": "Microsoft Outlook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Microsoft Outlook": {
      "main": [
        [
          {
            "node": "IF",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "IF": {
      "main": [
        [
          {
            "node": "Respond to Webhook",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Respond to Webhook1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "createdAt": "2024-04-23T08:48:00.545Z",
  "id": "NFOhAtu4L4eG8TC3",
  "meta": null,
  "name": "e20party",
  "nodes": [
    {
      "parameters": {
        "path": "b5642f3c-d537-45d2-b487-8e02e0e09bda",
        "responseMode": "responseNode",
        "options": {}
      },
      "id": "64eb2a18-dbd8-4e90-86d6-4907e56ded54",
      "name": "Webhook",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 1,
      "position": [
        240,
        320
      ]
    },
    {
      "parameters": {
        "toRecipients": "={{ $('Webhook').item.json[\"query\"][\"email\"] }}",
        "subject": "={{ $('Webhook').item.json[\"query\"][\"ogg\"] }} - Venti Anni di Net Target",
        "bodyContent": "=<!DOCTYPE html>\n<html lang=\"it\">\n<head>\n    <meta charset=\"UTF-8\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n\t\n    <title>E20 PARTY</title>\n\t\n\t<link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">\n\t<link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>\n\t<link href=\"https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap\" rel=\"stylesheet\">\n\t\n\t<style>\n\n\t</style>\n</head>\n<body style=\"background-color: #5B5959; font-family: 'Montserrant', sans-serif;\">\n\t<p style=\"margin-top: 35px; color: #5B5959\">E20 Party - Net Target</p>\n\t<div style=\"width: 100%; max-width: 550px; display: block; margin-left: auto; margin-right: auto; margin-top: 40px;\">\n\t\t<h1 style=\"text-align: center; color: #F3F5F9; margin-top: 45px; font-size: 48pt; line-height: 48px;\">\n\t\t\tVENTI ANNI<br>\n\t\t\t<span style=\"text-align: center; color: #F3F5F9; font-size: 32pt;\">di NET TARGET</span>\n\t\t</h1>\n\t\t\n\t\t<p style=\"padding: 0px 25px; color: #F3F5F9; font-family: 'Montserrant', sans-serif; font-size: 12pt; line-height: 18pt; letter-spacing: 0.6px; text-align: justify\">\n\t\t\tCiao <span style=\"font-weight: bold;\">{{ $('Webhook').item.json[\"query\"][\"nome\"] }}</span>,\n\t\t</p>\n\t\t\n\t\t<p style=\"padding: 0px 25px; color: #F3F5F9; font-family: 'Montserrant', sans-serif; font-size: 12pt; line-height: 18pt; letter-spacing: 0.6px; text-align: justify\">\n\t\t\tGrazie per aver confermato la tua partecipazione all'evento <b>E20 Party</b> di <b>Net Target</b>.\n\t\t</p>\n\t\t\n\t\t<p style=\"padding: 0px 25px; color: #F3F5F9; font-family: 'Montserrant', sans-serif; font-size: 12pt; line-height: 18pt; letter-spacing: 0.6px; text-align: justify\">\n\t\t\tTi aspettiamo alle {{ $('Webhook').item.json[\"query\"][\"orario\"] }} di <span style=\"color: #FF8636; font-weight: bold;\">Gioved\u00ec 16 Maggio</span> per {{ $('Webhook').item.json[\"query\"][\"testo\"] }} presso la <a href=\"https://www.piajo.it\" style=\"color: #4AB445; font-weight: bold;\">Tenuta colle Piajo</a> in Via Piajo 1 a Nembro (BG).\n\t\t</p>\n\t\t\n\t\t<p style=\"text-align: center; margin-top: 30px; margin-bottom: 55px; font-size: 18px;\"><a href=\"https://maps.app.goo.gl/zKkAa5SegPsFsY7H9\" style=\"background-color: #F3F5F9; padding: 11px 20px 10px 20px; border-radius: 8px; color: #7A3D8e; text-decoration: none; font-weight: 900;\">OTTIENI INDICAZIONI</a></p>\n\t\t<p style=\"padding: 0px 25px; color: #F3F5F9; font-family: 'Montserrant', sans-serif; font-size: 12pt; line-height: 18pt; letter-spacing: 0.6px; text-align: justify\">\n\t\t\tPer qualsiasi informazione o dubbio, rispondi a questa mail.<br>\n\t\t\t<br>\n\t\t\tA presto\n\t\t</p>\n\t\t\n\t\t<p style=\"margin-top: 30px; padding: 0px 25px; color: #F3F5F9; font-family: 'Montserrant', sans-serif; font-size: 12pt; line-height: 18pt; letter-spacing: 0.6px; text-align: justify\">\n\t\t\t<i>Francesco Brissoni</i>\n\t\t</p>\n\n\t\t<p style=\"margin-top: 50px; padding: 0px 25px; color: #b0b0b0; font-family: 'Montserrant', sans-serif; font-size: 9pt; line-height: 18pt; letter-spacing: 0.6px; text-align: center\">\n\t\t\tNet Target Srl | Via Sant Jesus 2 - 24027 Nembro BG<br>\n\t\t\ttel. <a style=\"color: #b0b0b0;\" href=\"tel:+390350400204\">035 0400204</a> | <a style=\"color: #b0b0b0\" href=\"https://net-target.it\">net-target.it</a>\n\t\t</p>\n\t\t<p style=\"margin-top: 35px; color: #5B5959\">.</p>\n\t</div>\n</body>\n</html>",
        "additionalFields": {
          "bodyContentType": "html"
        }
      },
      "id": "416cedf6-bcc6-4657-9fd3-2370cf18e146",
      "name": "Microsoft Outlook",
      "type": "n8n-nodes-base.microsoftOutlook",
      "typeVersion": 2,
      "position": [
        560,
        320
      ],
      "credentials": {
        "microsoftOutlookOAuth2Api": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "conditions": {
          "boolean": [
            {
              "value1": "={{ $json.success }}",
              "value2": true
            }
          ]
        }
      },
      "id": "8d678e95-9e2e-4b7c-95ad-cf86ac937cc2",
      "name": "IF",
      "type": "n8n-nodes-base.if",
      "typeVersion": 1,
      "position": [
        840,
        320
      ]
    },
    {
      "parameters": {
        "respondWith": "text",
        "responseBody": "true",
        "options": {}
      },
      "id": "efa7936f-8335-4f39-80e6-294430172f9d",
      "name": "Respond to Webhook",
      "type": "n8n-nodes-base.respondToWebhook",
      "typeVersion": 1,
      "position": [
        1280,
        180
      ]
    },
    {
      "parameters": {
        "respondWith": "text",
        "responseBody": "false",
        "options": {}
      },
      "id": "478877a4-f442-4151-82c9-74558bb229bc",
      "name": "Respond to Webhook1",
      "type": "n8n-nodes-base.respondToWebhook",
      "typeVersion": 1,
      "position": [
        1280,
        480
      ]
    }
  ],
  "settings": {
    "executionOrder": "v1"
  },
  "staticData": null,
  "tags": [],
  "triggerCount": 1,
  "updatedAt": "2024-05-29T15:34:32.000Z",
  "versionId": "039b68cc-e651-4de6-9c03-1bb00f17947f"
}