构建工作流
Keyboard shortcuts
n8n provides keyboard shortcuts for some actions.
Workflow controls
- Ctrl/Cmd + Alt + n: create new workflow
- Ctrl/Cmd + o: open workflow
- Ctrl/Cmd + s: save the current workflow
- Ctrl/Cmd + z: undo
- Ctrl/Cmd + shift + z: redo
- Ctrl/Cmd + Enter: execute workflow
Canvas
Move the canvas
- Ctrl/Cmd + Left Mouse Button + drag: move node view
- Ctrl/Cmd + Middle mouse button + drag: move node view
- Space + drag: move node view
- Middle mouse button + drag: move node view
- Two fingers on a touch screen: move node view
Canvas zoom
- + or =: zoom in
- - or \_: zoom out
- 0: reset zoom level
- 1: zoom to fit workflow
- Ctrl/Cmd + Mouse wheel: zoom in/out
Nodes on the canvas
- Double click on a node: open the node details
- Ctrl/Cmd + Double click on a sub-workflow node: open the sub-workflow in a new tab
- Ctrl/Cmd + a: select all nodes
- Ctrl/Cmd + v: paste nodes
- Shift + s: add sticky note
With one or more nodes selected in canvas
- ArrowDown: select sibling node below the current one
- ArrowLeft: select node left of the current one
- ArrowRight: select node right of the current one
- ArrowUp: select sibling node above the current one
- Ctrl/Cmd + c: copy
- Ctrl/Cmd + g: group selected nodes
- Ctrl/Cmd + shift + g: ungroup selected nodes
- Ctrl/Cmd + x: cut
- D: deactivate
- Delete: delete
- Enter: open
- F2: rename
- P: pin data in node. Refer to Data pinning for more information.
- Shift + ArrowLeft: select all nodes left of the current one
- Shift + ArrowRight: select all nodes right of the current one
- Ctrl/Cmd + Shift + o on a sub-workflow node: open the sub-workflow in a new tab
Node panel
- N: open the Node Panel
- Enter: insert selected node into workflow
- Escape: close Node panel
Node panel categories
- Enter: insert node into workflow, collapse/expand category, open subcategory
- ArrowRight: expand category, open subcategory
- ArrowLeft: collapse category, close subcategory view
Within nodes
- =: in an empty parameter input, this switches to expressions1 mode.
Command bar
The Command Bar provides quick access to actions and navigation throughout n8n. Access it using Ctrl/Cmd + K, or click the magnifying glass icon on the canvas. Commands adapt based on your current view and permissions.
- Workflow actions: Add nodes, save, test, tidy up, publish/unpublish, duplicate, import/export, archive, delete
- Resource navigation: Create and open workflows, credentials, data tables, projects; access recent resources
- Execution actions: Debug, copy, retry, stop, or delete executions
- General navigation: Access Templates, Variables, Insights, Settings, Help resources, and Documentation
Footnotes
- Back
In n8n, expressions allow you to populate node parameters dynamically by executing JavaScript code. Instead of providing a static value, you can use the n8n expression syntax to define the value using data from previous nodes, other workflows, or your n8n environment.
官方原文和授权
本页来自 N8N 英文官方网站固定快照,并转换成 xueai 静态页面。内容以 N8N 持续更新的官方页面为准。