My workflow 2

Automated workflow for Dartagnan that synchronizes email templates with Braze every 5 minutes, ensuring up-to-date content. It retrieves project and campaign details, compares existing templates, and updates or creates new ones as needed, enhancing marketing efficiency and consistency.

7/8/2025
28 nodes
Complex
schedulecomplexsplitoutsticky noteschedule triggerautomationadvancedapiintegrationlogicconditionalcron
Categories:
Schedule TriggeredComplex Workflow
Integrations:
SplitOutSticky NoteSchedule Trigger

Target Audience

Target Audience


- Marketing Teams: Teams looking to automate email template management between Dartagnan and Braze.
- Developers: Developers needing to integrate API calls for token requests and email template updates.
- Project Managers: Managers overseeing marketing campaigns who want to ensure timely updates and synchronization of templates.
- Data Analysts: Analysts who need to track and compare campaign performance across platforms.

Problem Solved

Problem Solved


This workflow addresses the challenge of maintaining consistency and efficiency in email marketing campaigns by automating the synchronization of email templates between Dartagnan and Braze. It ensures that:
- Real-time Updates: Campaign details and templates are updated automatically based on recent modifications.
- Error Reduction: Manual errors in template updates are minimized through automation.
- Time Efficiency: Reduces the time spent on template management, allowing teams to focus on strategy and content.

Workflow Steps

Workflow Steps


1. Authentication: The workflow starts by obtaining an access token from Dartagnan, which is valid for 60 minutes.
2. Project Retrieval: It retrieves the list of projects from Dartagnan to identify relevant campaigns.
3. Campaign Filtering: Filters the campaigns to find the most recent updates and relevant details.
4. Email Template Management: It lists existing email templates in Braze and compares them with the templates from Dartagnan.
5. Conditional Logic: Utilizes conditional nodes to determine if a campaign has been modified recently or if a template already exists in Braze.
6. Template Processing: Processes the HTML content from Dartagnan, replacing image references with direct URLs to ensure proper rendering in Braze.
7. Updating and Creating Templates: Depending on the conditions, it either updates existing templates in Braze or creates new ones as needed.
8. Scheduled Execution: The workflow is triggered every 5 minutes, ensuring up-to-date synchronization between the two platforms while adhering to API rate limits.

Customization Guide

Customization Guide


- Credentials Configuration: Update the Assign Credentials node with your Dartagnan and Braze credentials to ensure proper authentication.
- API Endpoints: Modify the API URLs in the HTTP request nodes if your Dartagnan or Braze instances have different endpoints.
- Email Template Details: Customize the Create email template and Update existing email template in Braze nodes to fit your specific email subject lines and body content requirements.
- Schedule Adjustments: Change the frequency of the Every 5 minutes start trigger to match your needs, keeping in mind the API rate limits of both platforms.
- Conditional Logic: Adjust the conditions in the If campaign is modified recently and Filter Braze vs Dartagnan nodes to refine the criteria for template updates based on your campaign strategies.