Case archive
All 14 cases in order. Every company and incident in these exercises is fictional. The prices and figures illustrate each decision.
Fernbank Print is a two-person studio with one unattended task: a Claude summary of overnight orders, wanted at 06:30 local time. Today it is a scheduled prompt inside a Claude Code session on the owner's laptop. The laptop sleeps at night.
Evidence
- Task time
- 06:30 local time, every day
- Current schedule
- A scheduled prompt inside an open Claude Code session on the laptop
- Laptop sleep window (example setup)
- 22:00 to 08:00, lid closed
- Task inputs
- Files in one Git repository, nothing else on the laptop
Decide
Which setup can run the scheduled summary while the laptop is asleep?
- AKeep the in-session scheduled prompt and leave the terminal open.
- BCreate a cloud scheduled task on Anthropic-managed infrastructure and connect it to the repository.
- CAdd a cron line on the laptop that calls
claude -p at 06:30.
Show the answer and reasoningHide the answer and reasoning
Answer B Create a cloud scheduled task on Anthropic-managed infrastructure and connect it to the repository.
Every choice, explained
-
ANot this one
Keep the in-session scheduled prompt and leave the terminal open.
A scheduled prompt inside a session runs on your machine, and the machine must be awake and online. Leaving the terminal open does not wake a sleeping laptop, so the 06:30 run does not happen.
-
BRight choice
Create a cloud scheduled task on Anthropic-managed infrastructure and connect it to the repository.
The schedule and its execution both live in the cloud. The hosted task can read the connected repository with the access you grant.
-
CNot this one
Add a cron line on the laptop that calls claude -p at 06:30.
Cron is steadier than a prompt in an open terminal, but it still lives on the laptop. A sleeping laptop runs nothing, and cron does not normally replay a run it missed.
Working
06:30 is 8 h 30 min after the laptop goes to sleep and 1 h 30 min before it wakes. Both local options miss that slot. A managed cloud task can start while the laptop is asleep. Check the cloud run record to see when it actually started.
Next check
Confirm the hosted task can access the required repository files, then check the first unattended run before retiring the laptop schedule.
Official source Claude Code cloud scheduled tasks code.claude.com
All cases
Next The schedule is only on a feature branch
Harbor Lane Analytics has one unattended workflow, a daily digest on GitHub Actions. The new schedule was added on a branch called feature/digest, and a manual run from that branch passed. Three days later (illustrative), no scheduled run has appeared.
Evidence
- Triggers in digest.yml on
main (default branch) - workflow_dispatch only
- Triggers in digest.yml on
feature/digest - workflow_dispatch and schedule (
20 4 * * *)
- Runs list
- 1 run: event workflow_dispatch, branch feature/digest, success
- Runs with event schedule
- 0
Decide
What is the right next step?
- ATreat the passed manual run as proof the schedule works, and keep waiting.
- BMove the cron time on
feature/digest closer to now so it fires sooner.
- CMerge the schedule change into
main, then watch for a run with event schedule.
Show the answer and reasoningHide the answer and reasoning
Answer C Merge the schedule change into main, then watch for a run with event schedule.
Every choice, explained
-
ANot this one
Treat the passed manual run as proof the schedule works, and keep waiting.
That run came from the workflow_dispatch trigger, started by a person. It shows the steps work. It says nothing about the schedule, which is not defined on the default branch.
-
BNot this one
Move the cron time on feature/digest closer to now so it fires sooner.
Scheduled workflows run from the latest commit on the default branch. The scheduler does not read the cron line on a feature branch, so changing the time there changes nothing.
-
CRight choice
Merge the schedule change into main, then watch for a run with event schedule.
Right. Once the schedule line is in the latest commit on the default branch, the scheduler can start the workflow. Only a run with event schedule counts as the first scheduled run.
Working
The scheduler reads the workflow file from the latest commit on the default branch, and main has no schedule line. So 0 scheduled runs after three days is expected, not a delay. The one run in the list has event workflow_dispatch, so it cannot count as a first scheduled run.
Next check
After the merge, open the Actions tab, select the workflow, set the Event filter to schedule, and look after the next 04:20 UTC (allow a few minutes). Count only a run listed with that event.
Official source GitHub scheduled events docs.github.com
Previous Where should the 06:30 summary run?
All cases
Next Ten on-time runs: what goes in the runbook?
Lantern Ledger, a small bookkeeping tool, runs one nightly export on a GitHub Actions schedule. The owner is writing a runbook line about start time. In this example sample, the last ten scheduled runs all started close to the planned time.
Evidence
- Schedule
30 2 * * * (02:30 UTC)
- Sample (illustrative numbers)
- 10 scheduled runs
- Start delay in the sample
- 0 to 2 minutes
- Missing runs in the sample
- 0
- Shortest schedule interval GitHub allows
- 5 minutes
Decide
Which runbook line do ten on-time runs support?
- AThe last ten runs started within two minutes of 02:30 UTC. Check the run record each morning for a late or missing job.
- BStarts at 02:30 UTC, guaranteed, because ten of ten were on time.
- CStarts within 5 minutes of 02:30 UTC, because 5 minutes is the shortest schedule interval.
Show the answer and reasoningHide the answer and reasoning
Answer A The last ten runs started within two minutes of 02:30 UTC. Check the run record each morning for a late or missing job.
Every choice, explained
-
ARight choice
The last ten runs started within two minutes of 02:30 UTC. Check the run record each morning for a late or missing job.
Right. This states what you saw and keeps the risk the docs describe: delays at busy times and queued jobs that may be dropped. The morning check covers the gap.
-
BNot this one
Starts at 02:30 UTC, guaranteed, because ten of ten were on time.
Ten observed runs describe this sample. GitHub allows delays under load and may drop queued jobs.
-
CNot this one
Starts within 5 minutes of 02:30 UTC, because 5 minutes is the shortest schedule interval.
The 5-minute figure is the smallest gap you can ask for between runs. It is not a limit on how late a run may start.
Working
All 10 recorded starts were between 02:30 and 02:32 UTC. That observation sets a baseline for monitoring. GitHub documents delays during busy periods and the possibility of dropped jobs. The sample provides no start-time guarantee.
Next check
In the Actions tab, open the workflow, set the Event filter to schedule, and compare the last 14 days with 02:30 UTC. Write down any date with no run, or with a start more than 15 minutes late.
Official source GitHub scheduled events docs.github.com
Previous The schedule is only on a feature branch
All cases
Next A 00:15 IST job in a UTC cron
Kite & Kettle, a small tea shop, has one workflow that writes a daily sales file at 00:15 India time. It runs on a GitHub Actions schedule with no time zone set, so the cron is read as UTC. India Standard Time (IST) is UTC+05:30 all year.
Evidence
- Wanted start
- 00:15 IST on 5 March (illustrative date)
- IST offset
- UTC+05:30, no daylight change
- Runner clock and cron base
- UTC
- Cron under review
45 18 * * *
Decide
For the run that should start at 00:15 IST on 5 March, which pairing is right?
- ACron
15 0 * * *; the run log shows 5 March.
- BCron
45 18 * * *; the run log shows 18:45 on 4 March in UTC, which is 00:15 on 5 March in IST.
- CCron
45 18 * * *; the run log shows 5 March in UTC.
Show the answer and reasoningHide the answer and reasoning
Answer B Cron 45 18 * * *; the run log shows 18:45 on 4 March in UTC, which is 00:15 on 5 March in IST.
Every choice, explained
-
ANot this one
Cron 15 0 * * *; the run log shows 5 March.
00:15 UTC on 5 March is 05:45 IST on 5 March. That is five and a half hours after the wanted time, not midnight.
-
BRight choice
Cron 45 18 * * *; the run log shows 18:45 on 4 March in UTC, which is 00:15 on 5 March in IST.
Right. The cron is correct, and the UTC date on the run is the previous day. Both labels describe the same moment.
-
CNot this one
Cron 45 18 * * *; the run log shows 5 March in UTC.
The cron is right but the date is wrong. The UTC date does not reach 5 March until 00:00 UTC, which is 05:30 IST. At 18:45 UTC it is still 4 March.
Working
UTC = IST minus 5 h 30 min. 00:15 minus 5:30 is minus 5:15, which wraps to 18:45 on the previous day. So the run starts at 18:45 UTC on 4 March, and the same moment is 00:15 IST on 5 March.
Next check
Add a log step that prints both clocks: date -u '+%F %T UTC'; TZ=Asia/Kolkata date '+%F %T IST'. Name the output file from the IST date (TZ=Asia/Kolkata date +%F), and read both lines in the first run the schedule starts on its own.
Official source GitHub scheduled events docs.github.com
Previous Ten on-time runs: what goes in the runbook?
All cases
Next 09:00 London is not always 09:00 UTC
Quayside Prints has one n8n workflow that downloads a partner's price file every day. The partner's file is ready by 08:30 UTC all year. The workflow's time zone is Europe/London and its schedule says 09:00.
Evidence
- Schedule rule
- Daily at 09:00
- Workflow time zone
- Europe/London
- Offset on 15 January (illustrative date)
- UTC+0
- Offset on 15 July (illustrative date)
- UTC+1
- Partner file ready
- 08:30 UTC, every day
Decide
Which setting starts the download after 08:30 UTC on both example dates?
- AKeep Europe/London and 09:00, because 09:00 is always later than 08:30.
- BKeep Europe/London and move the rule to 08:45.
- CSet the workflow time zone to UTC and keep 09:00.
Show the answer and reasoningHide the answer and reasoning
Answer C Set the workflow time zone to UTC and keep 09:00.
Every choice, explained
-
ANot this one
Keep Europe/London and 09:00, because 09:00 is always later than 08:30.
That compares two different clocks. On 15 July, 09:00 London time is 08:00 UTC, which is 30 minutes before the file is ready.
-
BNot this one
Keep Europe/London and move the rule to 08:45.
This is worse in summer. On 15 July, 08:45 London time is 07:45 UTC. It only passes in January, when 08:45 UTC is after 08:30.
-
CRight choice
Set the workflow time zone to UTC and keep 09:00.
Right. With the zone set to UTC, 09:00 means 09:00 UTC on both dates, which is after 08:30 UTC.
Working
UTC = local time minus the offset. On 15 January, 09:00 minus 0 h is 09:00 UTC. On 15 July, 09:00 minus 1 h is 08:00 UTC, which is 30 minutes before the file is ready. Setting the zone to UTC gives 09:00 UTC on both dates.
Next check
Open the workflow's settings, set the time zone to UTC, save and publish again. Then check that the first run the schedule starts on its own began at about 09:00 UTC.
Official source n8n Schedule Trigger docs.n8n.io
Previous A 00:15 IST job in a UTC cron
All cases
Next The service is enabled, the PC is off
Pinewood Notes runs one n8n workflow on a home desktop under a systemd unit. The unit is enabled, so n8n starts after every boot. The workflow is scheduled for 03:00, and the desktop is shut down each night.
Evidence
systemctl is-enabled n8n prints- enabled
- Unit restart setting
- Restart=on-failure
- Schedule
- Daily at 03:00
- Desktop power (example setup)
- Off from 23:00 to 07:00
Decide
Does the enabled service run the 03:00 workflow while the desktop is off?
- ANo. The desktop is powered off at 03:00. An enabled service can start when the computer boots.
- BYes. The service manager wakes the machine and starts n8n before 03:00.
- CNot at 03:00, but n8n will run the missed job as soon as the desktop boots at 07:00.
Show the answer and reasoningHide the answer and reasoning
Answer A No. The desktop is powered off at 03:00. An enabled service can start when the computer boots.
Every choice, explained
-
ARight choice
No. The desktop is powered off at 03:00. An enabled service can start when the computer boots.
Right. 'Enabled' controls what starts after a boot, and Restart=on-failure restarts a process that failed. Neither can run code on a machine that is switched off.
-
BNot this one
Yes. The service manager wakes the machine and starts n8n before 03:00.
A service manager runs on the machine. It cannot power on hardware that is off, so no n8n process exists at 03:00.
-
CNot this one
Not at 03:00, but n8n will run the missed job as soon as the desktop boots at 07:00.
The evidence shows a 03:00 trigger, a 07:00 boot and a restart rule for failed processes. It shows no catch-up trigger. Check the execution log after boot before counting the workflow as complete.
Working
03:00 is 4 hours after 23:00 and 4 hours before 07:00, so it is the midpoint of the 8-hour off window. At that moment there is no n8n and no service manager running. If the desktop is off every night, all 7 of the week's 03:00 slots are missed.
Next check
On the desktop, run last -x shutdown reboot | head and read the shutdown and boot times for the last few nights. If 03:00 falls inside an off period, move the schedule to an hour the desktop is on, or to a host that stays on.
Official source systemd service enablement www.freedesktop.org
Previous 09:00 London is not always 09:00 UTC
All cases
Next Three green runs, no schedule yet
Marlow Field Notes has one n8n workflow with a Schedule Trigger set for 07:00 each day. The owner clicked Execute workflow three times and every node turned green. The workflow is saved but has not been published.
Evidence
- Schedule rule
- Daily at 07:00
- Manual executions (clicked by the owner)
- 3, all successful
- Workflow state
- Saved, not published
- Executions started by the schedule
- 0
Decide
What do the three green runs show?
- AThat the 07:00 schedule works, because the Schedule Trigger node ran.
- BThat the nodes and credentials worked when started by hand. The schedule is untested until the workflow is published.
- CNothing. A manual run says nothing about the nodes or the credentials.
Show the answer and reasoningHide the answer and reasoning
Answer B That the nodes and credentials worked when started by hand. The schedule is untested until the workflow is published.
Every choice, explained
-
ANot this one
That the 07:00 schedule works, because the Schedule Trigger node ran.
Clicking Execute starts the workflow right away. It does not wait for 07:00, and a workflow that is not published does not run on its schedule.
-
BRight choice
That the nodes and credentials worked when started by hand. The schedule is untested until the workflow is published.
Right. A manual run shows the steps and data path worked at that time. It cannot show a timed start, and it is not the first scheduled run.
-
CNot this one
Nothing. A manual run says nothing about the nodes or the credentials.
Too strong. A green manual run does show that these nodes and this credential worked. What it cannot show is that the schedule fires.
Working
The evidence is 3 hand-started runs and 0 schedule-started runs. The n8n guide says to save and publish the workflow so the trigger runs automatically, and this one is not published. The first real schedule test is the first execution nobody clicked.
Next check
Publish the workflow and keep n8n running. After the next 07:00, open the Executions list and find a run you did not start. Treat that entry, not your manual ones, as the first scheduled run.
Official source n8n Schedule Trigger docs.n8n.io
Previous The service is enabled, the PC is off
All cases
Next Find which bill a terminal session used
Kesar Loop, a three-person web studio in Jaipur (invented), pays for a Claude plan. Its lead developer signed in to Claude Code with that plan. The Anthropic Console now shows a week of API usage, and the owner wants to know what it is before paying.
Evidence
- Claude Code login
- Signed in with the studio's paid Claude plan
- Developer's terminal
- ANTHROPIC_API_KEY is set, and the developer approved the key when Claude Code asked
- Console usage on key "studio-dev", one week (illustrative dates)
- 2,000,000 input tokens and 200,000 output tokens
- Assumed API price (fictional, for arithmetic only)
- $3 per million input tokens, $15 per million output tokens
Decide
What is the metered value of this API key’s usage before any credit or tax?
- A$9.00 of metered Console usage, calculated separately from the plan price.
- BThe plan fee should cover it, so the $9.00 is a billing error to dispute.
- CThe plan and the API share one pool, so this $9.00 also used up part of the plan allowance.
Show the answer and reasoningHide the answer and reasoning
Answer A $9.00 of metered Console usage, calculated separately from the plan price.
Every choice, explained
-
ARight choice
$9.00 of metered Console usage, calculated separately from the plan price.
Correct. When an approved API key is set, Claude Code bills the Console account, not the plan. At the fictional prices that is $6.00 for input plus $3.00 for output.
-
BNot this one
The plan fee should cover it, so the $9.00 is a billing error to dispute.
A fair first thought, since the developer did sign in with the plan. But an approved API key in the environment moves billing to the Console account. This is real API usage, not a plan charge gone wrong.
-
CNot this one
The plan and the API share one pool, so this $9.00 also used up part of the plan allowance.
This receipt identifies API-key usage in the Console. Any separately granted API credits belong on the Console invoice and do not change the token calculation.
Working
Input costs 2,000,000 × $3 ÷ 1,000,000 = $6.00. Output costs 200,000 × $15 ÷ 1,000,000 = $3.00. The two sum to $9.00 before credits or taxes at the exercise’s fictional prices.
Next check
Open the Console usage breakdown for the key and matching week. Compare the recorded usage with the invoice and its credits. Check the authentication method before the next plan session.
Official source Claude Code authentication docs code.claude.com
Previous Three green runs, no schedule yet
All cases
Next Price a batch where replies are long
Neem Copy, a small content agency in Kochi (invented), will summarise 50 product pages for a client. A test run used about 2,000 input tokens and returned about 800 output tokens. The team wants a batch estimate before it sends a quote.
Evidence
- Pages in the batch
- 50
- Tokens per run, from the test
- 2,000 input, 800 output
- Assumed API price (fictional, for arithmetic only)
- $3 per million input tokens, $15 per million output tokens
Decide
What is the model cost for the 50-page batch at these fictional prices?
- A$0.42: all 2,800 tokens per run at the input price.
- B$2.10: all 2,800 tokens per run at the output price.
- C$0.90: input tokens at the input price, plus output tokens at the output price.
Show the answer and reasoningHide the answer and reasoning
Answer C $0.90: input tokens at the input price, plus output tokens at the output price.
Every choice, explained
-
ANot this one
$0.42: all 2,800 tokens per run at the input price.
This treats every token as input. Here, output tokens have their own, higher price, so this estimate is $0.48 too low.
-
BNot this one
$2.10: all 2,800 tokens per run at the output price.
A cautious estimate, but it charges the 2,000 input tokens at the output rate. That makes the batch look $1.20 more expensive than it is.
-
CRight choice
$0.90: input tokens at the input price, plus output tokens at the output price.
Correct. Each side is priced on its own: $0.006 for input plus $0.012 for output per run, times 50 runs.
Working
Per run: 2,000 × $3 ÷ 1,000,000 = $0.006, plus 800 × $15 ÷ 1,000,000 = $0.012, which totals $0.018. Times 50 runs, that is $0.90. Output is about 29% of the tokens but two-thirds of the cost.
Next check
After the first real run, read the input and output token counts in that response's usage data. Then redo the sum with your model's listed prices.
Official source Anthropic API pricing platform.claude.com
Previous Find which bill a terminal session used
All cases
Next Count tokens once when a job retried
Tara Leads, a two-person lead-generation agency in Indore (invented), keeps its own usage tracker. A nightly enrichment job hit an error and retried once. The tracker now shows three rows for that one job.
Evidence
- Row 1, request req_A1 (illustrative ID)
- Error partway through the reply; recorded usage 3,000 input, 400 output
- Row 2, request req_A2 (illustrative ID)
- Success; recorded usage 3,000 input, 900 output
- Row 3, final-result log
- Copy of req_A2; 3,000 input, 900 output
- Assumed API price (fictional, for arithmetic only)
- $3 per million input tokens, $15 per million output tokens
Decide
Which token total should the tracker record for this job?
- A9,000 input and 2,200 output: add up every row.
- B6,000 input and 1,300 output: count each request ID once.
- C3,000 input and 900 output: count only the successful answer.
Show the answer and reasoningHide the answer and reasoning
Answer B 6,000 input and 1,300 output: count each request ID once.
Every choice, explained
-
ANot this one
9,000 input and 2,200 output: add up every row.
Thorough, but row 3 repeats req_A2, so that request gets counted twice. That adds $0.0225 that was never spent.
-
BRight choice
6,000 input and 1,300 output: count each request ID once.
Correct. Two separate requests processed tokens, so each one counts once. At the fictional prices that is $0.0375.
-
CNot this one
3,000 input and 900 output: count only the successful answer.
That would be right if the failed attempt processed nothing. But req_A1 recorded 3,000 input and 400 output. Leaving it out undercounts by $0.015.
Working
Two distinct request IDs contain 6,000 input and 1,300 output tokens. Their metered value at the fictional prices is $0.018 + $0.0195 = $0.0375. When a failed call has incomplete usage records, check the provider’s usage dashboard before treating it as zero.
Next check
Group the tracker by request ID, selecting the final usage record for each attempt. Check incomplete records against the provider’s usage dashboard.
Official source Anthropic request IDs platform.claude.com
Previous Price a batch where replies are long
All cases
Next Read a green status page during a key error
Rangoli Desk, a four-person social media agency in Guwahati (invented), runs two n8n workflows on Claude. One morning the daily brief failed while the proposal workflow worked. Someone opened the public Claude Status page and saw green.
Evidence
- Workflow "Daily brief", credential "ops-key" (illustrative time 10:02 IST)
- Failed: HTTP 401, authentication error
- Workflow "Proposal drafts", credential "design-key" (same morning)
- Succeeded
- Claude Status snapshot (illustrative, 10:05 IST)
- API shown as operational; no open incident
Decide
What can the team correctly conclude from the status snapshot?
- AAnthropic has a problem it has not posted yet, so wait for an incident notice before changing anything.
- BGreen status proves the API is fine for everyone, so the 401 must be an n8n network fault.
- CThe snapshot only shows service-wide health. It cannot confirm or rule out a problem with one key, so investigate ops-key itself.
Show the answer and reasoningHide the answer and reasoning
Answer C The snapshot only shows service-wide health. It cannot confirm or rule out a problem with one key, so investigate ops-key itself.
Every choice, explained
-
ANot this one
Anthropic has a problem it has not posted yet, so wait for an incident notice before changing anything.
Patience is often wise during outages. But the other key worked the same morning. A public status page reports service-wide health and is not expected to post about one team's key.
-
BNot this one
Green status proves the API is fine for everyone, so the 401 must be an n8n network fault.
A 401 is an authentication answer from the server the request reached. It does not show a broken connection. A service-wide page also cannot vouch for any one key, good or bad.
-
CRight choice
The snapshot only shows service-wide health. It cannot confirm or rule out a problem with one key, so investigate ops-key itself.
Correct. Status pages summarise components for all users. The useful signal here is the contrast between the two credentials.
Working
The status page reports component health across all users, not the state of one team's credential. On the same service and the same morning, ops-key got a 401 while design-key succeeded. That contrast points at ops-key, and the snapshot neither proves nor rules that out.
Next check
Create a new API key in the Anthropic Console, paste it into the ops-key credential in n8n, and run "Daily brief" once by hand.
Official source Claude API authentication errors platform.claude.com
Previous Count tokens once when a job retried
All cases
Next Reconcile a dollar charge against a rupee card statement
Patang Studio, a small app agency in Ahmedabad (invented), bills its API cost to a client at actuals. The team priced October's usage with a free exchange-rate feed. The card statement later showed a higher rupee amount.
Evidence
- API charge for October (illustrative)
- $45.00
- Free rate feed quote (illustrative)
- 1 USD = 84.00 INR, last updated 2026-10-31 00:02 UTC (illustrative)
- Card statement line (illustrative)
- Posted 2026-11-03 (illustrative): ₹3,915.00 for the $45.00 charge
Decide
How many rupees did the studio’s card actually pay for the $45 charge?
- A₹3,915.00, the amount on the card statement.
- B₹3,780.00, the feed rate times $45, because a published rate is neutral.
- C₹3,847.50, halfway between the two figures.
Show the answer and reasoningHide the answer and reasoning
Answer A ₹3,915.00, the amount on the card statement.
Every choice, explained
-
ARight choice
₹3,915.00, the amount on the card statement.
The card statement records a ₹3,915 debit for this charge. It does not itemise the reason for the difference from the reference feed.
-
BNot this one
₹3,780.00, the feed rate times $45, because a published rate is neutral.
A published reference rate is a sensible estimate. But it has its own update time and is not the rate your bank used. It misses ₹135.00 that actually left the account.
-
CNot this one
₹3,847.50, halfway between the two figures.
₹3,847.50 is the average of the estimate and the debit. No transaction records that amount.
Working
45 × 84.00 = ₹3,780.00. The actual ₹3,915 debit implies 87.00 INR per USD (3,915 ÷ 45), a difference of ₹135. The two records establish that difference. A bank rate or fee breakdown would be needed to explain it.
Next check
Record ₹3,915.00 with the statement's posting date against this charge. Keep ₹3,780.00 only as the estimate, next to the feed's update timestamp.
Official source ExchangeRate-API Open Access docs www.exchangerate-api.com
Previous Read a green status page during a key error
All cases
Next Handle a day with no new enquiries
Mitti Studio, a small interior design agency in Lucknow (invented), uses a scheduled n8n workflow. Each morning it fetches new website enquiries and asks Claude to summarise them for the owner. On a public holiday the export came back empty.
Evidence
- Schedule
- Daily at 09:00 IST via n8n Schedule Trigger (illustrative time)
- Today's export (illustrative holiday date)
- {"rows": []}, which means 0 enquiries
- Fixed instruction sent on every model call
- About 600 input tokens
- Assumed reply length
- About 150 output tokens
- Assumed API price (fictional, for arithmetic only)
- $3 per million input tokens, $15 per million output tokens
- Zero-row days per month (illustrative)
- 8
Decide
What should the workflow do when the export has zero rows?
- ACall the model anyway so the owner still gets a daily summary.
- BSkip the model call and log a line saying the run happened and found 0 rows.
- CMake the run fail so someone looks into it.
Show the answer and reasoningHide the answer and reasoning
Answer B Skip the model call and log a line saying the run happened and found 0 rows.
Every choice, explained
-
ANot this one
Call the model anyway so the owner still gets a daily summary.
A steady daily message is a reasonable goal. But the model has nothing to summarise and still processes the instruction, about $0.00405 a call at the fictional prices. Its reply could also read like real news.
-
BRight choice
Skip the model call and log a line saying the run happened and found 0 rows.
Correct. Zero is a valid result on a quiet day. The log line costs no tokens and shows the workflow ran.
-
CNot this one
Make the run fail so someone looks into it.
Caution is good, but a holiday with no enquiries is not a fault. Failing on every quiet day trains people to ignore alerts. It also blurs "no enquiries" with "the export broke".
Working
An empty call still sends the fixed instruction: 600 × $3 ÷ 1,000,000 = $0.0018, plus 150 × $15 ÷ 1,000,000 = $0.00225, which totals $0.00405. Over 8 such days that is about $0.032 a month at fictional prices: small, but it buys nothing. A logged "0 rows" line also proves the run happened, which a silent skip would not.
Next check
Add an IF node before the model node that sends 0-row days to a step logging the date and "0 rows". Then run it once by hand with an empty test export.
Official source Anthropic API pricing platform.claude.com
Previous Reconcile a dollar charge against a rupee card statement
All cases
Next Show a scheduled job ran when data did not change
Ghar Jobs, a three-person recruitment agency in Bhopal (invented), refreshes a public listings file with a scheduled GitHub Actions workflow. This morning the file still shows yesterday's commit. The owner asks whether the job ran at all.
Evidence
- Workflow schedule
- cron "30 2 * * *", which is 02:30 UTC daily
- Listings file, last commit (illustrative)
- 2026-11-09 (illustrative), the previous day
- Actions run today (illustrative date 2026-11-10)
- Event: schedule; started 02:47 UTC; conclusion: success
- Fetch step log
- fetched 212 listings
- Commit step log
- nothing to commit, working tree clean
Decide
Which evidence confirms that today's job actually ran?
- AThe listings file's unchanged commit date, which shows the run did not happen.
- BThe cron line in the workflow file, which sets the run for 02:30 UTC.
- CToday's Actions run record: event schedule, started 02:47 UTC, with step logs showing 212 listings fetched and nothing to commit.
Show the answer and reasoningHide the answer and reasoning
Answer C Today's Actions run record: event schedule, started 02:47 UTC, with step logs showing 212 listings fetched and nothing to commit.
Every choice, explained
-
ANot this one
The listings file's unchanged commit date, which shows the run did not happen.
A natural reading, but an unchanged file fits two stories: no run, or a run that found nothing new. The commit step log shows the second story.
-
BNot this one
The cron line in the workflow file, which sets the run for 02:30 UTC.
The cron line shows what was requested, not what happened. GitHub notes that scheduled runs can start late, and some queued runs can be dropped under heavy load.
-
CRight choice
Today's Actions run record: event schedule, started 02:47 UTC, with step logs showing 212 listings fetched and nothing to commit.
Correct. The run itself produced this record. It shows the job started, fetched data and found no change to commit.
Working
The run started 17 minutes after the 02:30 UTC cron time (02:47 − 02:30), which fits GitHub's note that scheduled runs can be delayed. The fetch step got 212 listings and the commit step found no difference. So the job did run, and the data was unchanged.
Next check
Open yesterday's scheduled run and compare its fetched-listings count with today's 212. If they match, check whether the upstream source published anything new.
Official source GitHub workflow run history docs.github.com
Previous Handle a day with no new enquiries
All cases