Get Started
Templates & Content

Message Templates Engine

Create, manage, and test high-converting email, SMS, WhatsApp, and Push templates with dynamic {{variable}} placeholders, category tagging, and deliverability optimization.

1

1. Message Templates Console & Setup

Access Developer Console → Templates at https://app.hubnest.io/developer/templates. Review registered email, SMS, WhatsApp, and Push templates with instant category filter buttons (Marketing, Utility, Authentication, Service). Click + Create Template to launch the template editor modal.

Step 1: Message Templates Console Overview & Create Template Action
Click + Create Template button to register new template
  • Filter by channel: Email, SMS, WhatsApp, Push Notification.
  • Filter by category: Marketing, Utility, Authentication, Service.
  • View approval status and template ID keys.
2

2. Category Tagging & HTML Deliverability Score

Define your template key identifier (e.g. __product_launch__feature_anno) and assign a strict category. The built-in HTML analyzer evaluates your message body and displays a live Deliverability Score (100/100 EXCELLENT).

Step 2: Category Tagging & Deliverability Score (100/100 EXCELLENT)
Select category (Marketing/Utility/Auth/Service) & check deliverability score
  • Categories: Marketing (Sales/Newsletters), Utility (Receipts/Orders), Authentication (OTP Codes), Service (Support Replies).
  • Live HTML syntax validator with 100/100 Deliverability Score check.
  • Instant template registration.
3

3. Multi-Channel Routing & Dynamic Payload Variables {{user_name}}

Pick the Notification Channel (Email, SMS, WhatsApp, Push Notification). Embed dynamic {{user_name}}, {{action_url}}, and {{unsubscribe_url}} placeholders into the body. Variables are automatically extracted upon saving.

Step 3: Channel Dropdown & Dynamic Payload Variables {{user_name}}
Select channel (Email/SMS/WA/Push) & insert {{user_name}} variables
One-Click Preset Injection
Use preset templates for Order Confirmations, OTP Verification Codes, and Welcome Onboarding Emails to start dispatching notifications instantly.
templates/create.sh
bash
1# Create template via REST API
2curl -X POST "https://api.hubnest.io/developer/templates" \
3 -H "Authorization: Bearer hn_live_8f3a91b2c4e567890abcdef123456789" \
4 -H "Content-Type: application/json" \
5 -d '{
6 "name": "Order Confirmation Receipt",
7 "type": "order_confirmation__receipt",
8 "channel": "EMAIL",
9 "category": "UTILITY",
10 "subject": "Order Confirmed! Order #{{order_id}}",
11 "body": "<h1>Order Confirmed!</h1><p>Hi {{user_name}}, thank you for your purchase.</p>",
12 "variablesSchema": ["order_id", "user_name", "item_name", "total_price"]
13 }'
  • Supports Email, SMS, WhatsApp, and Push Notification channels.
  • Click + {{user_name}}, + {{action_url}}, + {{unsubscribe_url}} to insert dynamic tags.
  • One-click preset injection for Order Confirmations and OTPs.
Was this guide helpful?