Actor Run Trigger (for polling) Trigger

Retrieves the latest runs of a selected Apify Actor and returns their details if they are new runs (compared to last poll) and has completed with one of the specified terminal statuses. Intended for use with Windmill's native polling trigger, which handles the periodic execution and state management.

First run always returns an empty array. An empty array is also returned after "Actor ID" and/or "Event Types" are changed.

Created by jakub.drobnik222 8 days ago
In Windmill, a trigger script is designed to pull data from an external source and return all the new items since the last run. It operates without resorting to external webhooks and is typically used with schedules and states to compare the current execution to the previous one.