Resend icon

Resend

Send emails, manage contacts, create broadcasts, handle templates, domains, segments, topics, and webhooks using the Resend email platform

Template → Get

AI-generated

Overview

This node operation retrieves a specific email template from the Resend email platform. It is useful for scenarios where you need to fetch the details of a reusable email template, for example, to preview, edit, or use the template content in subsequent workflow steps.

Use Case Examples

  1. Fetch an email template by selecting it from a list of available templates.
  2. Retrieve a template by specifying its unique template ID.

Properties

Name Meaning
Template The specific email template to retrieve, identified either by selecting from a list or by providing its unique ID.

Output

JSON

  • template
    • id - The unique identifier of the retrieved template.
    • name - The name of the retrieved template.
    • subject - The subject line of the email template.
    • html - The HTML content of the email template.
    • variables - The dynamic variables used within the template.

Dependencies

  • Requires an API key credential for the Resend email platform to authenticate and authorize the request.

Troubleshooting

  • Ensure the provided template ID is correct and exists in the Resend account to avoid 'template not found' errors.
  • Verify that the API key credential is valid and has the necessary permissions to access templates.
  • If using the list mode, ensure the list of templates is properly loaded and accessible.

Discussion