节点与集成
Rename Keys
Use the Rename Keys node to rename the keys of a key-value pair in n8n.
Node parameters
You can rename one or multiple keys using the Rename Keys node. Select the Add new key button to rename a key.
For each key, enter the:
- Current Key Name: The current name of the key you want to rename.
- New Key Name: The new name you want to assign to the key.
Node options
Choose whether to use a Regex regular expression to identify keys to rename. To use this option, you must also enter:
- The Regular Expression you'd like to use.
- Replace With: Enter the new name you want to assign to the key(s) that match the Regular Expression.
- You can also choose these Regex-specific options:
- Case Insensitive: Set whether the regular expression should match case (turned off) or be case insensitive (turned on).
- Max Depth: Enter the maximum depth to replace keys, using
-1for unlimited and0for top-level only.
Templates and examples
Browse Rename Keys integration templates or search all templates
官方原文和授权
本页来自 N8N 英文官方网站固定快照,并转换成 xueai 静态页面。内容以 N8N 持续更新的官方页面为准。