Daily
Get yesterday's settled Braintree volume each morning
A morning email lists the transactions that settled the previous day and their total.
- Runs
- Daily
- Apps
- Braintree
- AI
- Not needed
- Access
- API key
Send this to your assistant
Create a ClickRuntime automation: every morning at 7am, email me the Braintree transactions that settled yesterday with the count and the total amount.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
A finance lead or owner running a Braintree account wants to know how much money actually settled yesterday, not just how much was authorized. Those numbers differ because of voids, declined settlements and timing, and the Braintree control panel makes comparing them a manual job: filter by status, set the date range, export, add up. When a bookkeeper asks why the bank deposit does not match, the evidence takes an hour to rebuild.
Each day, ClickRuntime runs a Braintree GraphQL transaction search filtered by settled status and the previous day's date, adds up the amounts and emails the total along with the transaction count. It runs on the schedule you set, so the same query is run the same way every day.
Finance teams reconciling processor activity against bank deposits will use it most.
What you get out of it
Reconciliation starts with a known number
When the bank deposit arrives, you can compare it with the settled figure from the email. A mismatch is noticed the same day, while the details are still easy to investigate.
A consistent daily record
Each email is a dated total produced the same way. Month-end close becomes a matter of reviewing 30 messages instead of rebuilding each day's search. Auditors appreciate a clean trail of identical, dated summaries.
Settled money separated from pending
Filtering on settled status keeps authorizations that never completed out of the total. You see what actually became cash, which is what budgeting and payroll depend on. Cash planning depends on what settled, which is a smaller figure than what was merely approved.
Early signs of volume changes
A settled total far above or below the usual day shows quickly. It might mean a sale went well, a payment method broke or a batch failed to settle. Spotting it at the start of the day lets you investigate before the week's numbers drift further.
Less manual export work
Nobody has to filter and sum in the Braintree control panel every morning. That hour goes back to the work that needs a person, such as chasing real discrepancies. A person only gets involved when the numbers disagree.
How it works
What happens, step by step
Every morning, ClickRuntime finds the Braintree transactions that settled yesterday.
It counts them and adds up the amount.
You get a one-line email with yesterday's settled transaction count and total.
Before it runs live
- Connect Braintree
What you get
Build your own
Need it to work differently?
Your own rules
Conditions, thresholds, filters and exceptions, written the way you'd explain them to a colleague.
Any number of apps
One automation can read from one app and update several others. Over 248 apps are ready, and anything with an API works too.
AI where it helps
Summaries, classification, extraction and drafts use ClickRuntime's built-in AI, with no extra key.
On a schedule or on each event
Runs as often as every 5 minutes, or the moment an app sends an event, and keeps track of what it already handled.
Changes you can ask for
- Run it at a different time, more or less often, or only on weekdays
- Add an AI step, for example to summarize, sort or draft a reply
- Add another app, for example also send it to Slack
- Combine it with other Braintree steps into one automation
Under the hood
The code that runs this automation
from datetime import datetime, time, timedelta
import braintree
from clickruntime import on_trigger, credentials, notify
@on_trigger
def run(event):
gateway = braintree.BraintreeGateway(braintree.Configuration(
braintree.Environment.Production, merchant_id=credentials.secret("BRAINTREE_MERCHANT_ID"),
public_key=credentials.secret("BRAINTREE_PUBLIC_KEY"), private_key=credentials.secret("BRAINTREE_PRIVATE_KEY")))
day = datetime.now().date() - timedelta(days=1)
results = gateway.transaction.search(
braintree.TransactionSearch.settled_at.between(datetime.combine(day, time.min), datetime.combine(day, time.max)))
txns = list(results.items)
total = sum(t.amount for t in txns)
notify.email_me(f"Braintree settled {day}: {len(txns)} transactions, {total:,.2f}",
f"Transactions settled: {len(txns)}\nTotal: {total:,.2f}")
return {"count": len(txns), "total": float(total)}FAQ
Common questions
What counts as a settled transaction?
Will the total include refunds?
Can it handle several currencies or merchant accounts?
What permissions does it need?
Does it need AI?
How many runs does it use?
Can I change how it works?
Related
You might also like
Get emailed when a Braintree dispute opens
Each new chargeback triggers an email with the amount, reason and reply-by date.
See how it worksHear in Slack when a Braintree payout fails
A failed disbursement is posted to Slack with Braintree's exception message and the follow-up it asks for.
See how it worksPost failed Braintree renewals to Slack
When a subscription renewal charge fails, Slack shows the subscription ID, plan and amount.
See how it worksKeep exploring
Set up “Get yesterday's settled Braintree volume each morning” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.