/fabric-real-time-analytics:data-activator-trigger <trigger-description> --source <eventstream|kql-db> --action <email|teams|power-automate>from fabric-real-time-analytics
Creates a Data Activator (Reflex) trigger in Microsoft Fabric — monitors event streams or KQL queries for conditions and fires email, Teams, or Power Automate actions.
Ships in fabric-real-time-analytics. Installing the plugin adds it to Claude Code.
Configure a Data Activator (Reflex) item with triggers that monitor streaming or query data for specific conditions and fire automated actions.
<trigger-description> — Natural-language description of the alert (e.g., "Alert when temperature exceeds 40 degrees for more than 2 minutes"). Ask if not provided.--source — Data source: eventstream (real-time events) or kql-db (scheduled KQL query). Ask if not provided.--action — Action to fire: email, teams, power-automate, custom-endpoint. Default: email.az rest --method POST \
--url "https://api.fabric.microsoft.com/v1/workspaces/${FABRIC_WORKSPACE_ID}/items" \
--headers "Content-Type=application/json" \
--body '{
"type": "Reflex",
"displayName": "<reflex-name>",
"description": "<description>"
}'
From Eventstream:
DeviceId, UserId, StoreId). Ask the user which field uniquely identifies the objects.Temperature, ErrorCount). Ask the user which fields to track.From KQL Database:
<Table>
| where Timestamp > ago(10m)
| summarize LatestValue = arg_max(Timestamp, <MetricColumn>) by <ObjectId>
| project <ObjectId>, <MetricColumn>, Timestamp
In the Reflex designer:
Parse the trigger description to configure:
Condition type mapping:
| Description pattern | Condition type | Configuration |
|---|---|---|
| "exceeds X" / "greater than X" | Numeric threshold | Property > X |
| "drops below X" / "less than X" | Numeric threshold | Property < X |
| "changes by more than X" | Change detection | abs(Property - PreviousValue) > X |
| "no events for X minutes" | Absence detection | No event received in X minutes |
| "changes from A to B" | State transition | Property changed from A to B |
| "equals X" | Exact match | Property == X |
Sustain/dwell configuration: Ask the user if the condition must persist for a minimum duration before triggering:
Suppression configuration: Ask the user about re-trigger behavior:
Email action:
"Alert: {ObjectId} - {PropertyName} is {PropertyValue}"Teams message action:
"[Alert] {ObjectId}: {PropertyName} = {PropertyValue} (threshold: {Threshold}) at {Timestamp}"Power Automate action:
Custom endpoint action:
Guide the user through testing:
Show the user:
/rt-dashboard-create)What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
npx claudepluginhub thelobbi/claude-m --plugin fabric-real-time-analytics7 commands in this plugin
/eventhouse-createCreate an Eventhouse with KQL database, table schema, ingestion mappings, and policies/eventstream-createDesign an Eventstream pipeline — configure sources, transformations, and destinations for streaming ingestion/fabric-rta-setupSet up the Fabric Real-Time Analytics plugin — install SDKs, configure workspace access, verify Eventhouse connectivity/kql-queryGenerate and run KQL queries — explore data, aggregate metrics, detect anomalies, build time series/kql-queryset-manageManage Fabric KQL Queryset items with deterministic validation and safe rollout checks./rt-dashboard-createCreate a Real-Time Dashboard with KQL-powered tiles, parameters, and auto-refreshOther plugins' commands for the same job