{
  "name": "My workflow",
  "nodes": [
    {
      "parameters": {
        "formTitle": "Request an installation",
        "formDescription": "fill out this form to request an installation. we will reach out to you via email to finalize your appointment ",
        "formFields": {
          "values": [
            {
              "fieldLabel": "Email Address",
              "fieldType": "email"
            },
            {
              "fieldLabel": "Preferred install date",
              "fieldType": "date"
            }
          ]
        },
        "options": {}
      },
      "type": "n8n-nodes-base.formTrigger",
      "typeVersion": 2.5,
      "position": [
        0,
        0
      ],
      "id": "31632a8c-e02d-462d-9b88-94f83f4b8963",
      "name": "On form submission"
    },
    {
      "parameters": {
        "conditions": {
          "options": {
            "caseSensitive": true,
            "leftValue": "",
            "typeValidation": "strict",
            "version": 3
          },
          "conditions": [
            {
              "id": "f0c2c118-fefc-430b-9e72-b6dfc588eb61",
              "leftValue": "={{ $json['Preferred install date'] }}",
              "rightValue": "={{ $now.plus(7,\"days\") }}",
              "operator": {
                "type": "dateTime",
                "operation": "beforeOrEquals"
              }
            }
          ],
          "combinator": "and"
        },
        "options": {}
      },
      "type": "n8n-nodes-base.if",
      "typeVersion": 2.3,
      "position": [
        208,
        0
      ],
      "id": "d0f6c3b3-7bb2-470b-9a8a-3fd90245f152",
      "name": "Is within 7 days?"
    },
    {
      "parameters": {},
      "type": "n8n-nodes-base.noOp",
      "typeVersion": 1,
      "position": [
        496,
        32
      ],
      "id": "3d7ba431-496b-4405-bc60-daa171d41870",
      "name": "todo"
    },
    {
      "parameters": {
        "authentication": "oAuth2",
        "select": "channel",
        "channelId": {
          "__rl": true,
          "value": "C0ADL2S5JCX",
          "mode": "list",
          "cachedResultName": "all-n-eight-n"
        },
        "text": "=New install request (within 7 days).\ncontact email: {{ $json['Email Address'] }}\npreferred install date:{{ $json['Preferred install date'] }}",
        "otherOptions": {}
      },
      "type": "n8n-nodes-base.slack",
      "typeVersion": 2.4,
      "position": [
        512,
        -96
      ],
      "id": "fdb2a21b-6529-4a39-b750-939e3d7e7f2f",
      "name": "Send a message",
      "credentials": {
        "slackOAuth2Api": {
          "name": "<your credential>"
        }
      }
    }
  ],
  "connections": {
    "On form submission": {
      "main": [
        [
          {
            "node": "Is within 7 days?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Is within 7 days?": {
      "main": [
        [
          {
            "node": "Send a message",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "todo",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": true,
  "settings": {
    "executionOrder": "v1",
    "binaryMode": "separate",
    "availableInMCP": false
  },
  "versionId": "164cf4c5-8ecc-40fc-b035-cebb55e355f9",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "id": "hdCXc96xIG_HtJrQfRS2s",
  "tags": []
}