Skip to content
Developer Tools

When image URL received via webhook, generate background using PhotoRoom and send the new image URL as webhook response

Post an image URL to a webhook and FlowMattic generates a new background with PhotoRoom, then returns the finished image URL right back in the webhook response.

WebhookWebhook PhotoRoomPhotoRoom Webhook ResponseWebhook Response
~5 min setup used by 1.7k sites

Free · import into FlowMattic in one click

How it works

Every step, explained

Import the template and this whole chain runs on autopilot — here's exactly what happens on each run.

Webhook → PhotoRoom → Webhook Response
3 steps
Webhook
TRIGGER
Webhook · Capture Webhook Response
The workflow starts when data is sent to its unique webhook URL. Point any app, form or service at the URL and its payload flows into every step below.
PhotoRoom
ACTION
PhotoRoom · Generate Background
PhotoRoom — generate background for an image given a prompt. Data is mapped from earlier steps; connect your PhotoRoom account on import.
Webhook Response
ACTION
Webhook Response · Set Webhook Response
Webhook Response — set the custom webhook response from the data in action steps. Data is mapped from earlier steps; connect your Webhook Response account on import.
Why this workflow

Built to own, not to rent

No-code setup

Import the JSON, connect your accounts, and go live in minutes. Every step is pre-mapped — you only add your own credentials.

Runs on your server

Self-hosted on your WordPress install. No per-task fees, no data leaving your infrastructure, no monthly SaaS bill.

Fully customizable

Open it in the visual builder and reshape it — add branches, swap apps, insert filters. A starting point, not a cage.

Ready to automate your WordPress site?

Download this workflow free, or grab FlowMattic and own every automation on your site — no per-task fees, ever.