Form with Dynamic Dropdown Field — n8n 工作流

复杂度 触发器9 个节点🏷️ Miscellaneous👁 5,088 次查看作者:Obsidi8n

概览

This workflow creates a customizable form with a dynamic dropdown field that automatically updates its options from an external data source.

How it works

The workflow polls an external data source (Google Sheets in this example) at regular intervals New values are processed and formatted for the dropdown The form automatically updates with the new dropdown options

Set up steps

Configure your data source:

Default setup uses Google Sheets replace with credentials for your sheet set up the

使用的节点

Google SheetsCode

工作流预览

Form setup
- Customize your form fields.
- The dropdown field will auto-update with values from
- Other form fields can be added as needed (limited to
- Co
Data source setup
- Connect to your Google Sheet containing dropdown valu
- Node can be replaced with any other data source (API,
- Set timing trigger
Data formatting
- Extracts needed data from source
- Renames field to 'value' (do not change this name)
Nested properties
- Transforms the data to the desired format
Get Workflow
- Gets the current workflow data
Add Dropdown Values
- Replaces the nested parameters of the Dropdown Form F
Update Form
- Replaces the current workflow’s JSON with the updated
N
n8n | get wf
N
n8n | update
O
On form submission
G
Google Sheets Trigger
E
Execute Workflow
Write JSON
R
Replace values
Get all values
F
Format to 'values'
9 nodes7 edges

工作原理

  1. 1

    触发器

    工作流由 触发器 触发器启动。

  2. 2

    处理

    数据流经 9 个节点, connecting code, executeworkflow, formtrigger。

  3. 3

    输出

    工作流完成自动化并将结果发送到配置的目标。

节点详情 (9)

GO

Google Sheets

googleSheets

#1
CO

Code

code

#2

如何导入此工作流

  1. 1点击右侧 下载 JSON 按钮保存工作流文件。
  2. 2打开你的 n8n 实例,依次点击 工作流 → 新建 → 从文件导入
  3. 3选择下载的 form-with-dynamic-dropdown-field 文件并点击导入。
  4. 4为每个服务节点配置 凭证(API 密钥、OAuth 等)。
  5. 5点击 测试工作流 验证一切正常,然后激活它。

或直接在 n8n → 从 JSON 导入 中粘贴:

{ "name": "Form with Dynamic Dropdown Field", "nodes": [...], ...}

集成

codeexecuteworkflowformtriggergooglesheetsgooglesheetstriggern8nset

获取此工作流

一键下载并导入

下载 JSON在 n8n.io 上查看
节点9
复杂度medium
触发器trigger
查看次数5,088

创建者

Obsidi8n

Obsidi8n

@derruttie

标签

codeexecuteworkflowformtriggergooglesheetsgooglesheetstriggern8nset

n8n 新手?

n8n 是一款免费开源的工作流自动化工具,支持自托管或使用云版本。

免费获取 n8n →

Related Miscellaneous Workflows