WorkflowOtherOpen

My workflow 2: Code, Condition and HTTP request

Triggered on a schedule. Connects Code, Condition, HTTP request, Schedule, Split Out. Authentication Set Up Obtain an access token from Dartagnan Prepare credentials for both Dartagnan and Braze Template Discovery List all existing email templates in Braze Authentication Token Obtain an access token from Dartagnan Template Discovery Retrieve project and campaign details from Dartagnan Comparison a

Front matter
name: My workflow 2
description: Triggered on a schedule. Connects Code, Condition, HTTP request, Schedule, Split Out. ## Authentication Set Up Obtain an access token from Dartagnan Prepare credentials for both Dartagnan and Braze ## Template Discovery List all existing email templates in Braze ## Authentication Token Obtain an access token from Dartagnan ## Template Discovery Retrieve project and campaign details from Dartagnan ## Comparison and Sync Compare Dartagnan templates with existing Braze templates Identify templates to update (top Branch) or create ( Lower Branch) ## Template Proc
category: Automation
kind: Workflow
software: Code|Condition|HTTP request|Schedule|Split Out

My workflow 2

Triggered on a schedule. Connects Code, Condition, HTTP request, Schedule, Split Out. ## Authentication Set Up

Obtain an access token from Dartagnan Prepare credentials for both Dartagnan and Braze

Template Discovery

List all existing email templates in Braze ## Authentication Token

Obtain an access token from Dartagnan ## Template Discovery

Retrieve project and campaign details from Dartagnan ## Comparison and Sync

Compare Dartagnan templates with existing Braze templates Identify templates to update (top Branch) or create ( Lower Branch) ## Template Proc

Steps

  • Token Request (httpRequest)
  • Assign Credentials (set)
  • Dartagnan Project list (httpRequest)
  • Create email template (httpRequest)
  • List Available Email Template Braze (httpRequest)
  • Filtered Project Campaign (httpRequest)
  • Filtering Dartagnan Campaigns (set)
  • Split Out (splitOut)
  • Filtering Braze Email Template (set)
  • Not existing In Braze (merge)
  • Existing In Braze (merge)
  • Dartagnan HTML & MEDIA To Update (httpRequest)
  • Encode Content To Update (set)
  • Dartagnan HTML & MEDIA Campagne to Create (httpRequest)
  • 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 (stickyNote)
  • Sticky Note1 (stickyNote)
  • Sticky Note2 (stickyNote)
  • Sticky Note3 (stickyNote)
  • Sticky Note4 (stickyNote)
  • Sticky Note5 (stickyNote)
  • Sticky Note6 (stickyNote)
  • Every 5 minutes start (scheduleTrigger)
  • Update existing email template in Braze (httpRequest)

Import

Download the JSON from the GitHub source and import it in n8n (Workflows, Import from file).

Source: https://github.com/Zie619/n8n-workflows/blob/main/Splitout/0774_Splitout_Code_Automate_Webhook.md

Author: Zie619, n8n workflow collection. License: MIT.

Shown here with formatting for the web. Keep the author and license notice when you reuse it.

Related entries

There are more like this in the members library

The n8n workflow library holds 1,814 entries. Members can search all of them by meaning and read every one in full.