Sync Dartagnan Email Templates to Braze

Go to Workflow
336 views
Built by Vincent LE ROUX Vincent LE ROUX
Created on June 07, 2026

Description

Sync Dartagnan Email Templates to Braze

Why Use This Workflow

Email marketing demands consistency across platforms. This workflow automatically synchronizes your email templates from Dartagnan to Braze, eliminating manual transfers and ensuring brand consistency. Perfect for marketing teams who need to maintain a unified email experience while leveraging the strengths of both platforms.

Business Benefits

Save Time**: Eliminate hours of manual template copying and formatting between platforms
Maintain Consistency**: Ensure your email templates look identical across Dartagnan and Braze
Reduce Errors**: Automated synchronization prevents human error in template transfers
Streamline Workflows**: Create once in Dartagnan, use everywhere through Braze's distribution power
Preserve Image Assets**: Keep images hosted on Dartagnan while properly formatting them for Braze

How It Works

This workflow performs a bi-directional sync between your Dartagnan email templates and Braze platform. It intelligently handles:

Template Updates: Automatically updates existing templates in Braze when modified in Dartagnan
New Template Creation: Creates new templates in Braze when added to Dartagnan
Image URL Transformation: Properly embeds and formats image URLs to meet Braze requirements while keeping assets on Dartagnan infrastructure

Technical Implementation

The workflow uses a scheduled trigger to check for template changes and then processes them in batches:

Authentication: Securely connects to both Dartagnan and Braze APIs
Template Retrieval: Fetches current templates from Dartagnan
Comparison Logic: Determines which templates need updating or creation in Braze
Content Transformation: Processes HTML content and image URLs to ensure compatibility
API Integration: Pushes changes to Braze through their Content Blocks API

Customization Options

This workflow can be customized to meet your specific needs:

Sync Frequency**: Adjust the schedule to run hourly, daily, or on any custom schedule
Template Filtering**: Add conditions to sync only specific templates based on tags or categories
Error Handling**: Configure notification emails when synchronization issues occur
Logging**: Enable detailed logs for troubleshooting and auditing

Setup Requirements

Setting up this workflow takes approximately 20-30 minutes and requires:

Dartagnan Requirements
API Client ID
API Client Secret
Template access permissions

Braze Requirements
Braze Instance URL
API Key with content block permissions
Appropriate rate limits configured

Common Use Cases

Email Campaign Coordination**: Maintain consistent templates across platforms for multi-channel campaigns
Agency Work**: Design in Dartagnan, deploy through client's Braze instance
Rebranding Projects**: Update templates once and propagate changes automatically
International Marketing**: Maintain language variants across platforms with automatic synchronization

Get Started

Once installed, configure your API credentials, set your desired synchronization schedule, and let the workflow handle the rest. The initial sync will create all your templates in Braze, with subsequent runs only updating what's changed.

Nodes Used (2)

Code
n8n-nodes-base.code
HTTP Request
n8n-nodes-base.httpRequest