Resend and HTTP: Loyalty Points Statement Email Template
A ready-to-build Spojit template that emails every loyalty member a branded monthly points statement, pulling their balance from your loyalty platform and sending through Resend.
What It Builds
A Schedule trigger fires once a month and a Connector node in Direct mode calls your loyalty platform's REST API through the http connector to read each member's current points balance. A Loop node walks the member list, and for every member a resend Connector node sends a personalized statement showing their name, current points, and tier from your own sending domain.
The Prompt
Paste this into Miraxa and it builds the workflow, connecting the tools for you:
Build a workflow that runs on the first of every month. Call our loyalty platform's REST API to fetch the list of members and their current points balance and tier, then loop over each member and email them a branded monthly points statement through Resend that greets them by name and shows their current points balance, tier, and points earned this month.
Connectors Used
- Schedule trigger - runs the workflow on a monthly cron schedule in your timezone.
- http - Miraxa connects to your loyalty platform's REST API to read balances (no native tile required).
- resend - sends the branded statement email from your verified sending domain.
Customize It
Change the schedule day, the fields you read from the API (lifetime points, expiry date, next-tier threshold), or the email copy and from-address in the prompt. To only email active members, ask Miraxa to skip anyone with a zero balance.
Tips
- Verify your sending domain in Resend first so statements do not land in spam.
- Keep the API call in Direct mode for a fixed, no-AI-cost read of balances.
- If your loyalty platform paginates results, tell Miraxa to fetch all pages before looping.