Execute scheduled tasks with automated data processing
Workflow Description
A scheduled workflow that triggers HTTP requests at defined intervals, processes received data through splitting and merging operations, applies conditional logic to route data, and executes custom JavaScript code for complex transformations.
How it works
- 1.Trigger the workflow on a predefined schedule
- 2.Send HTTP request and receive data from external endpoint
- 3.Split data into individual records and evaluate conditional rules
- 4.Execute custom JavaScript code for advanced data transformation
- 5.Merge processed results into a unified output
Use cases
- Monitor external APIs and synchronize data with internal systems periodically
- Process system alerts and route them based on custom business logic
Requirements
- Familiarity with HTTP requests and REST APIs
- Understanding of workflow variables and data mapping
- Basic JavaScript knowledge for custom code execution
Service Value
Ready-made workflow template for automation delivery and service execution.
Apps Used
Details
How to Use
- 1.Click "Download Template"
- 2.Open your n8n dashboard
- 3.Go to Workflows > Import from File
- 4.Select downloaded file and configure credentials
Nodes Used (28)
Token Request
HTTP Request
Assign Credentials
Set
Dartagnan Project list
HTTP Request
Create email template
HTTP Request
List Available Email Template Braze
HTTP Request
Filtered Project Campaign
HTTP Request
Filtering Dartagnan Campaigns
Set
Split Out
Split Out
Filtering Braze Email Template
Set
Not existing In Braze
Merge
Existing In Braze
Merge
Dartagnan HTML & MEDIA To Update
HTTP Request
Encode Content To Update
Set
Dartagnan HTML & MEDIA Campagne to Create
HTTP Request
Encode Content to Create
Set
If campaign is modified recently
If
Filter Braze vs Dartagnan
If
Embed image in HTML
Code
Embed image in HTML 1
Code
Sticky Note
Sticky Note
Sticky Note1
Sticky Note
Sticky Note2
Sticky Note
Sticky Note3
Sticky Note
Sticky Note4
Sticky Note
Sticky Note5
Sticky Note
Sticky Note6
Sticky Note
Every 5 minutes start
Schedule Trigger
Update existing email template in Braze
HTTP Request