kit.onPostPublished subscribes when a post is published.
automations/on-post-published.automation.ts
Event
data.post contains a post summary. Use kit.getPost for full content. Provider snake case fields are exposed as camelCase. Subscriber custom-field keys under fields are preserved exactly.
Automate.ax creates and maintains one account-level Kit webhook endpoint, verifies the timestamped X-Kit-Signature against the raw body, and deduplicates each event by id. Kit can batch up to 100 same-type events in one delivery; each event starts independently. Use kit.onEvent when one automation should receive every available event.