Connector

get_email_template

Set this up in your agent

get_email_template(template_id)

Reads one template's voice fields, including the merchant's postal address, plus a link to the template library.

Parameters

template_idstringRequired
Template to read.

Returns

idstring
Template id.
namestring
Template name.
descriptionstring
What this template is for.
structurearray
Voice structure.
opening_stylestring
How the letter opens.
cta_stylestring
How the letter asks.
sign_offstring
How the letter closes.
tone_notesstring
Tone guidance.
subject_patternstring
Subject guidance.
must_includearray
Points the letter must include.
avoidarray
Points the letter must avoid.
anchor_examplesarray
Example subject and body pairs.
compliance_footer_on_first_touchboolean
Whether the first letter includes the compliance footer.
compliance_postal_addressstring
The merchant's own postal address.
statusstring
Template status.
is_defaultboolean
Whether this template is the brand default.
updated_atstring
When the template was last updated.
templates_urlstring
Link to the template library in Hivewave.