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-get to fetch the full invoice record.
  • Resend - sends the customer email with send-email from 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-domain step) so the email lands from billing@yourdomain.com with 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

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.