{
  "name": "Lead capture form",
  "nodes": [
    {
      "parameters": {
        "path": "newsletter-signup",
        "formTitle": "Sign Up for My Newsletter",
        "formDescription": "Use this form to sign up for my newsletter.\n\nYou can unsubscribe at any time.",
        "formFields": {
          "values": [
            {
              "fieldLabel": "Email",
              "fieldType": "email",
              "placeholder": "eg. user@example.com",
              "requiredField": true
            }
          ]
        },
        "responseMode": "lastNode",
        "options": {
          "appendAttribution": false,
          "buttonLabel": "Sign Up to Newsletter",
          "useWorkflowTimezone": true
        }
      },
      "id": "f75f0100-b312-4e40-b618-07d5d6bb4bb1",
      "name": "Sign Up Form",
      "type": "n8n-nodes-base.formTrigger",
      "typeVersion": 2.1,
      "position": [
        624,
        464
      ],
      "webhookId": "REDACTED"
    },
    {
      "parameters": {
        "operation": "append",
        "documentId": {
          "__rl": true,
          "value": "REDACTED",
          "mode": "list",
          "cachedResultName": "news_letter_signup",
          "cachedResultUrl": "REDACTED"
        },
        "sheetName": {
          "__rl": true,
          "value": "gid=0",
          "mode": "list",
          "cachedResultName": "Sheet1",
          "cachedResultUrl": "REDACTED"
        },
        "columns": {
          "mappingMode": "defineBelow",
          "value": {
            "execution_id": "={{ $execution.id}}",
            "email": "={{ $json.Email }}",
            "date": "={{ $json.submittedAt.split('T')[0] }}"
          },
          "matchingColumns": [],
          "schema": [
            {
              "id": "execution_id",
              "displayName": "execution_id",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "type": "string",
              "canBeUsedToMatch": true
            },
            {
              "id": "date",
              "displayName": "date",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "type": "string",
              "canBeUsedToMatch": true
            },
            {
              "id": "email",
              "displayName": "email",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "type": "string",
              "canBeUsedToMatch": true
            }
          ],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        },
        "options": {}
      },
      "id": "aa8357f6-aac6-4a0d-ba3d-969ccd03e880",
      "name": "Capture Email",
      "type": "n8n-nodes-base.googleSheets",
      "typeVersion": 4.5,
      "position": [
        800,
        464
      ],
      "credentials": {
        "googleSheetsOAuth2Api": {
          "id": "REDACTED",
          "name": "REDACTED"
        }
      }
    },
    {
      "parameters": {
        "authentication": "oAuth2",
        "select": "user",
        "user": {
          "__rl": true,
          "value": "USLACKBOT",
          "mode": "list",
          "cachedResultName": "Slackbot (@slackbot)"
        },
        "messageType": "block",
        "blocksUi": "={\n\t\"blocks\": [\n\t\t{\n\t\t\t\"type\": \"section\",\n\t\t\t\"text\": {\n\t\t\t\t\"type\": \"mrkdwn\",\n\t\t\t\t\"text\": \"{{ $('Sign Up Form').first().json.Email.extractEmail() }} *just signed up to the newsletter!*\"\n\t\t\t}\n\t\t}\n\t]\n}",
        "text": "=A user signed up to the newsletter!",
        "otherOptions": {}
      },
      "id": "6fd491e9-b84e-4dfd-a0a9-11d36c574d36",
      "name": "Notify New Signup!",
      "type": "n8n-nodes-base.slack",
      "typeVersion": 2.2,
      "position": [
        992,
        464
      ],
      "webhookId": "REDACTED",
      "credentials": {
        "slackOAuth2Api": {
          "id": "REDACTED",
          "name": "REDACTED"
        }
      }
    },
    {
      "parameters": {
        "formFields": {
          "values": [
            {
              "fieldLabel": "First Name",
              "placeholder": "eg. Mark",
              "requiredField": true
            },
            {
              "fieldLabel": "Last Name",
              "placeholder": "eg. Zuckerberg",
              "requiredField": true
            },
            {
              "fieldLabel": "Country/Region"
            },
            {
              "fieldLabel": "Job Level",
              "fieldType": "dropdown",
              "fieldOptions": {
                "values": [
                  {
                    "option": "CEO"
                  },
                  {
                    "option": "VP"
                  },
                  {
                    "option": "Director"
                  },
                  {
                    "option": "Manager"
                  },
                  {
                    "option": "Non-manager"
                  },
                  {
                    "option": "Student or Intern"
                  },
                  {
                    "option": "Other"
                  }
                ]
              },
              "requiredField": true
            },
            {
              "fieldLabel": "Job Function",
              "fieldType": "dropdown",
              "fieldOptions": {
                "values": [
                  {
                    "option": "Accounting/Finance"
                  },
                  {
                    "option": "Admin/Office"
                  },
                  {
                    "option": "Customer Service"
                  },
                  {
                    "option": "Design"
                  },
                  {
                    "option": "Engineering/Software"
                  },
                  {
                    "option": "HR/Operations"
                  },
                  {
                    "option": "Leadership/Management"
                  },
                  {
                    "option": "Legal"
                  },
                  {
                    "option": "Other"
                  }
                ]
              },
              "multiselect": true,
              "requiredField": true
            }
          ]
        },
        "options": {
          "formTitle": "Thanks For Signing Up!",
          "formDescription": "Before you go, we'd love to know more about you and why you're interested in our service. Complete the following questions for a nice treat at the end!\n\n* This survey is optional.",
          "buttonLabel": "Continue (1 of 3)"
        }
      },
      "id": "715aa042-d032-4924-9a09-8e77ff47a3c4",
      "name": "About You",
      "type": "n8n-nodes-base.form",
      "typeVersion": 1,
      "position": [
        1344,
        512
      ],
      "webhookId": "REDACTED"
    },
    {
      "parameters": {
        "formFields": {
          "values": [
            {
              "fieldLabel": "How familiar are you with no-code automation?",
              "fieldType": "dropdown",
              "fieldOptions": {
                "values": [
                  {
                    "option": "I've Just started or exploring no-code automation tools"
                  },
                  {
                    "option": "I've tried tools like Zapier to automate small tasks"
                  },
                  {
                    "option": "I've built several no-code automations and workflows already"
                  }
                ]
              },
              "requiredField": true
            },
            {
              "fieldLabel": "Describe briefly what you'd like to get out of our product?",
              "fieldType": "textarea",
              "placeholder": "Eg. short term pain points and long term solutions...",
              "requiredField": true
            }
          ]
        },
        "options": {
          "formTitle": "What Brings You Here?",
          "formDescription": "Thanks <name>!\nPlease tell us why you are interested in our product? It'll help us tailor your onboarding and communication journeys to better suit your needs.",
          "buttonLabel": "Continue (2 of 3)"
        }
      },
      "id": "899aba38-a9ba-4b10-8923-d35b51b67884",
      "name": "Your Interests",
      "type": "n8n-nodes-base.form",
      "typeVersion": 1,
      "position": [
        1520,
        512
      ],
      "webhookId": "REDACTED"
    },
    {
      "parameters": {
        "formFields": {
          "values": [
            {
              "fieldLabel": "Would you like to be considered for our beta testers list?",
              "fieldType": "dropdown",
              "fieldOptions": {
                "values": [
                  {
                    "option": "Yes"
                  },
                  {
                    "option": "No"
                  },
                  {
                    "option": "Maybe"
                  }
                ]
              },
              "requiredField": true
            }
          ]
        },
        "options": {
          "formTitle": "Join Our Beta Testers List",
          "formDescription": "Finally, we're always looking for Beta testers to try out our latest features and help us figure out what works. Beta testers join on a voluntary basis but we often send little tokens of appreciation such as increased usage limits and sometimes brand merchandise!",
          "buttonLabel": "Finish (3 of 3)"
        }
      },
      "id": "ba87ffa5-c9f1-4ac8-b96b-31d45165c12e",
      "name": "Join Beta Testers",
      "type": "n8n-nodes-base.form",
      "typeVersion": 1,
      "position": [
        1712,
        512
      ],
      "webhookId": "REDACTED"
    },
    {
      "parameters": {
        "operation": "update",
        "documentId": {
          "__rl": true,
          "value": "REDACTED",
          "mode": "list",
          "cachedResultName": "news_letter_signup",
          "cachedResultUrl": "REDACTED"
        },
        "sheetName": {
          "__rl": true,
          "value": "gid=0",
          "mode": "list",
          "cachedResultName": "Sheet1",
          "cachedResultUrl": "REDACTED"
        },
        "columns": {
          "mappingMode": "defineBelow",
          "value": {
            "execution_id": "={{ $('Capture Email').item.json.execution_id }}",
            "first_name": "={{ $('About You').item.json['First Name'] }}",
            "last_name": "={{ $('About You').item.json['Last Name'] }}",
            "job_level": "={{ $('About You').item.json['Job Level'] }}",
            "job_function": "={{ $('About You').item.json['Job Function'][0] }} & {{ $('About You').item.json['Job Function'][1] }}",
            "country_region": "={{ $('About You').item.json['Country/Region'] }}",
            "product_experience": "={{ $('Your Interests').item.json['How familiar are you with no-code automation?'] }}",
            "product_goals": "={{ $('Your Interests').item.json['Describe briefly what you\\'d like to get out of our product?'] }}",
            "enrol_betatesters": "={{ $json['Would you like to be considered for our beta testers list?'] }}"
          },
          "matchingColumns": [
            "execution_id"
          ],
          "schema": [
            {
              "id": "execution_id",
              "displayName": "execution_id",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "type": "string",
              "canBeUsedToMatch": true,
              "removed": false
            },
            {
              "id": "date",
              "displayName": "date",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "type": "string",
              "canBeUsedToMatch": true,
              "removed": true
            },
            {
              "id": "email",
              "displayName": "email",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "type": "string",
              "canBeUsedToMatch": true,
              "removed": true
            },
            {
              "id": "first_name",
              "displayName": "first_name",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "type": "string",
              "canBeUsedToMatch": true
            },
            {
              "id": "last_name",
              "displayName": "last_name",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "type": "string",
              "canBeUsedToMatch": true
            },
            {
              "id": "job_level",
              "displayName": "job_level",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "type": "string",
              "canBeUsedToMatch": true
            },
            {
              "id": "job_function",
              "displayName": "job_function",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "type": "string",
              "canBeUsedToMatch": true
            },
            {
              "id": "country_region",
              "displayName": "country_region",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "type": "string",
              "canBeUsedToMatch": true
            },
            {
              "id": "product_experience",
              "displayName": "product_experience",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "type": "string",
              "canBeUsedToMatch": true
            },
            {
              "id": "product_goals",
              "displayName": "product_goals",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "type": "string",
              "canBeUsedToMatch": true
            },
            {
              "id": "enrol_betatesters",
              "displayName": "enrol_betatesters",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "type": "string",
              "canBeUsedToMatch": true
            },
            {
              "id": "row_number",
              "displayName": "row_number",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "type": "number",
              "canBeUsedToMatch": true,
              "readOnly": true,
              "removed": true
            }
          ],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        },
        "options": {}
      },
      "id": "25e73e62-e16b-4c64-b8b2-ff27cca85b9d",
      "name": "Capture More Info",
      "type": "n8n-nodes-base.googleSheets",
      "typeVersion": 4.5,
      "position": [
        1888,
        512
      ],
      "credentials": {
        "googleSheetsOAuth2Api": {
          "id": "REDACTED",
          "name": "REDACTED"
        }
      }
    },
    {
      "parameters": {
        "operation": "completion",
        "completionTitle": "Thank you!",
        "completionMessage": "Many thanks for taking the time to complete this short survey. A community representative will contact you shortly!\n\nWe hope you enjoy the newsletter and please feel free to contact us at <EMAIL> should you have any questions.\n\nGo back to <HOMEPAGE>.",
        "options": {
          "formTitle": "NewsLetter Signup Short Survey Complete"
        }
      },
      "id": "e861e955-32e4-4b58-a4e6-d5e4de2d0925",
      "name": "Show Completion Screen",
      "type": "n8n-nodes-base.form",
      "typeVersion": 1,
      "position": [
        2304,
        448
      ],
      "webhookId": "REDACTED"
    },
    {
      "parameters": {
        "content": "## 1. Let's Capture the Lead\n\n*With:*\n\n**Sign Up Form** \n**Capture Email**\n**Notify on Slack!**",
        "height": 400,
        "width": 740,
        "color": 4
      },
      "id": "7d46af2e-5a86-40d8-b9c6-3ec55dd9df67",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        480,
        288
      ]
    },
    {
      "parameters": {
        "content": "## 2. Let's gather richer profile data after sign-up:\n\n**About You Form**\n**Your Interests**\n**Join the community option**\n",
        "height": 333,
        "width": 840,
        "color": 5
      },
      "id": "ded0e353-e87b-4f8e-8db5-3519392770b9",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        1248,
        368
      ]
    },
    {
      "parameters": {
        "content": "## 3. Say 'Thank You'\n",
        "height": 332,
        "width": 500,
        "color": 6
      },
      "id": "40dceb42-a33e-4bfb-89db-fd05a90e0cb1",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        2112,
        368
      ]
    }
  ],
  "pinData": {},
  "connections": {
    "Sign Up Form": {
      "main": [
        [
          {
            "node": "Capture Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Capture Email": {
      "main": [
        [
          {
            "node": "Notify New Signup!",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Notify New Signup!": {
      "main": [
        [
          {
            "node": "About You",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "About You": {
      "main": [
        [
          {
            "node": "Your Interests",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Your Interests": {
      "main": [
        [
          {
            "node": "Join Beta Testers",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Join Beta Testers": {
      "main": [
        [
          {
            "node": "Capture More Info",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Capture More Info": {
      "main": [
        [
          {
            "node": "Show Completion Screen",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1",
    "binaryMode": "separate"
  },
  "versionId": "REDACTED",
  "meta": {
    "templateCredsSetupCompleted": true,
    "instanceId": "REDACTED"
  },
  "nodeGroups": [],
  "id": "REDACTED",
  "tags": []
}
