Braze Email Template icon

Braze Email Template

Manage email templates in Braze

Get Info

AI-generated

Overview

This node manages email templates in the Braze marketing platform. It allows users to create new email templates, retrieve detailed information about a specific template, list all templates with optional filtering, and update existing templates.

Common scenarios where this node is beneficial include automating email campaign management workflows, synchronizing email templates between systems, or dynamically updating email content based on external triggers.

Practical examples:

  • Automatically creating a new email template when a marketing team finalizes a campaign draft.
  • Fetching detailed info of an email template to display or audit its content before sending.
  • Listing all email templates modified within a certain date range for reporting purposes.
  • Updating the subject or body of an existing email template as part of a content refresh process.

Properties

Name Meaning
Operation The action to perform: Create, Get Info, List, or Update an email template.
Email Template ID The API identifier of the email template (required for "Get Info" and "Update" operations).

Note: The provided properties JSON only includes "Email Template ID" relevant for "update" and "info" operations. Other properties like template name, subject, body, tags, etc., are also used internally but not listed here.

Output

The node outputs an array of items, each containing a json field with the response data from Braze's API:

  • For Create: Details of the newly created email template.
  • For Get Info: Detailed information about the specified email template.
  • For List: A list of email templates, optionally filtered by modification dates, limit, and offset.
  • For Update: Details of the updated email template.

If an error occurs and the node is set to continue on failure, the output item will contain an error field describing the issue along with HTTP and Braze-specific error codes.

The node does not output binary data.

Dependencies

  • Requires an API key credential for authenticating with Braze's REST API.
  • Needs the Braze instance endpoint URL configured via credentials.
  • Uses HTTP requests with JSON payloads to interact with Braze's email template endpoints.

Troubleshooting

  • Common issues:

    • Invalid or missing API key credential will cause authentication failures.
    • Providing an incorrect or non-existent Email Template ID will result in errors when fetching or updating.
    • Network connectivity problems can cause request timeouts or failures.
    • Improperly formatted input parameters (e.g., tags as comma-separated strings) may lead to unexpected results.
  • Error messages:

    • Errors returned from Braze's API are captured and included in the output if continuing on fail.
    • Typical error messages include authorization failures, resource not found, or validation errors.
    • To resolve, verify API credentials, ensure correct template IDs, and validate input parameters.

Links and References

Discussion