Apify logo
Google Sheets logo

Workflow template

Log completed Apify runs in Google Sheets

Log completed Apify Actor runs in Google Sheets. Each row records the run and Actor IDs, terminal status, finish time and dataset ID, including failed or aborted runs.

How it works

From an Actor run completion to a log row

1 Trigger · 1 Action
Apify1 · Trigger

Actor run finished

Poll for runs that reach SUCCEEDED, FAILED, TIMED-OUT or ABORTED. The first poll establishes a baseline without importing completion history.

Google Sheets2 · Action

Log finished Apify run

Append the run ID, Actor ID, terminal status, finish time and default dataset ID as plain text in columns A:E.

The result

A completion register for Actor runs

The row describes the run, not the items collected in its dataset. Select an existing spreadsheet and worksheet before activation.

Illustrative labels and fictional run data. The workflow writes A:E without creating headers.
Run IDActor IDStatusFinished atDataset ID
FICTIONAL_RUN_IDFICTIONAL_ACTOR_IDSUCCEEDED2026-01-01T00:00:00ZFICTIONAL_DATASET_ID

Fictional data. Headers are optional and are not added by this template.

Before activation

Set up your workflow

  1. Connect the Apify account

    Create a dedicated API token in Apify Settings → API & Integrations and connect it in FastHook. The token needs access to the runs you want to observe.

  2. Choose the run-log worksheet

    Connect Google Sheets and select an existing spreadsheet and worksheet. Reserve columns A:E for the five prepared values; an empty worksheet works.

  3. Establish the baseline, then test

    Activate and allow the first poll to establish a baseline. Complete a fictional test run in Apify afterwards and check for its row following a later poll. Running an Actor is a separate action and may use Apify credits.

Details and limitations
  • Polling rather than an instant webhook. The check interval follows your FastHook plan. Completion polling uses a 30-day window and scans at most 10,000 runs; this is not a full historical export.

  • All terminal outcomes are included. Succeeded, failed, timed-out and aborted runs are eligible. A resurrected run can produce another completion event. This workflow observes runs; it does not start an Actor or retrieve dataset contents.

  • Plain-text rows with possible repeat writes. RAW input keeps values as text. Manually rerunning a completed workflow can append another row. Review both the run status and its dataset in Apify when investigating a result.

Questions about this template

Does this log failed runs as well as successful ones?

Yes. SUCCEEDED, FAILED, TIMED-OUT and ABORTED are all terminal statuses handled by the trigger.

Will it import previous completed runs?

No. The first poll establishes a baseline and suppresses initial history. Later checks use a 30-day completion window and a 10,000-run scan bound.

Does the spreadsheet contain scraped dataset items?

No. It records run ID, Actor ID, terminal status, finish time and default dataset ID. Reading dataset items would require additional workflow steps.

Does activating this template start or charge for an Actor run?

This template only polls for completions and appends log rows. It does not start an Actor. Any run you start separately in Apify can consume credits according to that Actor’s settings.

Explore connected apps