Skip to content

Daily checkout payment health check

Each morning an agent compares yesterday's payment success, card approval and fraud block rates with what is normal for the store. It flags anything off as amber or red in a short report.

Ecommerce and resaleWorks with Claude Code · n8n+1Community example

What it does

  • Pulls yesterday's payment attempts and outcomes
  • Compares each rate with its normal range
  • Marks each drift as amber or red with the order counts
  • Saves the report chart and a short summary

Your approval boundaries

Read only

Reads connected data. It does not send messages or change records.

You decide what happens next.

More about this workflow

This setup is for online sellers and resale shops juggling listings, orders and buyers. It takes a repeat chore off your plate and hands back something you can check quickly.

First, it pulls yesterday's payment attempts and outcomes. Next, it compares each rate with its normal range. Then it marks each drift as amber or red with the order counts. Finally, it saves the report chart and a short summary. It works with your payments, store admin and analytics, each on its own login with limited access.

You get the finished work, ready to read. It only reads, so nothing is sent, changed or paid for. You decide what to do with it.

“Flags in this report (all amber, none red)”
yaelk-maker yaelk-maker on GitHub · Nov 20, 2026
Before you startPayments · Store admin accessRead-only permissionsClaude Code or n8n
Explore required tools and model recommendations

Tools and access

  • Stripe

    Handles the payments part of this job. Grant a restricted read-only key.

    API required: Yes. Needs an API key. Stripe offers restricted keys that limit what a key can do.

  • Shopify

    Handles the store admin part of this job. Grant read orders and products.

    API required: Yes. Needs a Shopify app with an access token and the admin scopes you approve.

  • Google Analytics

    Handles the analytics part of this job. Grant Viewer role.

    API required: Yes. Needs a Google Cloud project with the Analytics Data API and an OAuth app or service account.

Official links only. Not sponsored, no affiliate links.

Model recommendations

Best pick

Gemini 3.8 Flash

Built for agent workflows, with a free tier to test on.

$0.75 per million input tokens and $3.75 per million output tokens through December 31, 2026. $1.50 and $7.50 from January 1, 2027.

Google docs as of October 11, 2026

Cheaper backup

Gemini 3.5 Flash-Lite

Low cost for many listings at once.

$0.30 per million input tokens, $2.50 per million output tokens.

Google docs as of October 11, 2026

Our own picks. Not sponsored, no affiliate links.

Build your prompt

Add your details, then copy the prompt into your tool.

1Your details

Fill these in and the prompt updates as you type.

e.g. paid, card approval, fraud blocks

2Your prompt

4 of 4 still empty
Fill these in before you run it: [STORE] [RATES TO WATCH: e.g. paid, card approval, fraud blocks] [NORMAL RANGES] [REPORT CHANNEL] You are the Daily checkout payment health check agent. Each morning an agent compares yesterday's payment success, card approval and fraud block rates with what is normal for the store. It flags anything off as amber or red in a short report. Use only the details filled in above. If any [BRACKETED] item is still blank or unclear, stop and ask for it first. Do not guess. What you do on your own: - Pulls yesterday's payment attempts and outcomes - Compares each rate with its normal range - Marks each drift as amber or red with the order counts - Saves the report chart and a short summary What you must never do without a yes from a person: - Anything that writes, sends, or spends. This job only reads. Rules: - Before any step on the list above, stop and ask. Say in plain words what you want to do, who it affects, and whether it can be undone. - If something cannot be undone, say so first, in one short line. - Write drafts, not final actions. A person sends, pays, posts, or deletes. - Keep a short log of every action you took and every source you read. - If you are unsure, ask instead of guessing.
View run instructionsPaste into: Claude Code, n8n, Make

Your answers stay in this browser only.

Run your workflow

Connect your tools with only the access this setup needs, then follow these steps.

Steps

Do these in order. Test on old data before it touches live work.

  1. 1Connect Stripe with its own login, not yours. Grant a restricted read-only key.
  2. 2Connect Shopify with its own login, not yours. Grant read orders and products.
  3. 3Connect Google Analytics with its own login, not yours. Grant Viewer role.
  4. 4Paste the prompt where your harness takes instructions. See the note under the Copy button.
  5. 5Do a dry run on old or test data first. Check every draft and every stop point by hand before you let it near live work.
  6. 6Read its log after the first real run. Only widen access once a week of runs looks clean.

Safeguards and trust score

The score describes this example setup’s access, approval boundaries, ability to undo changes, and scope.

Access30 / 30

Read only. It never writes, sends or spends.

Human approval30 / 30

Nothing to approve, it only reads.

Undo and logs20 / 20

No changes to undo. Reads can be logged.

Scope16 / 20

Runs on its own login across 3 tools. Fewer connections means a smaller blast radius.

How to raise it

Nothing major to fix. One polish tip: show a short daily log of what it read, so you can spot it reaching for anything new.

Reviewed by Trustcase (example setup). How scoring works

Embed badge

Show this trust score on your site or README. It links back here.

Trustcase trust score badge
Markdown
[![Trustcase trust score for Daily checkout payment health check](https://trustcase.dev/badge/daily-checkout-payment-health-check.svg)](https://trustcase.dev/use-cases/daily-checkout-payment-health-check)
HTML
<a href="https://trustcase.dev/use-cases/daily-checkout-payment-health-check"><img src="https://trustcase.dev/badge/daily-checkout-payment-health-check.svg" alt="Trustcase trust score for Daily checkout payment health check" height="20"></a>

See all 46 ecommerce and resale workflows

Other workflows that use the same tools

  • Refund checker

    Support. Checks refund requests against your policy and lays out the facts.

  • Daily cancellation review

    Support. Each morning it looks at every customer who canceled in the last day and works out why. It checks payments, usage and what they did right before canceling.

  • Weekly ops report

    Operations. Writes the Monday numbers summary so you do not build it by hand.