Run a workflow
run_workflowSeveral steps in one job, run by Puley in the background, with every result saved and emailed. workflow: trend-to-video (about: a niche; finds this week's most-watched videos on platform tiktok, instagram or youtube, works out why they work, writes an original video, records the voice-over and makes the clip), customers-and-openers (about: the kind of business, place: the town, offer: what is being sold; lists them with phones and websites and a first message for each), competitor-report (about: the competitor's name or website; its live ads and site, what it pushes and the gaps), product-ad-pack (about: the product; image or image_link: its photo; an ad picture, a video from the photo, a voice-over and music), should-i-sell (about: a product; real search demand, what advertisers pay, the trend and a verdict), copy-how-they-grew (about: a brand; its ads, creator videos, posts, news and paid searches as moves to copy), get-recommended-by-ai (about: what is sold; offer: the business; who AI recommends and a plan to get named), new-buyers (about: what is sold; new people on X asking for it, with a reply to adapt) or ugc-ad (about: the product; a talking AI presenter video; model: woman or man), research-report (about: a question; an answer with numbered sources), fill-in-my-list (details: a pasted list of businesses or websites; place: their town; adds emails, phones and social profiles), review-report (about: a business, app or website; place: its town; what customers love and complain about, with replies), local-market-scan (about: the kind of business; place; offer: the person's own business; who leads on Google Maps and what to do), seo-plan (about: a website; fixes, pages to write, links), google-ads-starter (about: what is sold; place; offer: the website; ad groups, headlines, negatives, budget), week-of-posts (about: the business; platform; seven posts with pictures), creator-shortlist (about: the niche; platform; offer; creators checked, a message for each), should-i-buy (about: a product or its link; buy now, wait or buy used), job-shortlist (about: the job; place; offer: what matters; openings with pay and an opening line), video-ideas (about: a niche or a YouTube channel; ten ideas modelled on videos that beat their channel), channel-audit (about: a YouTube channel), video-package (about: a video's topic; titles, description, tags, two thumbnails), rising-trends (about: a market; climbing searches with monthly numbers), meeting-prep (about: a company; offer: why they are meeting; a one-page brief), content-brief (about: a search to rank for; offer: the business; a brief and a first draft), clip-finder (about: a YouTube video's link; the moments worth clipping, with times) or video-script (about: the topic; platform: youtube for long, shorts for short). model: the video model (default a low-cost one). every: day or week repeats it, stop ends a repeat. The same request again returns its progress or the finished result. Each step uses reads as usual (a video about 200).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"workflow": "<workflow>",
"about": "<about>"
},
"name": "run_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| about | Yes | ||
| every | No | ||
| image | No | ||
| model | No | ||
| offer | No | ||
| place | No | ||
| shape | No | ||
| country | No | US | |
| details | No | ||
| platform | No | tiktok | |
| workflow | Yes | ||
| image_link | No |