Templates · Published 2026-09-28 · AgentiSend team
Account paused
Tell an account holder their account is paused, why, and where to go to resolve it.
Tell an account holder their account is paused, why, and where to go to resolve it.
Variables
Every placeholder is required. A send that omits one is refused with that name, rather than going out with a blank.
first_name(string, required). The account holder’s first name.product_name(string, required). Your product, as the person knows it.paused_on(string, required). The date it was paused, formatted for the reader.pause_reason(string, required). Why it was paused, in a sentence.resolve_url(string, required). An https link to where the person fixes it.
Rendered with the example values
These values are samples. They are not an account on AgentiSend.
Subject: Your Acme account is paused
<p>Hi Ada,</p>
<p>Your Acme account was paused on 28 September 2026.</p>
<p>Why: The last two payments did not go through.</p>
<p>Your data has not been deleted.</p>
<p><a href="https://app.example.com/billing">See what to do next</a></p>Hi Ada,
Your Acme account was paused on 28 September 2026.
Why: The last two payments did not go through.
Your data has not been deleted.
See what to do next (https://app.example.com/billing)Create the draft
POST /templates and the create_template tool take this body. The draft does not send until it is published.
{
"name": "Account paused",
"subject": "Your {{product_name}} account is paused",
"content": {
"mode": "markdown",
"source": "Hi {{first_name}},\n\nYour {{product_name}} account was paused on {{paused_on}}.\n\nWhy: {{pause_reason}}\n\nYour data has not been deleted.\n\n[See what to do next]({{resolve_url}})"
},
"variables": [
{
"name": "first_name",
"type": "string",
"required": true
},
{
"name": "product_name",
"type": "string",
"required": true
},
{
"name": "paused_on",
"type": "string",
"required": true
},
{
"name": "pause_reason",
"type": "string",
"required": true
},
{
"name": "resolve_url",
"type": "string",
"required": true
}
]
}Publish it
Call publish_template with the id POST /templates returned. Publishing again makes the next version. A version that already went out does not change.
{
"name": "publish_template",
"arguments": {
"template_id": "<the id POST /templates returned>"
}
}Send it
Create the draft with the body above, publish it, then send with template_id and template_values. The rules are in Templates. The three calls, including a render that does not send, are in How do I send an email from a template. The next starter is Sign-in code.