Cursor Trigger icon

Cursor Trigger

Polls a Cursor cloud agent run and triggers when it completes, errors, or is cancelled

Cursor Trigger

AI-generated

Summary

Poll for the completion status of a Cursor cloud agent run and trigger the workflow when the run is finished, errored, or cancelled.

Inputs

  • Agent ID (required) — ID of the cloud agent to monitor
  • Run ID (required) — ID of the run to monitor
  • Poll Times — Configurable times at which to perform the polling, with options such as every minute, hour, day, week, month, or custom cron expression.

Output shape

a single item emitted when the monitored run enters a terminal status

The output item contains JSON with the agentId, runId, status (one of FINISHED, ERROR, CANCELLED), and a result field if available. If the run is not in a terminal state, the trigger does not emit any output. Polling configuration controls when the node checks the run status.

Links

Discussion