CONTENT CREATION

Quality-gate uploaded photos and route by resolution

Accepts photos via webhook, inspects each one, upscales only the low-resolution images, cleans backgrounds, and routes rejects that can't be saved to a Slack review channel.

CategoryContent Creation
Enginesim
Difficultyintermediate
Triggerwebhook
Steps6
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerWebhook receives product image and metadataHTTP webhook
  • LogicBranch on resolution and aspect ratio
  • ActionUpscale low-resolution images with ReplicateReplicateReplicate
  • LogicReject images still below minimum quality
  • ActionClean background and store accepted image in R2CloudflareCloudflare R2
  • OutputPost rejects to Slack review channelSlack

What it does

Acts as an intake quality gate. A webhook receives a product photo, the flow checks its resolution, and it only spends an upscale call when the image actually needs it. Usable images get background-cleaned and stored; images too poor to rescue are flagged for a human.

When to use it

Use it when an external app or storefront posts product images to you and you want to avoid wasting compute upscaling shots that are already high-res, while still catching unusable submissions before they reach the catalog.

How it works

  1. 1An incoming webhook delivers the image URL and product metadata.
  2. 2A logic step branches on the image's resolution and aspect ratio.
  3. 3Images below the target resolution are upscaled through Replicate; already-sharp images skip straight ahead.
  4. 4A second logic check rejects images that remain below the minimum even after upscaling.
  5. 5Accepted images are background-cleaned on Replicate and saved to R2.
  6. 6Rejected images are posted to a Slack review channel with the reason and original link.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect HTTP webhookTrigger any URL on agent actions.
  2. 2
    Connect ReplicateImage, video, and model inference.
  3. 3
    Connect Cloudflare R2Object storage, S3-compatible.
  4. 4
    Connect SlackChannels, DMs, threads, mentions.
  5. 5
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  6. 6
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  7. 7
    Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.

Run this workflow in your colony.

14-day trial. No DevOps. No Sales call. Provisioned in under a minute.