create_klaviyo_campaign
Create a Klaviyo campaign draft
Description
Create a Klaviyo email CAMPAIGN DRAFT: templateId (create_klaviyo_template), subject, previewText, the audience as listIds and/or segmentIds (excludeIds leaves people out), optional name, fromEmail / fromLabel (default: the account's default sender) and replyTo. It is created as a DRAFT and NOTHING IS SENT; the answer is Klaviyo's own row read back. To send or schedule it use send_klaviyo_campaign, which shows the recipient count first. Free. Needs Klaviyo connected (Connectors > Klaviyo, or connect_connector with a private API key).
Parameters
| Parameter | Type | Description |
|---|---|---|
templateIdrequired | string | |
subjectrequired | string | |
previewText | string | |
listIds | string[] | |
segmentIds | string[] | |
excludeIds | string[] | |
name | string | |
fromEmail | string | |
fromLabel | string | |
replyTo | string |
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_campaign.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"create_klaviyo_campaign","arguments":{"templateId":"<string>","subject":"<string>"}}}
CLI
hermoso call create_klaviyo_campaign --json '{"templateId":"<string>","subject":"<string>"}'
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
create_klaviyo_templateCreate a Klaviyo email templatesend_klaviyo_campaignSend or schedule a Klaviyo campaignconnect_connectorConnect a paste-a-key accountsend_klaviyo_test_emailSend a Klaviyo test emailupdate_klaviyo_campaignUpdate a Klaviyo campaign draftdelete_klaviyo_templateDelete a Klaviyo templateupdate_klaviyo_templateUpdate a Klaviyo templatecancel_klaviyo_campaignStop a Klaviyo campaigndelete_klaviyo_campaignDelete a Klaviyo campaignupload_klaviyo_imageUpload an image to Klaviyo