apify.onActorRunTimedOut starts when a run for one Apify Actor or task times out.
Example
automations/apify-on-actor-run-timed-out.automation.ts
Inputs
actorId watches every run of one Actor. taskId watches every run of one saved task. Pass exactly one provider ID from the resource’s Apify Console URL.
Pass account to select a named Apify account. The token must be able to create webhooks and read the selected Actor or task.
Output
ReturnseventType, createdAt, userId, eventData with actorId, actorRunId, and optional actorTaskId, plus the normalized Actor run in resource. Run dates are ISO 8601 strings.
This trigger subscribes to Apify’s TIMED_OUT webhook event. Automate.ax manages the resource-scoped webhook, authenticates its secret header, and deduplicates retries by Apify dispatch ID. Each authenticated delivery starts an ordinary root context.