Connector

update_email_template

Set this up in your agent

update_email_template(template_id, name?, description?, structure?, opening_style?, cta_style?, sign_off?, tone_notes?, subject_pattern?, must_include?, avoid?, anchor_examples?, compliance_footer_on_first_touch?, compliance_postal_address?)

Edits a template's voice fields. Omitted fields stay as they are. Does not archive the template or change which one is the default.

Parameters

template_idstringRequired
Template to edit.
namestringOptional
Template name.
descriptionstringOptional
What this template is for.
structurearrayOptional
Voice structure.
opening_stylestringOptional
How the letter opens.
cta_stylestringOptional
How the letter asks.
sign_offstringOptional
How the letter closes.
tone_notesstringOptional
Tone guidance.
subject_patternstringOptional
Subject guidance.
must_includearrayOptional
Points the letter must include.
avoidarrayOptional
Points the letter must avoid.
anchor_examplesarrayOptional
Example subject and body pairs.
compliance_footer_on_first_touchbooleanOptional
Whether the first letter includes the compliance footer.
compliance_postal_addressstringOptional
The merchant's own postal address.

Returns

template_idstring
The edited template.
templates_urlstring
Link to the template library in Hivewave.