hermosodocs

create_klaviyo_template

Create a Klaviyo email template

Area: Klaviyo · Publishing & scheduling. Generated from the running MCP server, like the rest of the tool reference.

Description

Make an EMAIL TEMPLATE in Klaviyo from a creative: image (any reference upload_klaviyo_image takes; it goes into the image library first) plus copy YOU write in the brand's voice (read get_brand for voice and colours): headline, body (paragraphs split by a blank line), ctaText + ctaUrl for the button, accent (#RRGGBB button colour). It is laid out as a 600px email with the unsubscribe link and sender address Klaviyo requires. Or pass html for the user's own markup (that footer is added if it has no unsubscribe link). Saves the template only, nothing is sent; returns the templateId for create_klaviyo_campaign. Free. Needs Klaviyo connected (Connectors > Klaviyo, or connect_connector with a private API key).

Parameters

ParameterTypeDescription
namestring
imagestringa Library id, Hermoso or upload_file URL, or a public image URL
imageAltstring
headlinestring
bodystring
ctaTextstring
ctaUrlstring
accentstring#RRGGBB
backgroundstring#RRGGBB
htmlstringyour own full HTML instead of the layout
textstringplain-text version

Example call

Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/create_klaviyo_template.

MCP (tools/call)

{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"create_klaviyo_template","arguments":{}}}

CLI

hermoso call create_klaviyo_template --json '{}'

Credits

Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.

All 728 Publishing & scheduling tools · tools.json