New to Kestra?
Use blueprints to kickstart your first workflows.
Audit Flagsmith feature flag engine readiness, evaluate critical production toggle states, and dispatch automated Slack incident alerts on service drift.
Automated drift auditor and health gate that continuously monitors Flagsmith open-source feature flagging engines for service availability and verifies critical production toggle states against expected baselines. Dispatches structured Slack incident notifications upon toggle drift or missing flags, preventing inadvertent feature rollouts and deployment regressions.
probe_engine_health task queries GET /health on the target Flagsmith server to verify HTTP service availability and database connectivity.probe_environment_flags task queries GET /api/v1/flags/ using an authenticated environment API key to retrieve live flag values, enabled statuses, and segment rules.critical_feature_flag and comparing its live enabled state against expected_flag_state.evaluate_flag_state_and_health flow-control Switch evaluates the classified operational posture:COMPLIANT: Logs clean operational metrics when the engine is responsive and the flag matches its expected state.FLAG_STATE_DRIFT: Formats and dispatches a rich Slack warning notifying on-call engineers of an unintended toggle state change.FLAG_NOT_FOUND: Posts a high-priority Slack incident alert notifying platform engineers that the expected feature flag is missing from the environment.ENGINE_UNHEALTHY: Alerts DevOps teams immediately if the Flagsmith health endpoint indicates service degradation or database errors.log_audit_summary task records execution audit telemetry, and an errors block intercepts connection timeouts or authentication failures with automated Slack escalations.{{ secret(...) }} without plaintext exposure.Switch tasks.FLAGSMITH_ENVIRONMENT_KEY: Environment API key used for authenticating against the Flagsmith environment flags API.SLACK_WEBHOOK_URL: Slack Incoming Webhook endpoint URL used for operational alerts.FLAGSMITH_ENVIRONMENT_KEY, SLACK_WEBHOOK_URL) in your Kestra namespace settings.company.platform).flagsmith_host and critical_feature_flag to validate connectivity against your instance.scheduled_sentinel_audit trigger to establish recurrent 4-hour automated flag health evaluations.POST /api/v1/flags/{id}/) to restore the expected flag state automatically.ForEach loop task to verify flag parity across staging, canary, and production environments.ENGINE_UNHEALTHY states directly to PagerDuty or Opsgenie on-call schedules.