run-campaign
GitHub自动化执行端到端营销活动,串联销售分析、内容策略、Canva素材生成及HubSpot发送。通过分步审批机制确保质量,自动识别收入下滑并生成受众名单与高优线索,全程需人工确认关键节点。
Trigger Scenarios
Install
npx skills add anthropics/knowledge-work-plugins --skill run-campaign -g -y
SKILL.md
Frontmatter
{
"name": "run-campaign",
"description": "Runs an end-to-end marketing campaign — sales analysis, content brief, Canva assets, HubSpot send. Accepts optional lookback and channel arguments.",
"allowed-tools": "Read, WebFetch, Bash"
}
Run the full campaign pipeline by chaining three skills in order. The owner approves at each handoff — never roll past a gate without explicit confirmation.
Parse arguments:
--lookback(default90d) — how far back to look for the revenue dip--channel(defaultboth) —email,social, orboth
Step 1 — Sales analysis + content brief (content-strategy)
Trigger the content-strategy skill workflow:
- Pull sales data from QuickBooks and PayPal for the lookback window.
- Identify the revenue dip — which product/service, which time period, magnitude.
- Produce a 30-day prioritized content brief: what to push, what offer to run, what to hold.
- Present the brief to the owner. Wait for explicit "approved, build the assets" before continuing.
If the owner edits the brief, incorporate edits and re-present.
Step 2 — Asset generation + send staging (canva-creator)
After Step 1 approval, trigger the canva-creator skill workflow:
- Take the approved brief from Step 1 as input.
- Build the posting calendar matched to the brief's priorities.
- Generate on-brand Canva assets for each post (apply each on screen for owner approval before moving on).
- Draft caption copy for each post.
- Stage the scheduled send in HubSpot (do NOT send — staging only).
- Present the staged campaign to the owner. Wait for explicit "approved, send to segment X" before Step 3.
Step 3 — Audience segmentation (lead-triage)
After Step 2 approval, trigger the lead-triage skill workflow:
- Pull HubSpot contacts that match the campaign's target segment (from the approved brief).
- Score by engagement, company fit, urgency markers.
- Produce two deliverables:
- Bulk send list — the segment receiving the staged campaign from Step 2
- High-priority call list — top 5 leads the owner should call personally with talking points
- Block calendar time for the call list.
- Present both lists. Wait for explicit "send" before pushing the HubSpot campaign live.
Approval gates (must hold)
- Never auto-progress between steps. Each handoff requires explicit owner approval.
- Never send the HubSpot campaign without the owner's "send" command in Step 3.
- If any connector is unreachable (QuickBooks, PayPal, Canva, HubSpot), stop, report which connector failed, and ask whether to retry or abort.
Output
End the run with a one-paragraph recap: revenue dip identified, posts generated, segment size, calls booked. Link to the HubSpot campaign URL once sent.
Version History
- 6f13415 Current 2026-07-05 18:36


