Klaviyo icon

Klaviyo

Interact with the Klaviyo API

Actions17

Overview

This node interacts with the Klaviyo API, specifically allowing users to delete a Template resource. It is useful when you want to programmatically remove an existing email or message template from your Klaviyo account. Common scenarios include cleaning up unused templates, automating template lifecycle management, or integrating template deletion into larger marketing workflows.

For example, if you have a workflow that deactivates certain campaigns, you might also want to delete associated templates automatically using this node.

Properties

Name Meaning
Template ID The unique identifier of the template to delete. This is required to specify which template should be removed from Klaviyo.

Output

The output JSON typically contains the response from the Klaviyo API after attempting to delete the specified template. This may include confirmation of deletion or error details if the operation failed.

No binary data output is expected for this operation.

Dependencies

  • Requires an API key credential for authenticating with the Klaviyo API.
  • The node uses the base URL https://a.klaviyo.com/api and expects requests and responses in JSON API format (application/vnd.api+json).

Troubleshooting

  • Common issues:

    • Providing an invalid or non-existent Template ID will result in an error from the API indicating the template could not be found.
    • Missing or incorrect API authentication credentials will cause authorization errors.
    • Network connectivity problems can prevent the node from reaching the Klaviyo API.
  • Error messages:

    • "Template not found": Verify the Template ID is correct and exists in your Klaviyo account.
    • "Unauthorized" or "Authentication failed": Check that the API key credential is correctly configured and has sufficient permissions.
    • Timeout or network errors: Ensure your environment has internet access and the Klaviyo API endpoint is reachable.

Links and References

Discussion