Nodes/Photoshop Bridge/Run Photoshop Action
ComfyUI Node

Run Photoshop Action

Run a saved Photoshop Action on your image, hands-free — plugin required

By ericpaulsnowden·Created 2 months ago·Updated 3 days ago· 1
Run Photoshop Action
  • image
  • IMAGE
  • MASK
action_name
action_set
timeout_seconds1800

If you've ever wanted to drop a Photoshop Action - that recorded sequence of filter / resize / save steps your editor friends swear by - into the middle of a ComfyUI workflow, this is the node. Give it an image plus the name of a saved Action (and its Set), and it opens the image in Photoshop, plays the Action start-to-finish with no clicking, and hands the processed result back to the graph as an output. It's the automation node of the pack: the one place a ComfyUI-only setup genuinely can't do the job, and the author doesn't pretend otherwise.

The catch: the plugin is mandatory

Unlike the other hand-off nodes in this pack, which degrade to a plugin-free file round trip, Run Photoshop Action refuses to fall back. There's no way to trigger Photoshop's Actions panel from the filesystem, so if the UXP plugin isn't connected the node raises a clear "stop the workflow" error instead of silently opening Photoshop and leaving you staring at an unrun Action. You need the pack installed and the Tier 2 plugin loaded (Photoshop → Preferences → Plugins → Enable Developer Mode, then load photoshop_plugin/manifest.json through Adobe's free UXP Developer Tool). Once it's connected, the node sends a run_action message over the same WebSocket that drives the rest of the pack, and blocks until the plugin plays the Action and uploads the result.

The inputs that matter

  • action_name and action_set - the exact names as they appear in Photoshop's Actions panel, spelling included. A typo doesn't hang the node: the plugin replies with Photoshop's own error text and the workflow stops with a useful message.
  • timeout_seconds - default 1800, how long to wait for the Action to finish before giving up.
  • image - what gets opened and processed.

Outputs are IMAGE (the post-Action result) and MASK (transparency as 1 - alpha, all zeros when the result has no transparency).

The trap to design around

An Action with an interactive dialog step enabled - a "show dialog" toggle inside one of its steps - can stall Photoshop mid-run until somebody dismisses the dialog by hand, which defeats the whole point of an unattended node. Use Actions that run start-to-finish with dialog toggles off, and test the Action once manually before you wire it into a queue.

Install

Same pack install as everything else in Photoshop Bridge:

cd ComfyUI/custom_nodes
git clone https://github.com/ericpaulsnowden/comfyui-photoshop-bridge.git comfyui-photoshop-bridge
pip install -r comfyui-photoshop-bridge/requirements.txt

…run with ComfyUI's own Python, restart, then add the Tier 2 plugin on top (the pack isn't in Manager's searchable registry yet, so use Manager → Install via Git URL or the clone above). This is a pre-1.0, actively developed project - expect occasional rough edges. If the node tells you the plugin isn't connected, that's the honest signal: the Action simply can't run without it.

CategoryPhotoshop Bridge/Handoffs (requires Photoshop)

Inputs (4)

NameTypeDefaultDescription
imageIMAGEThe image to open in Photoshop and run the Action on.
action_nameSTRINGThe exact Action name, as it appears in Photoshop's Actions panel.
action_setSTRINGThe exact Action Set name that contains the Action, as it appears in Photoshop's Actions panel.
timeout_secondsINT180010–86400How long to wait for the Action to finish before giving up and stopping the workflow, in seconds.

Outputs (2)

NameTypeDescription
IMAGEIMAGEThe image after the Photoshop Action ran.
MASKMASKMarks any transparent area of the result (1.0 = transparent, 0.0 = opaque). All zero if the result has no transparency.