AutomationFlowsGeneral › Forms

Forms

Forms. Uses formTrigger, form. Event-driven trigger; 6 nodes.

Event trigger★★☆☆☆ complexity6 nodesForm TriggerForm
General Trigger: Event Nodes: 6 Complexity: ★★☆☆☆ Added:

This workflow follows the Form → Form Trigger recipe pattern — see all workflows that pair these two integrations.

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "nodes": [
    {
      "parameters": {
        "formTitle": "Testing the Switch Node",
        "formDescription": "Woot lets see how this works!",
        "formFields": {
          "values": [
            {
              "fieldLabel": "Choose The type of Story You Want",
              "fieldType": "dropdown",
              "fieldOptions": {
                "values": [
                  {
                    "option": "Billing Question"
                  },
                  {
                    "option": "Technical Support"
                  },
                  {
                    "option": "Sales Inquiry"
                  }
                ]
              }
            }
          ]
        },
        "responseMode": "lastNode",
        "options": {}
      },
      "type": "n8n-nodes-base.formTrigger",
      "typeVersion": 2.2,
      "position": [
        -288,
        -48
      ],
      "id": "40e7eb86-d32d-4e4c-ab94-83fe64988fc7",
      "name": "On form submission"
    },
    {
      "parameters": {
        "rules": {
          "values": [
            {
              "conditions": {
                "options": {
                  "caseSensitive": true,
                  "leftValue": "",
                  "typeValidation": "strict",
                  "version": 2
                },
                "conditions": [
                  {
                    "leftValue": "={{ $json[\"Choose The type of Story You Want\"] }}",
                    "rightValue": "Billing Question",
                    "operator": {
                      "type": "string",
                      "operation": "equals"
                    },
                    "id": "4ff50c97-0a1f-49b7-8711-b20a3d432a31"
                  }
                ],
                "combinator": "and"
              },
              "renameOutput": true,
              "outputKey": "Billing Question"
            },
            {
              "conditions": {
                "options": {
                  "caseSensitive": true,
                  "leftValue": "",
                  "typeValidation": "strict",
                  "version": 2
                },
                "conditions": [
                  {
                    "id": "c0403bce-2b1c-478c-9a8f-893c63d640c1",
                    "leftValue": "={{ $json[\"Choose The type of Story You Want\"] }}",
                    "rightValue": "Technical Support",
                    "operator": {
                      "type": "string",
                      "operation": "equals",
                      "name": "filter.operator.equals"
                    }
                  }
                ],
                "combinator": "and"
              },
              "renameOutput": true,
              "outputKey": "Technical Support"
            },
            {
              "conditions": {
                "options": {
                  "caseSensitive": true,
                  "leftValue": "",
                  "typeValidation": "strict",
                  "version": 2
                },
                "conditions": [
                  {
                    "id": "13ff6af9-72db-4e26-b170-dd5083e5c6bc",
                    "leftValue": "={{ $json[\"Choose The type of Story You Want\"] }}",
                    "rightValue": "Sales Inquiry",
                    "operator": {
                      "type": "string",
                      "operation": "equals",
                      "name": "filter.operator.equals"
                    }
                  }
                ],
                "combinator": "and"
              },
              "renameOutput": true,
              "outputKey": "Sales Inquiry"
            }
          ]
        },
        "options": {}
      },
      "type": "n8n-nodes-base.switch",
      "typeVersion": 3.2,
      "position": [
        -80,
        -64
      ],
      "id": "7bca299c-3cde-4045-86e5-347453a2ef15",
      "name": "Switch2"
    },
    {
      "parameters": {
        "formFields": {
          "values": [
            {
              "fieldLabel": "What is your bill number",
              "fieldType": "number",
              "placeholder": "12345",
              "requiredField": true
            }
          ]
        },
        "options": {}
      },
      "type": "n8n-nodes-base.form",
      "typeVersion": 1,
      "position": [
        208,
        -176
      ],
      "id": "f511743c-fe84-40b7-ad58-d2722e502de4",
      "name": "Form"
    },
    {
      "parameters": {
        "content": "Now for the form switch so we can go from form to form as the user makes choices\n\nThe form is here \nhttps://n8n-do.dailyai.studio/form/b1df791a-d35d-4d07-aa93-f0dc20c3aa7a",
        "width": 528
      },
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -320,
        -320
      ],
      "typeVersion": 1,
      "id": "c104dba8-484b-45ec-81b5-e227e62a4cc0",
      "name": "Sticky Note"
    },
    {
      "parameters": {
        "formFields": {
          "values": [
            {
              "fieldLabel": "Explain your Issue",
              "fieldType": "textarea",
              "placeholder": "When I click the button nothing works \ud83d\ude28\ud83d\ude28\ud83d\ude28",
              "requiredField": true
            },
            {
              "fieldLabel": "Your Email",
              "fieldType": "email",
              "placeholder": "bob@bobsburgers.com",
              "requiredField": true
            }
          ]
        },
        "options": {}
      },
      "type": "n8n-nodes-base.form",
      "typeVersion": 1,
      "position": [
        384,
        -48
      ],
      "id": "a0679d0a-58d5-430a-893b-1863e4430100",
      "name": "Form1"
    },
    {
      "parameters": {
        "formFields": {
          "values": [
            {
              "fieldLabel": "Choose what you want to buy",
              "fieldType": "dropdown",
              "fieldOptions": {
                "values": [
                  {
                    "option": "Solis Pock RV"
                  },
                  {
                    "option": "Lamborghini "
                  },
                  {
                    "option": "Tesla"
                  }
                ]
              },
              "requiredField": true
            },
            {
              "fieldLabel": "Your Email",
              "fieldType": "email",
              "placeholder": "bob@bobsburgers.com",
              "requiredField": true
            }
          ]
        },
        "options": {}
      },
      "type": "n8n-nodes-base.form",
      "typeVersion": 1,
      "position": [
        208,
        96
      ],
      "id": "ab5a3805-ba0b-4fd6-a54a-1c2c0ee9afeb",
      "name": "Form2"
    }
  ],
  "connections": {
    "On form submission": {
      "main": [
        [
          {
            "node": "Switch2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Switch2": {
      "main": [
        [
          {
            "node": "Form",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Form1",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Form2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

Forms. Uses formTrigger, form. Event-driven trigger; 6 nodes.

Source: https://gist.github.com/alnutile/ad21bf18a809737031f4c340ec41b6c8 — original creator credit. Request a take-down →

More General workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

General

Simple OpenAI Image Generator. Uses convertToFile, formTrigger, httpRequest, form. Event-driven trigger; 5 nodes.

Form Trigger, HTTP Request, Form
General

DigialOceanUpload. Uses formTrigger, s3, form. Event-driven trigger; 3 nodes.

Form Trigger, S3, Form
General

This workflow provides a streamlined process for uploading files to Digital Ocean Spaces, making them publicly accessible. The process happens in three main steps: User submits the form with file, in

Form Trigger, S3, Form
General

This interactive tutorial teaches you how to build in n8n from scratch, using a live walkthrough with real-time examples. Rather than static documentation, this guided workflow explains key n8n concep

Form Trigger, Form
General

This workflow contains community nodes that are only compatible with the self-hosted version of n8n.

Form Trigger, n8n, Form +2