Advanced workflows
Recipes that chain tools into complete jobs. Written for a capable agent orchestrating on a user’s behalf — in a chat client, Claude Code, the codex CLI, or similar. Ground rules from tips-and-tricks.md apply throughout: query before manage, confirm mutations and credit spend, poll async jobs.
Tip: The default profile ships five ready-made prompts (
campaign_brief,analytics_deep_dive,surface_network_planner,content_optimizer,platform_onboarding;mosaic://capabilitieslists the ones your connection has). Each returns a structured multi-step recipe naming exact tool calls — check whether one covers your task before hand-rolling a pipeline below.
A. Product URL → live campaign
Section titled “A. Product URL → live campaign”Turn a product page into a deployed campaign.
manage_productsaction: import_from_urlwith the product URL. Import reaches the open web and pulls the product into the catalog.- Confirm with the user (credits), then
generate_campaignmode: startwith anintentdescribing the goal and the imported product. - Poll
query_campaignsaction: generation_statusuntil complete. Don’t spin; don’t restart. query_campaignsaction: variantson the new campaign. Present the variants to the user; apply requested edits withmanage_campaignsaction: update_variant. If a variant misses,generate_campaignmode: regenerate(confirm credits again) rather than hand-patching everything.- On approval:
manage_campaignsaction: publish, thenaction: deployto the chosen surface (query_surfacesoperation: list_surfacesto find it). Publish/deploy trigger republish automatically. - Verify: fetch the brand page’s public markdown twin (
Accept: text/markdownon the brand host) and confirm the campaign is live.
B. Weekly analytics digest
Section titled “B. Weekly analytics digest”A recurring report with proposed actions, human in the loop.
query_analyticsaction: snapshotwith defaultsections: ["summary"]for the top line; widen sections only where the story needs detail.query_analyticsaction: cvg_dashboardfor per-variant performance and winner detection.- Summarize: winners and stalls per campaign, Impressions (raw delivery, Meta Ads included when
summary.meta.includedis true) vs Reach (distinct sessions) called out separately, with Meta reach (summary.meta.reach) as its own figure, one insight per campaign maximum. For which creative did the work, request thecreativessection: report each creative’s figures per channel with their source (“Reported by Meta” or “Measured by SparkleTree”), compare click-through per channel rather than one blended rate, and report the “not linked to a creative” rows as they are, never shared out across creatives. - Propose concrete variant edits — copy tightening on the laggard, retiring a clear loser — as a diff-style list. Do not apply anything yet.
- On explicit approval, apply each with
manage_campaignsaction: update_variant(ordelete_variant). Saves republish automatically.
The analytics_deep_dive server prompt is the ready-made version of steps 1–3.
C. Video from a winning campaign
Section titled “C. Video from a winning campaign”query_analyticsaction: cvg_dashboardto identify the top campaign/variant over the window the user cares about.query_videoaction: templatesto list available templates — a free read.- Confirm the render and the chosen campaign with the user, then
render_videomode: campaign(ormode: video/mode: stillper the ask). - Poll
query_videoaction: progressat a reasonable interval until the render completes; report the result.
Rendering is automated and quality-gated server-side — you submit the description and poll; there is no frame-level editing to orchestrate.
D. Brand-site Q&A bot — no MCP, no auth
Section titled “D. Brand-site Q&A bot — no MCP, no auth”Answer visitor questions about a brand using only its public surfaces. No account, no OAuth, no MCP session.
GET https://<brand-host>/llms.txt— the entry map to the brand’s content.- Optionally fetch
/.well-known/agent-card.jsonand the agent skills index (/.well-known/agent-skills/index.json; theask-venueSKILL.md documents the concierge contract — verify its sha256 digest). - Fetch relevant pages as markdown twins via
Accept: text/markdownfor grounding. POST /askwith the visitor’s question — the brand’s own concierge answers from its published content.
This is the right architecture whenever the task is consuming a brand rather than operating a workspace: cheaper, faster, and zero credentials to manage.
E. Multi-workspace agency ops
Section titled “E. Multi-workspace agency ops”Each MCP connection is bound to one workspace; cross-workspace access is refused. For an agency operating several client workspaces:
- Maintain one connection (or API key) per workspace — separate connector entries, or separate
x-api-keyvalues from each workspace’s Settings → API keys. - Before every batch of actions,
get_platform_infotopic: organizationon the active connection and echo the workspace name back to the user. Never infer scope from memory — a wrong-workspace publish is the expensive failure mode here. - Run the same recipe (A–C above) per workspace, re-confirming scope at each switch.
- For cross-client reporting, run recipe B per connection and merge the digests client-side; there is no cross-workspace query.