My workflow 2
Configured with HTTP Request, Schedule Trigger, Split Out. Review the connections and setup before adapting this template.
Node categories in this workflow
- Web / API
- Transform
- Routing
- Code
- Trigger
Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.
Drag to pan; use + and − to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.
How it works
The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.
| Node | Category | Type | Operation |
|---|---|---|---|
| Token Request | Web / API | HTTP Request | POST |
| Assign Credentials | Transform | Edit Fields | See node parameters |
| Dartagnan Project list | Web / API | HTTP Request | See node parameters |
| Create email template | Web / API | HTTP Request | POST |
| List Available Email Template Braze | Web / API | HTTP Request | See node parameters |
| Filtered Project Campaign | Web / API | HTTP Request | See node parameters |
| Filtering Dartagnan Campaigns | Transform | Edit Fields | See node parameters |
| Split Out | Transform | Split Out | See node parameters |
| Filtering Braze Email Template | Transform | Edit Fields | See node parameters |
| Not existing In Braze | Transform | Merge | See node parameters |
| Existing In Braze | Transform | Merge | See node parameters |
| Dartagnan HTML & MEDIA To Update | Web / API | HTTP Request | See node parameters |
| Encode Content To Update | Transform | Edit Fields | See node parameters |
| Dartagnan HTML & MEDIA Campagne to Create | Web / API | HTTP Request | See node parameters |
| Encode Content to Create | Transform | Edit Fields | See node parameters |
| If campaign is modified recently | Routing | If | See node parameters |
| Filter Braze vs Dartagnan | Routing | If | See node parameters |
| Embed image in HTML | Code | Code | See node parameters |
| Embed image in HTML 1 | Code | Code | See node parameters |
| Every 5 minutes start | Trigger | Schedule Trigger | See node parameters |
| Update existing email template in Braze | Web / API | HTTP Request | POST |
Setup
- Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
- Connect your own credentials through n8n’s credential store. Replace
REPLACE_WITH_*values with your resource identifiers. - Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
- Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.
Requirements
An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.
Credential types declared in the source
None declared. HTTP requests and Code nodes may still need configuration.
Workflow notes
Token Request
Get the token from Dartagnan that expires after 60 minutes
Filtered Project Campaign
POC Avec la derniere valeur avant iteration sur une boucle for dans la v2
Authentication Set Up
Authentication Set Up
Obtain an access token from Dartagnan Prepare credentials for both Dartagnan and Braze
Template Discovery
Template Discovery
List all existing email templates in Braze
Authentication Token
Authentication Token
Obtain an access token from Dartagnan
Template Discovery
Template Discovery
Retrieve project and campaign details from Dartagnan
Comparison and Sync
Comparison and Sync
Compare Dartagnan templates with existing Braze templates Identify templates to update (top Branch) or create ( Lower Branch)
Template Processing
Template Processing
Extract HTML and media from Dartagnan templates Replace image references with direct URLs Prepare templates for Braze Update existing templates in Braze ( upper branch ) Create new templates in Braze as needed ( lower branch )
Trigger
Trigger
Trigger is scheduled to run every 5 minutes, you can change this, but bear in mind to stay in the API rate limits of each vendor
Every 5 minutes start
This node is a scheduled trigger that will synchronize ever
My workflow 2
My workflow 2
Purpose and structure
This folder contains the My workflow 2 workflow. Its executable nodes use code, httpRequest, if, merge, scheduleTrigger, set, splitOut. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.
Setup
Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.
Entry points
Every 5 minutes start
Verification
Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.
Attribution
https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Splitout/0774_Splitout_Code_Automate_Webhook.json MIT; preserve source notices.