Content Campaign Publisher

campaign-content

Publishes campaign articles and blog posts to Webflow or Ghost CMS via Composio.

Responsibilities

  • Validate that the workspace has an active Composio connection for the chosen CMS
  • Dispatch content creation via Webflow's collection-item or Ghost's post API
  • Emit content_published mark or content_publish_failed warn on the campaign path
  • Report cost_msat (1 msat per publish) for spend tracking

Inputs

Field Type Notes
campaignId string Tags the campaign path
title string Article / post title
body string HTML content
provider webflow | ghost Target CMS
slug string? URL slug (defaults to CMS auto-generate)
tags string[]? Content tags
published boolean? Publish immediately (true) or save as draft (false)
connectedAccountId string Composio connected-account ID

Contract

  • auth(env, provider, slug) — probes for an ACTIVE Composio connection to the CMS
  • push(env, payload)SendReceipt — creates the content item
  • verifyWebhook(sig, body, secret) → boolean — validates CMS webhook signatures