capabilities.work

Run Action File and Render

A 4-step recipe with Adobe Photoshop. We can help you get access.

Recipe · 4 steps

Run Action File and Render

Play a recorded Photoshop Action against an image and render the output.

  1. Replay the recorded Action file against the input image, targeting a specific action by name inside the set, and save the processed document.
  2. Poll the PSD service status endpoint until the Action job completes. The submit call returns the absolute status URL in _links.self.href; the jobId this operation requires is the final path segment of that URL, so a runner takes that segmen
  3. Render the document produced by the Action to a flat JPEG at the requested width.
  4. Poll until the rendition job reports succeeded and the flat image has been written to the output URL.
What you'll need to have ready
  • imageUrl: Pre-signed GET URL of the image to process.
  • actionFileUrl: Pre-signed GET URL of the .atn Photoshop Action file.
  • actionName: Name of the specific action to run within the .atn set.
  • psdOutputUrl: Pre-signed PUT URL where the processed document is written.
  • renditionOutputUrl: Pre-signed PUT URL where the flat rendition is written.
  • renditionWidth: Target width in pixels for the flat rendition.
For your developer

Arazzo workflow adobe-photoshop:photoshop-action-batch, 4 operations: playPhotoshopActions → getPsdJobStatus → createRendition → getPsdJobStatus. Specs on APIs.io.