Generate content copy with Shopia and send it back to webhook as webhook response
Post a request to a FlowMattic webhook URL, have Shopia generate the copy, and get the finished text back in the webhook response, giving any app or script that can call a URL its own AI writing endpoint on your WordPress site.
Shopia
3 steps Setup ~5 min Used on 3.2k sites Free to import

What this workflow does
Sometimes you want AI-written copy inside a tool that has no Shopia integration of its own: an internal form, a spreadsheet script, a no-code app builder. If that tool can send an HTTP request and read the reply, this workflow gives it a simple endpoint to call.
The Webhook trigger gives you a URL that captures whatever data your app sends, such as a topic or a product description. FlowMattic passes that data to Shopia, whose Generate Text action returns a single generated text, according to FlowMattic's description of it. The last step, Webhook Response, sets the reply to the original request using data from the earlier steps, so the generated text goes back to the caller.
Your app sends the request and gets the copy in the same exchange, without polling or a second call. Every request is a separate run, and Task History shows what came in, what Shopia returned and what was sent back.
Product descriptions from a catalogue script
A script loops over new products, sends each name and feature list to the webhook URL, and writes the returned Shopia text into your store's import file.
Ad copy inside a no-code app
A button in your internal app builder calls the webhook with the campaign details and shows the Shopia copy in the app when the response arrives.
Email drafts for a support tool
Your support tool sends the customer's question to the webhook and receives a Shopia-written draft that an agent edits before sending.
How this workflow runs
What happens at each step once the workflow is on, and what you need before you import it.
Webhook Capture Webhook ResponseGives you a webhook URL that captures the data your app or script sends. Send a sample request after import so the fields, such as the topic or prompt, can be mapped into Shopia.
Shopia Generate TextSends the captured details to Shopia and asks it to write the text. FlowMattic describes the action as returning a single generated text. Connect Shopia and map the incoming fields into the request.
Webhook Response Set Webhook ResponseReturns a custom response to the app that called the webhook. Map the generated text from the Shopia step into the response so the caller receives the copy.
What you need
- FlowMatticCore
- Shopia AccountAccount
After importing, map your own data. To keep the template universal, not every step is pre-filled. Open each step in the builder and connect your accounts and fields (channels, lists, sheets, recipients) before you switch the workflow on.
Make it yours
Changes worth making after you import it.
- Send a test request to the webhook URL with the same fields your app will send, so FlowMattic captures them before you map them into Shopia.
- Turn on Require authentication on incoming requests in the Webhook trigger and send the authentication key from your app, so only your own tools can ask Shopia for copy through this URL.
- Log each request and its generated text to Google Sheets before the response step, giving you a record of what was asked and what Shopia wrote.
Questions about this workflow
How does my app receive the Shopia text?
As the reply to the request it sent to the webhook URL. The Set Webhook Response step returns the data you map into it, here the text from Shopia.
Do I need a Shopia account for this webhook workflow?
Yes. The Generate Text step runs through your Shopia account, which you connect when you set up the step after import.
Can anyone who finds the webhook URL generate copy with my Shopia account?
Only if authentication is off on the Webhook trigger. In that case any request to the URL starts a run. Switch on Require authentication on incoming requests and include the authentication key in each call your app makes.
Can the webhook reply include more than the Shopia text?
Yes. FlowMattic describes Set Webhook Response as building the reply from data in the action steps, so you can map other values, such as the topic your app sent, next to the generated text. Task History shows what each step returned while you test.
More AI Automation workflows
Other ready-to-import templates from the same category.
Import this workflow into your WordPress site
Download the JSON, import it from the Workflows screen and connect your accounts. Every run stays on your server, with no per-task fees.
30-day money-back guarantee Unlimited workflows and runs Self-hosted



