hermosodocs

create_posthog_annotation

Mark the PostHog timeline

Area: PRODUCT ANALYTICS: PostHog · Mixpanel · Amplitude · Ad campaign management. Generated from the running MCP server, like the rest of the tool reference.

Description

MARK THE POSTHOG TIMELINE — write what just happened into PostHog at the moment it happened, so every chart afterwards shows it in place. The same closed loop as create_amplitude_annotation, and worth reaching for unprompted after a campaign goes live, a creative is swapped or a landing page changes. `dateMarker` is what POSITIONS the marker on the x-axis (ISO 8601); omit it and NOW is used, which is right for "this just went live" — and the timestamp PostHog actually STORED is reported back rather than the one sent. `scope` is project (the default — shows on everything) / organization / dashboard / dashboard_item, and `dashboard` and `dashboard_item` each need their id or the annotation attaches to nothing and appears nowhere. PostHog also publishes a `recording` scope which THEY THEMSELVES REJECT, so it is refused by name here rather than sent. `creationType` USR means a person wrote it, GIT means a bot or a deployment did. NEEDS THE `annotation:write` SCOPE on the personal API key — a key made before Hermoso supported annotations will not have it; PostHog names it in their refusal, and it is added in PostHog > Settings > Personal API keys without reconnecting. THIS WRITES TO THE USER'S OWN ANALYTICS TOOL. 0 credits.

Parameters

ParameterTypeDescription
contentrequiredstringthe text shown on the chart, ≤8192 characters
dateMarkerstringISO 8601 — defaults to now, which is right for "this just went live"
scope"project" | "organization" | "dashboard" | "dashboard_item"default project. PostHog's `recording` scope is deprecated and rejected by PostHog
creationType"USR" | "GIT"USR = a person wrote it, GIT = a bot or deployment did
dashboardIdnumberREQUIRED when scope is "dashboard"
insightIdnumberREQUIRED when scope is "dashboard_item" — the numeric id of the insight

Example call

Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/create_posthog_annotation.

MCP (tools/call)

{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"create_posthog_annotation","arguments":{"content":"<string>"}}}

CLI

hermoso call create_posthog_annotation --json '{"content":"<string>"}'

Credits

Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.

All 759 Ad campaign management tools · tools.json