Macro

Templates that think.

Jinja2-powered response templates with smart variable interpolation. Build a library of reusable templates that auto-fill from ticket context.

Everything you need

Built for production. Designed for simplicity.

Jinja2 Templates

Full Jinja2 template engine with conditionals, loops, and filters for complex response logic.

Auto-Fill Variables

Variables automatically populated from ticket context — customer name, product, issue type, and more.

Smart Search

Find the right macro by searching content, tags, and usage patterns.

Usage Analytics

Track which macros are used most, by whom, and for which issue types.

Version History

Track changes to macros over time. Roll back to previous versions if needed.

Suggested Macros

AI-powered macro suggestions based on the current conversation context.

Simple to use

Render a template with ticket context variables.

Full API Reference
macro_example.py
import httpx

resp = httpx.post("http://localhost:8007/macro/render", json={
    "template": "Hi {{ customer_name }}, your order #{{ order_id }} is...",
    "variables": {"customer_name": "Alice", "order_id": "12345"},
})

Endpoints

Clean REST APIs. No SDK required.

POST
/macro/render
Render a macro template
POST
/macro/search
Search macros
GET
/health
Service health check

Learn more about Macro

Explore how this AI capability can transform your support operations.