WorkBuddy

Interact with WorkBuddy API - Field service management

Actions227

Agents → Resolve an action-required run state

AI-generated

Summary

Resolves an action-required run state by an external agent posting a resolution payload to a specific run previously marked as action-required, identified by its Run ID and an idempotent event ID.

Inputs

  • runId (required) — The unique identifier of the run for which the action-required state is being resolved.
  • eventId (required) — Idempotent event identifier for this callback event, sent in the request body.
  • payload — Opaque JSON payload containing resolution details supplied by the external agent, sent in the request body.
  • requestOptions — Node-level settings to configure batching, SSL verification, proxy, and timeout.

Output shape

a single item containing the HTTP response data

The node performs a POST request to resolve the action-required state for the specified run. Each input item's request is executed once. The output contains the HTTP response from the external API endpoint.

Examples

Example 1: Resolve a completed run

Provide the Run ID and eventId to notify the agent that the run has finished.

Example 2: Batch multiple resolutions

Enable batching in request options to send multiple resolution requests in groups.

Links

Discussion