Tool to create a new alert configuration in PostHog. Use when you need to set up monitoring for insights with specific thresholds and notification settings. The alert will monitor the specified insight and notify subscribed users when threshold conditions are met.
nameRequiredstringAlert name. Maximum 255 characters.
configobjectAlert configuration settings
enabledRequiredbooleanWhether the alert is enabled immediately upon creation
insightRequiredintegerInsight ID monitored by this alert. The insight must exist in the same project.
conditionobjectAlert condition configuration
thresholdRequiredobjectAlert threshold configuration defining when alert triggers
project_idRequiredstringProject ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
skip_weekendbooleanWhether to skip checks during weekends
snoozed_untilstringISO 8601 timestamp until which the alert is snoozed
subscribed_usersRequiredarrayList of user IDs to subscribe to this alert. Can be an empty list if no users should be subscribed initially.
calculation_intervalCalculation interval for the alert (can be string or object)
dataRequiredData from the action execution
errorstringError if any occurred during the execution of the action
successfulRequiredbooleanWhether or not the action execution was successful or not
API key connection. Risk level 2 of 5.
Free Action
No published Skills explicitly reference this Action yet.