:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
"""The workflow write path: live saves, staged drafts, surgical edits, publish and discard, each under
the workflow's row lock with its staleness fences, revision bump and post-commit follow-ups."""
from products.workflows.backend.models.hog_flow.hog_flow import defer_hog_flow_reloads
from products.workflows.backend.services.hog_flow_writes import (
DRAFT_CONTENT_FIELDS,
apply_email_utm_defaults,
create_workflow,
destroy_workflow,
discard_draft,
edit_workflow_content,
publish_confirm_value,
publish_draft,
save_validated_workflow,
trigger_has_audience,
update_workflow,
)
from products.workflows.backend.services.publish_impact import build_publish_impact
__all__ = [
"DRAFT_CONTENT_FIELDS",
"apply_email_utm_defaults",
"build_publish_impact",
"create_workflow",
"defer_hog_flow_reloads",
"discard_draft",
"destroy_workflow",
"edit_workflow_content",
"publish_confirm_value",
"publish_draft",
"save_validated_workflow",
"trigger_has_audience",
"update_workflow",
]