You are helping me build the following AI agent workflow. ## Goal Stripe to QuickBooks Sales Receipt Sync: When a Stripe payment succeeds, the workflow checks for or creates the customer in QuickBooks and automatically logs a Sales Receipt. ## Specification - What it does: You get automatic sales receipts in QuickBooks every time a Stripe payment succeeds, ensuring your customer records are up to date without any manual entry. The system checks for existing customers or creates new ones instantly so your accounting stays accurate immediately after each transaction. - Trigger: Triggered by an event (Event ยท on Stripe payment success) - Autonomy: Fully hands-off - Expected setup effort: about an afternoon - Tools/services involved: - Stripe: Payment trigger and data source - QuickBooks Online: Customer lookup and sales receipt creation - Code: Logic for customer matching and conditional flow ## Known pitfalls, handle each one explicitly in your implementation 1. Stripe amounts are in minor units like cents so you must divide by 100 before sending values to QuickBooks which expects decimal format. 2. QuickBooks requires a unique CustomerId for receipts so the code must reliably create or find this ID before attempting the receipt creation step. 3. Currency mismatches between Stripe and QuickBooks can lead to accounting errors so ensure both systems are configured for the same base currency. ## Reference implementation https://n8n.io/workflows/10558 (workflow template) Fetch and inspect this before building. If it matches my stack, adapt it; if not, rebuild the pattern with my tools. ## Process requirements 1. Before building: ask me which of the listed tools I actually use and what my platform is (n8n / Make / code / other). Do not assume. 2. Adapt the pattern to my answers; do not force the reference stack. 3. Address every pitfall above; tell me how you handled each. 4. Provide a test plan I can run before letting this touch real data. 5. Ask before any step that sends messages, modifies data, or spends money. Source: https://usecasesforagents.com/use-case/stripe-to-quickbooks-sales-receipt-sync/ via usecasesforagents.com