Skip to content

Form Trigger

Node: formTrigger · Full type: n8n-nodes-base.formTrigger · Version: 2.5

Ergonomic keyword available: TRIGGER form — see NFLOW.md for shorter syntax.

Credentials

httpBasicAuth (alias: @http)

CREDENTIAL @http = httpBasicAuth "My Form Trigger"

Parameters

Parameter Type Default Details
authentication options "none" basicAuth, none
path string "" required
formTitle string "" required
formDescription string ""
formFields fixedCollection {} groups: values
responseMode options "onReceived" onReceived, lastNode, responseNode
options collection {} keys: appendAttribution, ipWhitelist, buttonLabel, path, respondWithOptions, ignoreBots, ...

formFields children:

values group:

Parameter Type Default Details
fieldName string "" required
fieldLabel string "" required
fieldLabel string "" required
fieldName string ""
fieldType options "text" required; checkbox, html, date, dropdown, email, file, hiddenField, number, ... (12 total)
elementName string ""
fieldName string ""
placeholder string ""
defaultValue string ""
defaultValue dateTime ""
defaultValue string ""
defaultValue string ""
fieldValue string ""
fieldOptions fixedCollection {...} required; groups: values
fieldOptions fixedCollection {...} required; groups: values
fieldOptions fixedCollection {...} required; groups: values
multiselect boolean false
limitSelection options "unlimited" exact, range, unlimited
numberOfSelections number 1
minSelections number 0
maxSelections number 1
html string "

" | | | multipleFiles | boolean | true | | | acceptFileTypes | string | "" | | | requiredField | boolean | false | |

options children:

Parameter Type Default Details
appendAttribution boolean true
ipWhitelist string ""
buttonLabel string "Submit"
path string ""
respondWithOptions fixedCollection {...} groups: values
ignoreBots boolean false
useWorkflowTimezone boolean false
useWorkflowTimezone boolean true
customCss string ":root {
--font-family: 'Open Sans', ..."

Example

NODE "formTrigger" @http AS "Form Trigger" {
  path: {{ $json.path }},
  formTitle: {{ $json.formTitle }}
}