Form with Dynamic Dropdown Field
Configured with Execute Workflow, Form Trigger, Google Sheets, Google Sheets Trigger, and additional nodes. Review the connections and setup before adapting this template.
Node categories in this workflow
- Integration
- Trigger
- Subworkflow
- Code
- Transform
- Data store
Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.
Drag to pan; use + and − to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.
How it works
The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.
| Node | Category | Type | Operation |
|---|---|---|---|
| n8n | get wf | Integration | N8N | get |
| n8n | update | Integration | N8N | update |
| On form submission | Trigger | Form Trigger | See node parameters |
| Google Sheets Trigger | Trigger | Google Sheets Trigger | See node parameters |
| Execute Workflow | Subworkflow | Execute Workflow | See node parameters |
| Write JSON | Code | Code | See node parameters |
| Replace values | Transform | Edit Fields | See node parameters |
| Get all values | Data store | Google Sheets | See node parameters |
| Format to 'values' | Transform | Edit Fields | See node parameters |
Setup
- Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
- Connect your own credentials through n8n’s credential store. Replace
REPLACE_WITH_*values with your resource identifiers. - Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
- Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.
Requirements
An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.
Credential types declared in the source
googleSheetsOAuth2ApigoogleSheetsTriggerOAuth2Apin8nApi
Workflow notes
Form setup
Form setup
- Customize your form fields.
- The dropdown field will auto-update with values from your data source.
- Other form fields can be added as needed (limited to one dropdown field).
- Connect to your workflow that processes the submitted form data.
Form requires production mode for testing
Data source setup
Data source setup
- Connect to your Google Sheet containing dropdown values
- Node can be replaced with any other data source (API, database)
- Set timing trigger
Data formatting
Data formatting
- Extracts needed data from source
- Renames field to 'value' (do not change this name)
Nested properties
Nested properties
- Transforms the data to the desired format
Get Workflow
Get Workflow
- Gets the current workflow data
Add Dropdown Values
Add Dropdown Values
- Replaces the nested parameters of the Dropdown Form Field with the nested properties sourced from the data.
Update Form
Update Form
- Replaces the current workflow’s JSON with the updated JSON containing the new Dropdown values.
Form with Dynamic Dropdown Field
Form with Dynamic Dropdown Field
Purpose and structure
This folder contains the Form with Dynamic Dropdown Field workflow. Its executable nodes use code, executeWorkflow, formTrigger, googleSheets, googleSheetsTrigger, n8n, set. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.
Setup
Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.
Entry points
On form submission, Google Sheets Trigger
Verification
Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.
Attribution
https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Code/1630_Code_Form_Automation_Triggered.json MIT; preserve source notices.