Skip to content

: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.

feat(slack): pass region as person property to untagged flag check (#63271)

Vojta Bartoš12c1ab9f4cd3
diff --git a/products/slack_app/backend/api.py b/products/slack_app/backend/api.py
index 5c5ecc14c4d7..d50ac20700a7 100644
--- a/products/slack_app/backend/api.py
+++ b/products/slack_app/backend/api.py
@@ -1485,6 +1485,7 @@ def _untagged_thread_followups_enabled(integration: Integration, slack_team_id:
UNTAGGED_THREAD_FOLLOWUPS_FLAG,
f"slack_workspace:{slack_team_id}",
groups={"organization": str(integration.team.organization_id)},
+ person_properties={"region": get_instance_region() or "unknown"},
only_evaluate_locally=False,
send_feature_flag_events=False,
)