Actions17
Template → Get One
AI-generatedOverview
This node interacts with the Klaviyo API to retrieve a single email template by its Template ID. It is useful for scenarios where you need to fetch detailed information about a specific email template stored in Klaviyo, such as for review, editing, or integration with other systems.
Use Case Examples
- Fetch a specific email template by its ID to display its content in a custom dashboard.
- Retrieve template details to automate email campaign setups based on existing templates.
Properties
| Name | Meaning |
|---|---|
| Template ID | The unique identifier of the template to retrieve, required for the 'Get One' operation. |
| Template Fields | Select specific fields of the template to return, such as name, html, text, created date, etc. If no fields are selected, all fields may be returned. |
| Request Options | Additional request settings such as batching, SSL certificate validation, proxy configuration, and timeout settings. |
Output
JSON
id- The unique identifier of the retrieved template.type- The resource type, which will be 'template'.attributesname- The name of the template.editor_type- The editor type used for the template.html- The HTML content of the template.text- The plain text content of the template.amp- The AMP content of the template.created- The creation timestamp of the template.updated- The last updated timestamp of the template.
Dependencies
- Klaviyo API key credential
Troubleshooting
- Ensure the Template ID is correct and exists in your Klaviyo account to avoid 'not found' errors.
- Check network connectivity and proxy settings if requests fail or time out.
- If SSL certificate validation errors occur, consider enabling the 'Ignore SSL Issues' option cautiously.
- Verify that the API key credential is valid and has the necessary permissions to access templates.