create_klaviyo_template
Create a Klaviyo email template
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
| Parameter | Type | Description |
|---|---|---|
name | string | |
image | string | a Library id, Hermoso or upload_file URL, or a public image URL |
imageAlt | string | |
headline | string | |
body | string | |
ctaText | string | |
ctaUrl | string | |
accent | string | #RRGGBB |
background | string | #RRGGBB |
html | string | your own full HTML instead of the layout |
text | string | plain-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.
Related tools
upload_klaviyo_imageUpload an image to Klaviyoget_brandGet saved profilecreate_klaviyo_campaignCreate a Klaviyo campaign draftconnect_connectorConnect a paste-a-key accountupdate_klaviyo_templateUpdate a Klaviyo templatelist_klaviyo_imagesList Klaviyo imagesdelete_klaviyo_templateDelete a Klaviyo templatelist_klaviyo_templatesList Klaviyo templatessend_klaviyo_test_emailSend a Klaviyo test emaillist_klaviyo_flowsList Klaviyo flows