/fondo-pack:fondo-webhooks-eventsfrom fondo-pack
Implements event-driven financial workflows using webhooks from Stripe, Gusto, Plaid, and Mercury. Handles revenue tracking, payroll alerts, expense monitoring, and spend tracking.
Ships in fondo-pack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A signing secret in the secret manager, raw-body validation, event ledger, approved destinations, redaction policy, and synthetic fixtures.
Return opaque event ID, signature result, idempotency outcome, destination status, and redacted error category. Keep financial payloads and credentials out of logs.
Reject invalid signatures, quarantine unknown schemas or destinations, bound retries, and pause downstream processing on access or reconciliation failures.
Deliver a fictional signed event twice and confirm only the first is processed; reject an invalid signature without logging its payload or forwarding data.
Fondo itself does not send webhooks. Instead, build event-driven workflows using webhooks from the same providers Fondo connects to: Stripe (revenue), Gusto (payroll), Plaid (bank transactions), and Mercury (banking).
| Provider | Key Events | Use Case |
|---|---|---|
| Stripe | charge.succeeded, invoice.paid | Revenue tracking, MRR alerts |
| Gusto | payroll.processed, employee.created | Payroll cost alerts, headcount |
| Plaid | transactions.sync, item.error | Expense monitoring |
| Mercury | transaction.created | Real-time spend tracking |
import Stripe from 'stripe';
const stripe = new Stripe(process.env.STRIPE_API_KEY!);
app.post('/webhooks/stripe', express.raw({ type: '*/*' }), (req, res) => {
const sig = req.headers['stripe-signature'] as string;
const event = stripe.webhooks.constructEvent(
req.body, sig, process.env.STRIPE_WEBHOOK_SECRET!
);
switch (event.type) {
case 'charge.succeeded':
const amount = (event.data.object as Stripe.Charge).amount / 100;
console.log(`Revenue: $${amount}`);
// Update internal dashboard
break;
case 'invoice.paid':
// MRR tracking
break;
}
res.sendStatus(200);
});
// Gusto sends webhooks when payroll is processed
app.post('/webhooks/gusto', express.json(), async (req, res) => {
const { event_type, data } = req.body;
if (event_type === 'payroll.processed') {
const totalPayroll = data.totals.gross_pay;
console.log(`Payroll processed: $${totalPayroll}`);
// Alert if significantly different from budget
if (totalPayroll > monthlyPayrollBudget * 1.1) {
await sendAlert(`Payroll exceeded budget by ${((totalPayroll / monthlyPayrollBudget - 1) * 100).toFixed(0)}%`);
}
}
res.sendStatus(200);
});
For performance optimization, see fondo-performance-tuning.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub jeremylongshore/tons-of-skills-marketplace --plugin fondo-pack18 skills in this plugin
/fondo-ci-integrationAutomate financial reporting workflows that complement Fondo with CI/CD
pipelines for expense tracking, budget alerts, and financial data validation.
Trigger: "fondo CI", "fondo automation", "fondo financial alerts".
/fondo-common-errorsDiagnose and fix common Fondo issues including integration sync failures,
categorization errors, and R&D credit qualification problems.
Trigger: "fondo error", "fondo sync issue", "fondo not syncing", "fondo problem".
/fondo-core-workflow-aExecute Fondo primary workflow: monthly bookkeeping close and financial reporting.
Use when managing month-end close, reviewing financial statements,
or preparing for board meetings and fundraising.
Trigger: "fondo bookkeeping", "fondo month close", "fondo financial reports".
Other plugins' skills for the same job