Email Templates
Time: ~10 minutes | Difficulty: Beginner TagadaPay sends transactional emails automatically when key events happen. You can customize every template per store — via the CRM dashboard or programmatically with the Node SDK and public API.Zero code required for defaults. If you create a template for a given event type, TagadaPay sends it automatically. No webhooks, no cron jobs — just create the template and it works.
Supported Template Types
free_trial_expiration_incoming is reserved for a future release (trial expiration reminders). All other types are fully supported today.Manage Templates with the Node SDK
List Available Types
Create a Template
List Templates for a Store
Update a Template
Send a Test Email
Delete a Template
Template Variables Reference
Use{{ variableName }} in subjects and bodies. Variables are auto-populated from real-time event data when the email is sent.
Common Variables (All Templates)
order_paid
order_refunded
subscription_rebill_succeeded
subscription_rebill_upcoming
subscription_canceled
subscription_past_due
abandoned_checkout
Abandoned checkout emails support a configurable trigger delay — how long after the customer leaves before the email fires. Set it via
params.specific.triggerDurationSinceLastActivity with values like 10min, 30min, 1h, 3h, 6h, 12h, 24h, or 48h.customer_promotion_code
club_membership_started
club_membership_deactivated
Template Data Structure
ThetemplateVariables field follows a specific nesting pattern:
subject field is simpler — a flat locale map:
The key inside
templateVariables must match the template type. For an order_paid template, use templateVariables.order_paid.body, not templateVariables.body.Multilingual Emails
Set subjects and bodies per language. TagadaPay picks the locale from the checkout session or customer profile and falls back toen if the customer’s locale isn’t configured.
Supported locales: en, fr, de, es, it (and any custom locale you define).
Custom Sender Domain
By default, emails are sent fromnoreply@tagadapay.com. Set up a custom sender domain for branded emails:
- Go to Settings → Emails → Custom Domain in the CRM
- Add your domain (e.g.,
your-store.com) - Add the DNS records shown (SPF, DKIM, DMARC)
- Once verified, emails send from
noreply@your-store.com
Full Example: Configure All Emails for a New Store
This script creates the most common email templates in a single run:CRM Dashboard
You can also manage templates visually in the CRM without writing any code:- Template editor with live HTML preview
- Variable picker — click to insert
{{ variableName }} - Multilingual editor — tabs per language with independent subjects and bodies
- Send test email — preview rendering with mock data sent to any address
- Enable/disable toggle — per template, per store
SDK Methods Reference
Next Steps
Webhooks & Events
Listen for the same events that trigger emails — order.paid, subscription.canceled, etc.
Subscriptions
Set up recurring billing — the events that trigger subscription email templates
Build a Store with AI
Full tutorial: AI-generated storefront + TagadaPay for payments and emails
Node SDK Quick Start
Install the SDK, authenticate, and explore all resources
