Key Takeaways
- nestjs sms gateway with android device order alerts: inject a thin HttpModule client — not a first-party Nest SMS SDK.
- Order event → queue → POST /messages → DLR webhook.
- Idempotent keys from order id + event type.
- Priced by devices and SMS send volume. You use your own phone and operator SMS credit. BYO Android + operator airtime.
- MMS only when the alert truly needs media.
- Free is 300 SMS lifetime; paid from $19/month.
NestJS module over REST
Search intent for nestjs sms gateway with android device order alerts is wiring transactional SMS into Nest modules. Service pricing is based on device count and total SMS sent through the gateway. We do not publish a Nest SDK. Call documented HTTPS JSON. Hub: Android SMS Gateway API. Sibling: Laravel order alerts.
A provider that “just works” still needs device last-seen alerts. Nest cannot invent a second SIM when the worker concurrency outruns the radio.
Order alert pipeline
Emit domain events → push jobs → SmsGatewayService POSTs → store message id → webhook updates status. Keep secrets in ConfigModule/env, never in client bundles.
Controller vs gateway client
| Layer | Owns | Not |
|---|---|---|
| Order module | Domain events (paid, packed, shipped) | Bearer tokens in DTO constructors |
| SmsGatewayService | HTTPS JSON + timeouts + mapping | A vendor Nest SDK SKU |
| Queue worker | Retries with backoff + client_ref | Unbounded concurrency vs one SIM |
| Android device | Radio send | Business rules about order states |
Idempotency and queues
Use order id + event type as client_ref. Retry transport errors with backoff; do not re-fire permanent rejects. Bull/BullMQ concurrency must respect measured SIM throughput.
When MMS is adjacent
Receipt images belong on MMS gateway routes only when needed — default order alerts stay SMS. Priced by devices and SMS send volume. You use your own phone and operator SMS credit.
NestJS order-alert checklist
- Thin HttpService client — no Nest SDK product.
- Queued sends + timeouts.
- Idempotent client_ref.
- DLR/webhook on order entity.
- BYO Android + operator credit.
Next steps
Canary one shipped event to a staff number. Setup. Pricing. Downloads.
Related product pages
Jump to the live product docs for this topic—not another long-form article.
- SMS API documentationLive endpoint reference
- device and SMS volume pricingPlans and allowances
- transactional SMS for orders and alertsEvent-driven messages
- Android SMS gateway product guideDefinition, product, and how to buy





