See llms.txt for all machine-readable content.

Back to Templates

Create wearable t-shirt mockups from n8n templates with ScreenshotOne and OpenAI

Quick overview

This workflow takes an n8n community template URL from chat, manual run, or Slack, captures the workflow diagram with ScreenshotOne, turns it into a t-shirt print and preview, optionally generates a model mockup with OpenAI, and uploads outputs to Google Drive with share links.

How it works

  1. Triggers from an n8n Chat message, a manual execution, or a Slack message/app mention and reads an n8n.io/workflows/... URL (or uses a default).
  2. Validates the URL format and stops with an error message when the link is not an n8n community template URL.
  3. Calls the ScreenshotOne API to screenshot the embedded workflow diagram on the template page and uploads the full-resolution screenshot to Google Drive as the print file.
  4. Resizes the screenshot for preview, removes the near-white background to make it transparent, downloads a base shirt PNG from Google Drive, and composites the diagram onto the shirt with a “Wear your workflow” label.
  5. Uploads the composed flat-shirt preview image to Google Drive.
  6. If enabled, sends the flat preview to OpenAI (gpt-image-2.5-flare) to generate a catalog-style photo of a model wearing the same shirt and uploads that AI mockup to Google Drive.
  7. Waits for all output branches to finish, then replies with the Google Drive links in chat and posts the same reply back to the originating Slack thread when a Slack trigger started the run.

Setup

  1. Create a ScreenshotOne account and add an HTTP Header Auth credential (header X-Access-Key) to the ScreenshotOne request node.
  2. Add a Google Drive credential and ensure the configured Drive folder ID (upload destination) and shirt file ID (base PNG) in Workflow Configuration point to files/folders your credential can access.
  3. Add an OpenAI API key credential if you want the optional AI model mockup generation to run.
  4. (Optional) Add Slack OAuth credentials and set the Slack Trigger to the channel(s) you want to listen to for template URLs.
  5. (Optional) For the evaluation mode, add a Google Sheets credential and point the Evaluation Trigger at your dataset spreadsheet and sheet tab.

Requirements

Additional info

This is the improved version of my Flow4Gold challenge submission on the In the loop 2026 conference where I added extended evaluation criteria using Jev and ChatGpt to figure out whether the pirnts on the T-Shirts are actually legible and ready for print. It can also be adjusted to other drop shops / merchandise shops and motives (see comments in the sticky notes)