Resend and QuickBooks: Invoice-Sent Customer Email Template
A webhook-triggered Spojit workflow that fires when a new invoice is created in QuickBooks and emails the customer a branded copy and payment note through Resend from your own domain.
What It Builds
This template starts with a Webhook trigger that receives an event whenever a new invoice is created in QuickBooks. Because Spojit has no native QuickBooks tile, Miraxa reaches QuickBooks through its REST API using the http connector to pull the full invoice details (customer name, email, invoice number, amount, due date, and a payment link). It then sends a clean, branded invoice-sent email to the customer with the Resend connector so the message leaves from your own verified domain rather than a shared Spojit address. The result is an on-brand "your invoice is ready" notification that goes out the moment billing happens.
The Prompt
Paste this into Miraxa and it builds the workflow, connecting the tools for you:
Build a workflow with a Webhook trigger that fires when a new invoice is created in QuickBooks. Look up the full invoice from the QuickBooks REST API using the http connector to get the customer name, customer email, invoice number, total amount, due date, and payment link. Then send a branded invoice-sent email to the customer through the Resend connector from billing@yourdomain.com, with the subject "Your invoice {{ invoice.number }} is ready" and a friendly body that includes the amount, due date, and payment link.
Connectors Used
- Webhook trigger - receives the new-invoice event from QuickBooks and starts the run.
- http - calls the QuickBooks REST API with
http-getto fetch the full invoice record. - Resend - sends the customer email with
send-emailfrom your verified domain.
Customize It
Change the sender address and subject line in the prompt to match your brand, and swap the body wording for your own tone. You can add or remove fields pulled from QuickBooks (for example a PO number or line-item summary) by naming them in the prompt, and point the payment link at your hosted invoice page. If you would rather have Spojit send invoices on a fixed cadence, ask Miraxa to use a Schedule trigger that queries QuickBooks for invoices created since the last run instead of a webhook.
Tips
- Verify your domain in Resend first (its
verify-domainstep) so the email lands frombilling@yourdomain.comwith proper deliverability, then store your Resend API key as a connection in Connections. - Keep the QuickBooks lookup in Direct mode on the http connector. It is a single predictable call, so you avoid AI cost and get deterministic results.
- Secure the webhook with a signing connection so only genuine QuickBooks events can start a run, and reference invoice fields with handlebars like
{{ invoice.total }}in the email body.
Related
- Want the step-by-step? See How to Build Email Notifications with Resend.
- How to Connect to Any REST API Using HTTP Requests covers reaching QuickBooks through the http connector.
- How to Send Personalized Order Confirmation Emails is a close sibling for billing notifications.