Copy to Clipboard
Actiondoc.on.clipboard
action.copy_to_clipboard
Copy text content or a file reference to the macOS clipboard. In auto-detect mode, the node inspects the incoming payload and chooses the appropriate clipboard type automatically. You can also force text or file mode explicitly.
Ports
| Direction | Name | Data Type | Description |
|---|---|---|---|
| Input | Input | Any | Incoming payload |
| Output | Output | Any | Passthrough with copy metadata |
Configuration
| Field | Type | Default | Description |
|---|---|---|---|
| mode | Dropdown | auto | Copy mode: Auto-detect, Text, or File |
| text | Text Area | — | Text to copy. Supports {{var}} interpolation. Visible when mode = text. |
| filePath | Text | — | File path to copy as a file reference. Visible when mode = file. |
Output Variables
| Variable | Type | Description |
|---|---|---|
| copied | Boolean | Whether content was copied |
| contentType | String | What was copied: image, file, or text |
Example
Copy formatted webhook data to the clipboard: