CONTENT CREATION
On-demand product shot cleanup via webhook with generated fallback
Accepts a product image URL over a webhook, upscales and cleans it through Replicate, and if the source is too low quality to salvage, generates a fresh studio-style image instead.
How it runs
The automated pipeline, trigger to output.
- TriggerWebhook receives image URL and product descriptionHTTP webhook
- ActionUpscale source and score quality with ReplicateReplicate
- LogicBranch on quality score: cleanup vs generate
- ActionRemove background with Replicate (cleanup path)Replicate
- ActionGenerate studio product image (fallback path)Image generation
- ActionUpload final asset to Cloudflare R2Cloudflare R2
- OutputReturn asset URL in webhook responseHTTP webhook
What it does
Exposes a single webhook endpoint that takes any product image, cleans it up to catalog spec, and — when the original is unusable — falls back to generating a fresh studio shot so the caller always gets a usable asset back.
When to use it
Use when another system (a PIM, an upload form, or an internal tool) needs to enhance a product image synchronously and get the result inline, with a graceful fallback for garbage inputs.
How it works
- 1A webhook receives a POST with the source image URL and product description.
- 2Replicate upscales the source and returns a quality/confidence score.
- 3A branch evaluates the score: high enough proceeds to cleanup, too low routes to generation.
- 4On the cleanup path, Replicate removes the background to produce a transparent PNG.
- 5On the fallback path, generate-image creates a clean studio-style product image from the description.
- 6The final asset is uploaded to Cloudflare R2 for a stable public URL.
- 7The webhook response returns the asset URL and which path was taken.
Set it up
What you configure once, before turning it on.
- 1Connect HTTP webhookTrigger any URL on agent actions.
- 2Connect ReplicateImage, video, and model inference.
- 3Connect Image generationManaged Nano Banana image renders, metered per image.
- 4Connect Cloudflare R2Object storage, S3-compatible.
- 5Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
- 6Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
- 7Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.
More Content Creation workflows
On-demand: turn a blog URL into narrated B-roll clips
Accepts a blog URL via webhook, scrapes the article, generates a B-roll clip per paragraph with Replicate and a voiceover with ElevenLabs.
Sync a Figma master frame into localized hero renders
Pulls the current master hero frame and its text layers from Figma, generates a localized image variant for each locale defined in Airtable.
Build a Dropbox B-roll library from exported blog drafts
Triggers when a new blog draft file lands in a Dropbox folder, generates a Replicate B-roll clip for each paragraph.
Generate B-roll clips when a blog post is marked Ready in Notion
Watches a Notion blog database for posts flipped to 'Ready', splits the body into paragraphs, and generates a short B-roll video clip for each paragraph with Replicate.
Weekly: clip last week's top blog paragraph and post to socials
Runs on a weekly schedule, picks the highest-traffic paragraph from the past week's posts, generates one polished B-roll clip with Replicate.
On-Demand Screenshot Freshness Report from a Slack Command
A writer requests a freshness check in Slack for a specific docs page; the workflow inspects every screenshot on that page, scores each by age and version gap.
Run it inside a business
This workflow drops into a full company template. Import the org, and this is one of the playbooks its agents run.

Run this workflow in your colony.
14-day trial. No DevOps. No Sales call. Provisioned in under a minute.
