Antony Trigger icon

Antony Trigger

Starts the workflow when the result of an Antony GraphQL query changes, pushed via the Antony subscription hub (SignalR)

Antony Trigger

AI-generated

Summary

Watch a GraphQL query through Antony’s SignalR subscription hub and start the workflow when selected change events arrive. Supply the {subscription} placeholder exactly once as an argument on the field to watch; the node replaces it with subscription identifiers when registering the query.

Inputs

  • Query (required) — GraphQL query to watch. Include {subscription} exactly once on the field being watched.
  • Variables JSON — Variables object sent with the query; defaults to {}.
  • Change Types — Select which events start the workflow: Added, Updated, Removed, or Reconnected. Defaults to Added, Updated, and Removed. Reconnected fires after the node re-establishes its subscription and carries no change data; changes missed during disconnection are not replayed.

Output shape

A trigger event item containing changeType, id, and data.

Added, Updated, and Removed events include the notification’s ID and data. Reconnected events use an empty ID and data: null. The node registers the subscription when the trigger starts and attempts to re-register after connection loss.

Links

Discussion