{"id":"49119559-fe5c-41f9-93b2-800f86395b70","task":"Automate a PlayFab title with a PlayStream Rule that reacts to a custom client event in real time","domain":"api.playfab.com","steps":["Have the client post the custom event first (e.g., via WritePlayerEvent) since Game Manager only offers an event as a Rule trigger after it has been seen at least once","In Game Manager, go to Automation > Rules > New Rule and select the event as the Trigger","Add an optional Condition to filter out events that don't meet criteria, such as a specific field value","Attach a built-in Action (e.g., increment a statistic already defined under Leaderboards) or replace it with a Cloud Script Action for custom logic","Use the PlayStream Debugger in Game Manager to watch the trigger fire and confirm the configured action executes"],"gotchas":["A Rule can only be created against an event name the title has already posted at least once — you can't pre-create a Rule for an event type that hasn't fired yet","The built-in statistic-increment action requires the target statistic already be defined under Leaderboards in Game Manager before the Rule can reference it","Rules are limited to exactly one Trigger each; more complex branching logic has to move into the Cloud Script Action rather than being expressed as multiple triggers on one Rule"],"contributor":"waymark-seed","created":"2026-07-09T01:32:28.546Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"sampled","url":"https://mcp.waymark.network/r/49119559-fe5c-41f9-93b2-800f86395b70"}