run-featured-workflow
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseFeatured Workflows (run-workflow MCP)
精选工作流(run-workflow MCP)
Run pre-built marketing and production workflows bundled with the MCP server. Never compose from scratch when finds a match.
get_featured_workflow运行MCP服务器自带的预构建营销与生产工作流。当找到匹配项时,无需从头构建工作流。
get_featured_workflowWhen to use
使用场景
TRIGGER when the user:
- Names a featured workflow: retargeting, localization, banner advertising, packaging, product banners at scale, catalogs, packshots, spin video, etc.
- Asks to run a "known" or "predefined" workflow by name or keyword
- Provides product images + fonts for a banner/merge-data workflow with defaults
DO NOT TRIGGER when:
- User wants a custom workflow with no named match — use run-workflow and
compose_workflow - User pastes only a batch/execution/workflow ID — use via run-workflow skill
inspect_run
满足以下条件时触发:
- 用户指定某个精选工作流:retargeting、localization、横幅广告、包装设计、批量产品横幅、商品目录、产品实拍图、旋转视频等
- 用户要求按名称或关键词运行“已知”或“预定义”工作流
- 用户提供产品图片+字体,用于使用默认配置的横幅/数据合并工作流
以下情况请勿触发:
- 用户需要无匹配命名的自定义工作流——请使用run-workflow和
compose_workflow - 用户仅粘贴批量/执行/工作流ID——请通过run-workflow skill调用
inspect_run
Tool routing
工具路由
| Step | Tool |
|---|---|
| Find predefined workflow | |
| Upload images, fonts, custom templates, CSV data | |
Extract merge tags from custom | |
| Submit (large / multi-banner) | |
| Poll progress and outputs | |
| Re-wire graph after tag diff | |
| Diagnose failure | |
| 步骤 | 工具 |
|---|---|
| 查找预定义工作流 | |
| 上传图片、字体、自定义模板、CSV数据 | |
从自定义 | |
| 提交(大型/多横幅任务) | |
| 查询进度与输出结果 | |
| 标签差异后重新关联工作流图 | |
| 诊断失败原因 | |
Discovery flow
发现流程
- Call .
get_featured_workflow({ query: "<keyword>" }) - Multiple matches — is absent. List matched names, ask user to pick, retry with exact name.
prepared - Single match — present , required inputs, sizes. Confirm with user.
mergeNodes - Ask about templates if not specified (defaults vs custom ).
.indd - Ask about fonts if user has /
.otffiles — upload via.ttf.upload_asset - If the user supplies a (data-merge workflows like
.csv), upload it and wire it to theproduct-banners-at-scalenode (input-filesintype: "file") — see Data/CSV inputs below.prepared.inputNodes
Distinct asset types route to distinct input nodes: images → , fonts → , CSV/data → (which feeds ). Never collapse them onto one node.
input-imagesdefaults.fontsinput-filesparse-data- 调用
get_featured_workflow({ query: "<关键词>" }) - 多个匹配项——返回结果中无字段。列出所有匹配的工作流名称,询问用户选择后,使用精确名称重试调用
prepared - 单个匹配项——展示、必填输入项和尺寸,与用户确认
mergeNodes - 若未指定模板,询问用户使用默认模板还是自定义模板
.indd - 若用户拥有/
.otf字体文件,询问是否需要通过.ttf上传upload_asset - 若用户提供文件(适用于
.csv这类数据合并工作流),上传文件并将其关联到**product-banners-at-scale节点**(对应input-files中的prepared.inputNodes)——详见下方「数据/CSV输入」部分type: "file"
**不同类型的资产需关联到不同输入节点:**图片→,字体→,CSV/数据→(关联至节点)。切勿将所有资产合并到单个节点。
input-imagesdefaults.fontsinput-filesparse-dataFast path (defaults)
快速路径(默认配置)
When user wants default templates and default text:
- Upload product images and fonts via .
upload_asset - Call :
run_workflow_submit
json
{
"session_id": "<prepared.session_id>",
"useSessionDefaults": true,
"defaults": {
"fonts": [{ "presignedUrl": "...", "name": "Font.otf", "storageType": "azure" }]
},
"inputs": [
{
"node_id": "<input-images id from prepared.inputNodes>",
"content": [{ "type": "image", "url": "..." }]
}
]
}- Do not call .
compose_workflow - Do not send /
actionswhenconnectionsis present.session_id - Pass all images in one array — one submit call.
content
当用户希望使用默认模板且默认文本时:
- 通过上传产品图片和字体
upload_asset - 调用:
run_workflow_submit
json
{
"session_id": "<prepared.session_id>",
"useSessionDefaults": true,
"defaults": {
"fonts": [{ "presignedUrl": "...", "name": "Font.otf", "storageType": "azure" }]
},
"inputs": [
{
"node_id": "<prepared.inputNodes中的input-images节点ID>",
"content": [{ "type": "image", "url": "..." }]
}
]
}- 请勿调用
compose_workflow - 当存在时,请勿发送
session_id/actions参数connections - 将所有图片放入同一个数组——只需一次提交调用
content
Data / CSV inputs
数据/CSV输入
Some featured workflows (e.g. ) have a CSV branch: → → . surfaces the CSV node with , and carries the workflow's baked sample CSV as inline content.
product-banners-at-scaleinput-filesparse-datamerge-dataprepared.inputNodestype: "file"prepared.inputs- Defaults only (no user CSV): submit as-is — the baked sample CSV flows through, no entry needed.
input-files - User-supplied CSV: upload it via , then add an
upload_assetentry for theinputs[]node id so it overrides the baked default:input-files
json
{
"node_id": "<input-files id from prepared.inputNodes>",
"content": [{ "url": "<uploaded csv url>", "mimeType": "text/csv" }]
}The CSV columns drive the fan-out (e.g. , , ) — do not also wire those as separate text inputs. A product image that's constant across every row (not a per-row CSV column) wires directly into , bypassing entirely — this is the privileged default; only route an image through 's media-override port when it genuinely varies per row.
parse-dataheadlinesubcopyCTAinput-imagesmerge-dataparse-dataparse-data部分精选工作流(如)包含CSV分支:→→。会展示类型为的CSV节点,则包含工作流内置的示例CSV作为内嵌内容。
product-banners-at-scaleinput-filesparse-datamerge-dataprepared.inputNodesfileprepared.inputs- **仅使用默认配置(无用户CSV):**直接提交即可——内置示例CSV会自动流转,无需添加条目
input-files - **用户提供CSV:**通过上传文件,然后为
upload_asset节点ID添加input-files条目,以覆盖内置默认值:inputs[]
json
{
"node_id": "<prepared.inputNodes中的input-files节点ID>",
"content": [{ "url": "<已上传的CSV文件链接>", "mimeType": "text/csv" }]
}CSV列会驱动节点的输出(如、、)——请勿将这些列作为单独的文本输入关联。若某张产品图片在所有行中保持不变(非每行CSV列的值),则直接将关联至节点,完全绕过节点——这是默认的最优配置;只有当图片确实需要逐行变化时,才将其通过节点的媒体覆盖端口进行关联。
parse-dataheadlinesubcopyCTAinput-imagesmerge-dataparse-dataparse-dataCustom template path
自定义模板路径
When user provides custom templates:
.indd- on each template.
get_indesign_tags - Compare to :
prepared.mergeNodes[].tags- Identical → swap template URLs only; skip compose.
- Different → feasibility check, then optional re-wire.
compose_workflow
- If a critical image tag was removed (e.g. in retargeting), stop — offer defaults, different template, or build from scratch.
background - Show updated graph visually. Prompt for missing merge-data inputs only.
- Submit after user confirms all values.
Merge-data vs scene prompts: Only InDesign merge-port tags need user-facing text/image inputs. Keep scene prompts at their defaults unless user asks to change them.
gen-object-composite当用户提供自定义模板时:
.indd- 对每个模板调用
get_indesign_tags - 与进行对比:
prepared.mergeNodes[].tags- 标签完全一致——仅替换模板链接;跳过调用
compose_workflow - 标签不一致——先进行可行性检查,再选择性调用重新关联工作流
compose_workflow
- 标签完全一致——仅替换模板链接;跳过
- 若关键图片标签被移除(如retargeting工作流中的标签),则终止流程——为用户提供使用默认模板、更换其他模板或从头构建的选项
background - 可视化展示更新后的工作流图。仅当缺少数据合并输入项时,提示用户补充
- 用户确认所有值后提交任务
**数据合并与场景提示:**仅InDesign合并端口标签需要用户提供文本/图片输入。除非用户要求修改,否则保持的场景提示为默认值。
gen-object-compositePolling and outputs
轮询与输出结果
After , poll every ~5 seconds with .
run_workflow_submitrun_workflow_get_statusincludeOutputs: true- Report: using
Running — N/M complete (X%) · Ns elapsedfrom response.elapsedSeconds - On completion: list every output's full presigned URL verbatim. Never truncate.
- On failure: , summarize, stop — do not auto-retry.
inspect_run
调用后,每隔约5秒调用一次,并设置。
run_workflow_submitrun_workflow_get_statusincludeOutputs: true- 进度报告:使用响应中的,格式为
elapsedSeconds运行中 — 已完成N/M(X%)· 已耗时Ns - 任务完成:逐列出每个输出结果的完整预签名链接,切勿截断
- 任务失败:调用,总结失败原因后终止流程——请勿自动重试
inspect_run
Known featured workflows
已知精选工作流
| Slug / keyword | Use case |
|---|---|
| Product banners from a CSV (data merge), one template + constant image, per-row copy |
| Retargeting ads |
| Localization |
| Generic banners |
| Native ads |
| Catalogs |
| Pricing promos |
| Packaging |
| Packshots |
| Product imagery refresh |
| 3D composite |
| 360 spin video |
| 别名/关键词 | 使用场景 |
|---|---|
| 基于CSV生成批量产品横幅(数据合并),一个模板+固定图片,每行对应不同文案 |
| 重定向广告制作 |
| 本地化处理 |
| 通用横幅广告制作 |
| 原生广告制作 |
| 商品目录制作 |
| 促销定价活动物料制作 |
| 包装设计变体制作 |
| 标准化产品实拍图制作(2D/3D) |
| 产品图片更新(2D) |
| 3D合成图片制作 |
| 360°旋转视频制作 |
Anti-patterns
反模式
- Calling when featured workflow exists and tags match
compose_workflow - Sending full graph JSON when is available
session_id - Repeating on every merge-data input — use
fontsdefaults.fonts - Sending all input entries when suffices
useSessionDefaults: true - Separate submit per image
- Skipping user confirmation on missing merge-data text fields
- 当精选工作流存在且标签匹配时,仍调用
compose_workflow - 当可用时,发送完整的工作流图JSON
session_id - 在每个数据合并输入项中重复填写——应使用
fontsdefaults.fonts - 当已满足需求时,仍发送所有输入条目
useSessionDefaults: true - 每张图片单独提交一次
- 缺少数据合并文本字段时,跳过用户确认步骤
References
参考资料
- Full run-workflow skill (asset input, publish/save, alert RCA): run-workflow/SKILL.md
- 完整run-workflow skill(资产输入、发布/保存、故障告警排查):run-workflow/SKILL.md