Tutorials
Browse all tutorials posts from the Transactional team.

Webhooks Will Fail. Here are the Retry and Idempotency Patterns That Save You.
Practical patterns for reliable webhook delivery: exponential backoff with jitter, idempotency keys, dead letter queues, and signature verification. TypeScript code included.

Your AI Agent Will Crash in Production. Plan for It.
Common AI agent failure modes and how to handle them: tool execution failures, context window overflow, infinite loops, and hallucinated function calls. Production-ready error patterns with code.

Build an AI Chatbot with Persistent Memory in 30 Minutes
Step-by-step tutorial for building an AI chatbot that remembers previous conversations using vector storage, embeddings, and context retrieval. TypeScript code throughout.

JWT Authentication in 2026: What Most Tutorials Get Wrong
Common JWT mistakes that compromise security, and the correct patterns for token storage, rotation, and validation. Includes Express and Next.js code examples.

Stop Writing Raw HTML Emails. Use React Email Templates Instead.
Build maintainable, responsive email templates using React Email instead of struggling with raw HTML tables. Includes password reset and order confirmation examples.

Your AI Should Never Go Down. Here is How to Set Up Fallback Routing.
Configure fallback chains across LLM providers so your AI features stay up when any single provider goes down. Includes TypeScript implementation with health checks and cost-aware routing.

Track Your LLM Costs in Real-Time Before They Surprise You
Set up real-time cost tracking for LLM API calls with token counting, dashboards, alert thresholds, and budget controls. Practical TypeScript examples included.

Set Up SPF, DKIM and DMARC Correctly the First Time (2026 Guide)
A step-by-step guide to configuring SPF, DKIM, and DMARC DNS records for your domain. Avoid the common mistakes that break email deliverability.
YOUR AGENTS DESERVE
REAL INFRASTRUCTURE.
START BUILDING AGENTS THAT DO REAL WORK.