KSeFGPT
Get started for free
Automation

How to run an automation and check execution history

Activate a saved workflow, perform a safe manual run and inspect the status, duration and logs of every block.

Module
Automation
Reading time
5 min
Difficulty
Published
August 22, 2026
Author
Rafał Zeidler
Format
Written guide and video

Written procedure

What you will do

You will activate a saved workflow, run it manually and open Run history. You will check the final status, duration and log of each block.

This guide uses a manual trigger. Activating a workflow with a schedule or KSeF event can immediately enable automatic runs.

Requirements

Before you start

For the first test, choose a workflow that starts with a manual trigger and does not send messages or data to external systems.

ItemDescription
AccessThe company owner or an organization member with automation:manage.
KSeF connectionAn active token or certificate when the workflow uses KSeF.
WorkflowA saved automation with a manual trigger and safe test actions.
Starting pointAfter signing in, open Automation.
Time requiredAbout 3 minutes including history review.
Activation effectSchedules and event triggers can start without selecting Run.

Process recording

PT35.56S

The recording shows activation, a manual run and inspection of successful and failed logs.

How to run an automation and check its history - video guide
01Step

Find the saved workflow

Open Automation and identify the card by its name and description. Check the previous run count and last result.

An Inactive workflow has a disabled Run button and must be activated first.

Step 1
Automation with an inactive test workflow and disabled Run button
02Step

Activate the workflow

Open the three-dot menu and select Activate. First confirm that the workflow has no schedule or event trigger you do not want to enable.

The card changes to Active and Run becomes available.

Step 2
Test workflow menu with the Activate command
03Step

Run the workflow manually

Select Run on the active card. KSeFGPT creates an execution and queues it for processing.

The start notice confirms queuing, not success. The run count increases and the authoritative result appears in history.

Step 3
Active workflow after a manual run with an increased run count
04Step

Open run history

Open the three-dot menu again and select Run history. The newest execution appears first.

Statuses are Pending, Running, Completed or Failed. Start time and total duration appear beside each row.

Step 4
Run history with completed and failed executions and their duration
05Step

Check successful logs

Select the Completed row. KSeFGPT loads the logs and lists blocks in execution order.

An `ok` status beside the manual trigger and fetch action means both blocks succeeded. Compare their timestamps too.

Step 5
Expanded completed execution with two blocks in ok status
06Step

Read an execution error

Expand the Failed row. The unsuccessful block has `failed` and shows an error after the hyphen.

In the example, the manual trigger is `ok` and invoice fetch is `failed` because the KSeF token expired. This identifies the stage to fix.

Step 6
Expanded failed execution with an expired KSeF token message

Final state

Check the result

Use the newest Run history status as the result. Completed means the full workflow finished, while Failed requires log inspection.

If activation was only for a one-time test, select Deactivate to prevent later scheduled or event runs.

Diagnostics

If something does not work

Compare the symptom with the table below.

SymptomLikely causeWhat to do
Run is disabledThe workflow is Inactive.Open its menu and select Activate.
You cannot activate or runautomation:manage is missing.Ask the organization owner for the required permission.
KSeF connection is requiredThe company has no active token or certificate.Configure KSeF in Settings and return to the workflow.
A start notice appears but there is no successThe execution is queued or still running.Open Run history and check the newest status.
The execution is FailedA block failed, for example because the KSeF token expired.Expand the row, find `failed`, fix the cause and run again.
No new execution appearsThe queue or automation worker is unavailable.Refresh after a moment and report the issue if the entry still does not appear.

What next

After a successful test, leave the workflow active only when its schedules or events should run automatically.

If a log points to block configuration, select Edit, correct it and perform another manual test.

Check your automation

Sign in, perform a safe test and inspect the result of every block.

Sign in to KSeFGPT

Related instructions