Get Started
Screenshot of n8n workflow
FREE TEMPLATE
Sync Braze Templates from Dartagnan
3
Views
0
Downloads
28
Nodes
Download Template
Free
Preview Template
Utility Rating
6 / 10
Business Function
Marketing
Automation Orchestrator
n8n
Integrations
Dartagnan
Braze
Trigger Type
Schedule
Approx setup time ≈ 35 min
Need help setting up this template?
Ask in our free Futurise community
About
Community
Courses
Events
Members
Templates

How to Sync Braze Templates from Dartagnan?

Leon Petrou
FREE TEMPLATE
Sync Braze Templates from Dartagnan
3
Views
0
Downloads
28
Nodes
Download Template
Free
Preview Template
Utility Rating
6 / 10
Business Function
Marketing
Automation Orchestrator
n8n
Integrations
Dartagnan
Braze
Trigger Type
Schedule
Approximate setup time ≈ 35 minutes
Need help setting up this template?
Ask in our free Futurise community

Description

Keep your email templates fresh without manual copy and paste. Marketing teams that build creative in one tool and send from another can use this to keep both sides in sync with little effort.

A scheduled run checks every few minutes for updates. It requests an access token, lists projects and campaigns, and pulls template details from the source system. It also lists current templates in the sending platform. The flow compares names, splits items into update or create paths, and only updates when a campaign was changed recently. It fetches HTML and media, embeds image links directly in the HTML, encodes content, then sends create or update calls to the sending platform. This keeps naming, content, and plain text bodies aligned.

Set up needs API access for both tools and the instance URL for your sending platform. Add client id and client secret for the source, plus API key for the sender. Adjust the schedule to match rate limits. Expect faster launches, fewer mistakes, and consistent branding across emails. This is useful for teams that ship frequent campaigns or manage many templates across regions and brands.

Copy link

Tools Required

n8n
Sign up
$24 / mo or $20 / mo billed annually to use n8n in the cloud. However, the local or self-hosted n8n Community Edition is free.
Dartagnan
Sign up
Braze
Sign up
Free trial: $0 for 14 days

What this workflow does?

  • Scheduled sync runs every 5 minutes to keep templates current.
  • Requests and refreshes an access token that expires after 60 minutes.
  • Discovers projects and campaigns, then pulls template details from the source.
  • Lists all existing email templates in the sending platform for comparison.
  • Splits items into create or update groups using merge and filter logic.
  • Checks if a campaign was modified recently before updating to avoid noise.
  • Fetches HTML and media, then embeds image links directly in the HTML with code nodes.
  • Encodes HTML and plain text bodies and sends create or update API calls.

What are the benefits?

  • Reduce manual updates from 2 hours per campaign to 5 minutes
  • Automate up to 90 percent of template upkeep work
  • Cut copy and paste errors by 80 percent with direct sync
  • Handle 100 plus templates per day without extra staff
  • Connect content creation and sending platforms seamlessly
  • Keep email content current with checks every 5 minutes

How to set this up?

  1. Import the template into n8n: Create a new workflow in n8n > Click the three dots menu > Select 'Import from File' > Choose the downloaded JSON file.
  2. You'll need accounts with Dartagnan and Braze. See the Tools Required section above for links to create accounts with these services.
  3. Collect credentials: in your Dartagnan account get the client id and client secret. In your Braze dashboard get a REST API key and note your instance URL.
  4. Open the Assign Credentials node in n8n and enter your Dartagnan client id and client secret, plus your Braze API key and instance URL in the provided fields.
  5. Open the Token Request node and confirm the token URL is correct and the body uses the values from Assign Credentials. Click Execute Node to verify you receive an access token.
  6. Open the List Available Email Template Braze node and confirm the Authorization header uses Bearer with your API key and the instance URL variable is set. Execute the node to check it returns a template list.
  7. Run the workflow once. Inspect the Existing In Braze and Not existing In Braze branches to confirm items are routed correctly by template name.
  8. Check the If campaign is modified recently node and adjust the date logic if you need a different freshness window.
  9. Review the Embed image in HTML code nodes. If your images need different handling, update the code to match your asset paths.
  10. Set the schedule in the trigger to a safe interval based on vendor rate limits. The default is every 5 minutes.
  11. Enable the workflow. Send a test update from the source tool and confirm the target template updates or creates in Braze within one run.
  12. If you see 401 errors, recheck API keys and tokens. If you see 429 errors, increase the schedule interval to reduce call volume.

Need help or want to customize this?

Similar Templates

See More Templates

These templates were sourced from publicly available materials across the web, including n8n’s official website, YouTube and public GitHub repositories. We have consolidated and categorized them for easy search and filtering, and supplemented them with links to integrations, step-by-step setup instructions, and personalized support in the Futurise community. Content in this library is provided for education, evaluation and internal use. Users are responsible for checking and complying with the license terms with the author of the templates before commercial use or redistribution.Where an original author was identified, attribution has been provided. Some templates did not include author information. If you know who created this template, please let us know so we can add the appropriate credit and reference link. If you are the author and would like this template removed from the library, email us at info@futurise.com and we will remove it promptly.