A woman at a desk working on a large monitor, with a phone and a second screen beside her, banner image on the How automation tools count a run page

HiringsAI blog

How automation tools count a run

The trigger-action tool, the visual scenario tool and writing code do the same kind of job and meter it in three different units. This article reads each the tool's own page on what it counts: the trigger-action tool's tasks, the visual scenario tool's operations and credits, and the edge-function service' requests and CPU time as one example of running your own code. It does not say which is cheaper, because the pages reviewed here do not give every plan price and the units do not convert. A small worked comparison at the end is ours and labeled.

three meters for one jobTRIGGER-ACTION TOOLtasks: successfulaction stepsVISUAL SCENARIO TOOLoperations per modulerun; billed in creditsWORKERS (CODE)requests plus CPU time;no charge for duration
01

The short answer

The trigger-action tool counts a task for each successful action.

The visual scenario tool counts an operation for each module runOne per bundle of data, and bills credits; for non-AI apps one operation is one credit.
The edge-function serviceThe edge-function service, used here as the example of running code yourself, bills requests and CPU time and says it does not charge for duration or for waiting on the network.
These are three meters for three different thingsThese are three meters for three different things, So a number from one cannot be read as a number from another.
Each claim below comes from its own pageEach claim below comes from its own page, the pages reviewed do not include every plan's price, so no vendor is ranked.

The short answer

The trigger-action tool counts a task for each successful action. The visual scenario tool counts an operation for each module run, one per bundle of data, and bills credits; for non-AI apps one operation is one credit. The edge-function service, used here as the example of running code yourself, bills requests and CPU time and says it does not charge for duration or for waiting on the network. These are three meters for three different things, so a number from one cannot be read as a number from another. Each claim below comes from its own page; the pages reviewed do not include every plan's price, so no vendor is ranked.

02

The trigger-action tool: tasks are successful actions

The trigger-action tool's task usage page says a task is any successful action that runs in the trigger-action tool, and only successful actions count.

It lists successful action stepsIt lists successful action steps, successful steps in an error handler path, previously successful steps that run again when you replay an entire workflow run, and sub-workflow action steps as one task each.
The trigger-action toolThe trigger-action tool, what counts as a task 1 TASK EACH successful action steps; steps in a successful error handler path; sub-workflow action steps REPLAY previously successful steps that run again on a whole-run replay count again, 1 task each per the trigger-action tool How is task usage measured What does not count is a long list: all triggers, Filter and Paths steps, testing in the editor (even when a test performs the action in your app), action steps that error or halt, steps that did not run, and steps for several the trigger-action tool apps including Formatter, Delay, Looping, Sub-workflow, Digest, the trigger-action tool Manager and Storage.
The trigger-action toolThe trigger-action tool, what does not count NOT COUNTED triggers; Filter and Paths; editor tests (even when the test performs the action) ALSO NOT COUNTED action steps that error or halt; steps that did not run APPS NOT COUNTED Formatter, Delay, Looping, Sub-workflow app, Digest, the trigger-action tool Manager, Storage per the trigger-action tool How is task usage measured Some steps have their own rate.
Code by the trigger-action tool is one task per run with standard runtime, more if you extend it

The trigger-action tool: tasks are successful actions

The trigger-action tool's task usage page says a task is any successful action that runs in the trigger-action tool, and only successful actions count. It lists successful action steps, successful steps in an error handler path, previously successful steps that run again when you replay an entire workflow run, and sub-workflow action steps as one task each.

The trigger-action tool: what counts as a task1 TASK EACHsuccessful action steps; steps ina successful error handler path;sub-workflow action stepsREPLAYpreviously successful steps thatrun again on a whole-run replaycount again, 1 task eachper the trigger-action tool How is task usage measured

What does not count is a long list: all triggers, Filter and Paths steps, testing in the editor (even when a test performs the action in your app), action steps that error or halt, steps that did not run, and steps for several the trigger-action tool apps including Formatter, Delay, Looping, Sub-workflow, Digest, the trigger-action tool Manager and Storage. The page says the trigger-action tool Agents usage is counted separately under an activity quota.

The trigger-action tool: what does not countNOT COUNTEDtriggers; Filter and Paths;editor tests (even when thetest performs the action)ALSO NOT COUNTEDaction steps that error orhalt; steps that did not runAPPS NOT COUNTEDFormatter, Delay, Looping, Sub-workflow app,Digest, the trigger-action tool Manager, Storageper the trigger-action tool How is task usage measured

Some steps have their own rate. Code by the trigger-action tool is one task per run with standard runtime, more if you extend it. AI by the trigger-action tool depends on the model tier. The page says that from December 1, Next Gen workflows use the same rates as Classic workflows plus one task for each external call, and that in Next Gen workflows filters, formatting, loops and branching do not use tasks. That date is a few days after this article, so check the page for the current state.

The trigger-action tool: steps with their own rateCODE STEP1 task per run, standard runtime;more tasks if you extend itAI STEPdepends on the model tieryou selectNEXT GEN ZAPSfrom Dec 1, 2026: Classic rates,plus 1 task per external callper the trigger-action tool How is task usage measured (page text as of)
03

The visual scenario tool: operations, bundles and credits

The visual scenario tool's Operations page says an operation is a single module run to process data or check for new data. A module runs once per bundle, so sending five emails is five operations. Trigger modules are the exception: they run once to check for data, however many bundles they return.

The visual scenario toolThe visual scenario tool, an operation is a module run PER BUNDLE a module runs once for each bundle: 5 emails sent = 5 operations TRIGGERS run once per check, however many bundles they return per scenario operation Because each bundle triggers its own module run, bundles multiply downstream.
The page's own exampleThe page's own example is a Google Forms trigger returning ten responses, followed by three modules that each run ten times: one operation for the trigger plus thirty, so 31 operations for that run.
The visual scenario toolThe visual scenario tool, bundles multiply downstream TRIGGER returns 10 bundles: 1 operation THREE MODULES 10 bundles each: 10 operations per module TOTAL FOR THAT RUN 1 + 30 = 31 operations (the visual scenario tool's own example) per scenario operation The visual scenario tool's Credits page says credits replaced operations as the billing unit, and plan pricing is unchanged.
For non-AI apps one operation is one credit
Some AI and advanced apps use dynamic credit usage based on tokens, file size, pages or run time

The visual scenario tool: operations, bundles and credits

The visual scenario tool's Operations page says an operation is a single module run to process data or check for new data. A module runs once per bundle, so sending five emails is five operations. Trigger modules are the exception: they run once to check for data, however many bundles they return.

The visual scenario tool: an operation is a module runPER BUNDLEa module runs once for eachbundle: 5 emails sent =5 operationsTRIGGERSrun once per check,however many bundlesthey returnper scenario operation

Because each bundle triggers its own module run, bundles multiply downstream. The page's own example is a Google Forms trigger returning ten responses, followed by three modules that each run ten times: one operation for the trigger plus thirty, so 31 operations for that run.

The visual scenario tool: bundles multiply downstreamTRIGGERreturns 10 bundles:1 operationTHREE MODULES10 bundles each:10 operations per moduleTOTAL FOR THAT RUN1 + 30 = 31 operations (the visual scenario tool's own example)per scenario operation

The visual scenario tool's Credits page says credits replaced operations as the billing unit, and plan pricing is unchanged. For non-AI apps, one operation is one credit. Some AI and advanced apps use dynamic credit usage based on tokens, file size, pages or run time. The page says credits help you track spending while operations show the outcome of your activities.

The visual scenario tool: operations became creditsFIXEDmost apps: default1 operation = 1 credit,regardless of data sizeDYNAMICsome AI and advanced apps:tokens, file size, pagesor run timePAGE NOTEcredits track spend; operations show theoutcome of activity; plan pricing unchangedper scenario credit
04

Code: the edge-function service as one example

Running your own code has a meter too.

Cloudflare's Workers pricing pageCloudflare's Workers pricing page lists a Free plan with 100,000 requests per day and 10 milliseconds of CPU time per invocation, and a Standard paid model with a $5 monthly minimum that includes 10 million requests and 30 million CPU milliseconds, then $0.30 per additional million requests and $0.02 per additional million CPU milliseconds.
It says there is no charge for durationIt says there is no charge for duration, and that Cloudflare does not bill for subrequests made from your Worker.
Workers is one platformWorkers is one platform, other code hosts meter differently and were not reviewed.
Workers, requests and CPU time FREE 100,000 requests/day10 ms CPU per invocation STANDARD (PAID) $5/month minimum; 10M requests and 30M CPU ms included OVERAGE ON STANDARD $0.30 per extra million requests; $0.02 per extra million CPU ms NOT BILLED duration; subrequests; static asset requests per the edge-function service pricing The limits page says CPU time measures time executing your code and that waiting on network requests such as fetch calls, KV reads or database queries does not count.
On the paid planOn the paid plan, On the paid plan the default CPU limit is 30 seconds and can be raised to 5 minutes; past the limit, Cloudflare returns Error 1102.

Code: the edge-function service as one example

Running your own code has a meter too. Cloudflare's Workers pricing page lists a Free plan with 100,000 requests per day and 10 milliseconds of CPU time per invocation, and a Standard paid model with a $5 monthly minimum that includes 10 million requests and 30 million CPU milliseconds, then $0.30 per additional million requests and $0.02 per additional million CPU milliseconds. It says there is no charge for duration, and that Cloudflare does not bill for subrequests made from your Worker. Workers is one platform; other code hosts meter differently and were not reviewed.

Workers: requests and CPU timeFREE100,000 requests/day;10 ms CPU per invocationSTANDARD (PAID)$5/month minimum; 10M requestsand 30M CPU ms includedOVERAGE ON STANDARD$0.30 per extra million requests;$0.02 per extra million CPU msNOT BILLEDduration; subrequests; static asset requestsper the edge-function service pricing

The limits page says CPU time measures time executing your code and that waiting on network requests such as fetch calls, KV reads or database queries does not count. On the paid plan the default CPU limit is 30 seconds and can be raised to 5 minutes; past the limit, Cloudflare returns Error 1102.

Workers: waiting is not CPU timeCOUNTEDtime the CPU spendsexecuting your codeNOT COUNTEDwaiting on fetch, KV readsor database queriesLIMITpaid: default 30 s, up to 5 min;free: 10 msOVER THE LIMITError 1102: Worker exceededresource limitsper the edge-function service limits

The pricing page works two examples: 15 million requests a month at 7 ms of CPU each comes to $8.00 including the subscription, and a Worker that runs once an hour for 720 requests a month using 3 minutes of CPU each comes to $6.99. Those are Cloudflare's figures for those inputs, not a forecast for your job.

Workers: two worked examples, per the page15M REQUESTS, 7 MS$5.00 + $1.50 requests +$1.50 CPU = $8.00HOURLY JOB, 3 MIN CPU720 requests: $5.00 + $0 +$1.99 CPU = $6.99figures are Cloudflare's own examples, not our estimate
05

Our worked comparison (synthesis, not a vendor claim)

Take a example job: ten items arrive, and each is processed by three successful action steps.

Take a example job, ten items arriveTake a example job, ten items arrive, And each is processed by three successful action steps.
In the visual scenario toolIn the visual scenario tool, In the visual scenario tool it is 1 trigger operation plus 3 modules times 10 bundles, which is 31 operations and, for non-AI apps, 31 credits.
For a Worker the vendors' documentationFor a Worker the vendors' documentation, For a Worker the vendors' documentation give a price per request and per CPU millisecond, but the CPU time depends on your code, so we give no number.
The point is the shapeThe point is the shape, the trigger-action tool does not count the trigger, the visual scenario tool does, and code bills what your code actually uses. our worked comparison (synthesis, not a vendor claim) TRIGGER-ACTION TOOL (OURS) 10 items x 3 successful actions = 30 tasks VISUAL SCENARIO TOOL (OURS) 1 trigger + 3 x 10 = 31 ops = 31 credits WORKERS (OURS) billed by requests and CPU ms; depends on your code, so no number NOT CONVERTED task, credit and CPU ms are different units; plan prices not reviewed hypothetical job; assumes each item runs on its own in the trigger-action tool

Our worked comparison (synthesis, not a vendor claim)

Take a example job: ten items arrive, and each is processed by three successful action steps. If each item runs on its own in the trigger-action tool, that is 30 tasks, since triggers are not counted. In the visual scenario tool it is 1 trigger operation plus 3 modules times 10 bundles, which is 31 operations and, for non-AI apps, 31 credits. For a Worker the vendors' documentation give a price per request and per CPU millisecond, but the CPU time depends on your code, so we give no number. We also do not convert tasks or credits to dollars, because the plan prices were not part of this review. The point is the shape: the trigger-action tool does not count the trigger, the visual scenario tool does, and code bills what your code actually uses.

our worked comparison (synthesis, not a vendor claim)TRIGGER-ACTION TOOL (OURS)10 items x 3 successfulactions = 30 tasksVISUAL SCENARIO TOOL (OURS)1 trigger + 3 x 10 =31 ops = 31 creditsWORKERS (OURS)billed by requests and CPU ms;depends on your code, so no numberNOT CONVERTEDtask, credit and CPU ms are differentunits; plan prices not reviewedhypothetical job; assumes each item runs on its own in the trigger-action tool
06

Sources

Behavior and prices are scoped to these pages as of November 29 and can change. The worked comparison is our synthesis. The visual scenario tool plan prices and the trigger-action tool plan prices were not reviewed, so nothing here ranks the options on cost.

The trigger-action tool, Help"How is task usage measured in the trigger-action tool?": what counts and what does not, per-product rates, and the dated Next Gen changes.
The visual scenario, tool Help Center, "Operations", operationsBundles, trigger behavior and the 31-operation example.
The visual scenario, tool Help Center, "Credits"Credits replacing operations, fixed versus dynamic usage, and AI feature credits.
Cloudflare Docs, "Workers, pricing" and "Workers limits"Free and Standard allowances and rates, CPU time definition and limits, and the worked cost examples.

Sources

  • The trigger-action tool Help, "How is task usage measured in the trigger-action tool?": what counts and what does not, per-product rates, and the dated Next Gen changes.
  • The visual scenario tool Help Center, "Operations": operations, bundles, trigger behavior and the 31-operation example.
  • The visual scenario tool Help Center, "Credits": credits replacing operations, fixed versus dynamic usage, and AI feature credits.
  • Cloudflare Docs, "Workers pricing" and "Workers limits": Free and Standard allowances and rates, CPU time definition and limits, and the worked cost examples.

Behavior and prices are scoped to these pages as of November 29 and can change. The worked comparison is our synthesis. The visual scenario tool plan prices and the trigger-action tool plan prices were not reviewed, so nothing here ranks the options on cost.

Know what a run costs before you scale it

HiringsAI shows what each hiring workflow run uses, so the meter never surprises you.

Get started
A wooden desk with glasses, a coffee cup, a plant and the edge of a laptop, banner image on the How automation tools count a run page

Keep reading, or try a tool.

Long-form guides on building, automating and AI computing.