{
  "updatedAt": "2025-08-06T10:20:43.000Z",
  "createdAt": "2025-08-06T10:20:28.735Z",
  "id": "Pz6WkJlc6OB28h4D",
  "name": "Email marketing - Share",
  "description": null,
  "active": false,
  "isArchived": false,
  "nodes": [
    {
      "parameters": {
        "httpMethod": "POST",
        "path": "2d98d7e8-1829-428d-9ea5-6c93585f5789",
        "options": {}
      },
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 2,
      "position": [
        -280,
        -100
      ],
      "id": "2a244e50-c118-4bda-8908-e423f3b53f8c",
      "name": "Broadcast status change",
      "webhookId": "2d98d7e8-1829-428d-9ea5-6c93585f5789"
    },
    {
      "parameters": {
        "fieldToSplitOut": "body.items",
        "options": {}
      },
      "type": "n8n-nodes-base.splitOut",
      "typeVersion": 1,
      "position": [
        -40,
        -120
      ],
      "id": "ba1209bd-6e5c-4e0b-87cb-231c2cb62819",
      "name": "Split Out"
    },
    {
      "parameters": {
        "operation": "get",
        "databaseId": 337,
        "tableId": 1329,
        "rowId": "={{ $json.Segment[0].id }}"
      },
      "type": "n8n-nodes-base.baserow",
      "typeVersion": 1,
      "position": [
        580,
        20
      ],
      "id": "b5415c38-bbf1-4805-b79d-8b789fbdb4ea",
      "name": "get_segment",
      "credentials": {
        "baserowApi": {
          "id": "1epXojxW7EH6bLyG",
          "name": "Br mecode"
        }
      }
    },
    {
      "parameters": {
        "rules": {
          "values": [
            {
              "conditions": {
                "options": {
                  "caseSensitive": true,
                  "leftValue": "",
                  "typeValidation": "strict",
                  "version": 2
                },
                "conditions": [
                  {
                    "leftValue": "={{ $json.Status.value }}",
                    "rightValue": "Ready to send",
                    "operator": {
                      "type": "string",
                      "operation": "equals"
                    },
                    "id": "ab27f7ae-68b1-4768-8c13-50377b9a5637"
                  }
                ],
                "combinator": "and"
              },
              "renameOutput": true,
              "outputKey": "Ready to send"
            },
            {
              "conditions": {
                "options": {
                  "caseSensitive": true,
                  "leftValue": "",
                  "typeValidation": "strict",
                  "version": 2
                },
                "conditions": [
                  {
                    "id": "9e29b2f6-1b1a-48e8-85ab-16b52cd8646a",
                    "leftValue": "={{ $json.Status.value }}",
                    "rightValue": "Prepare",
                    "operator": {
                      "type": "string",
                      "operation": "equals",
                      "name": "filter.operator.equals"
                    }
                  }
                ],
                "combinator": "and"
              },
              "renameOutput": true,
              "outputKey": "Prepare"
            }
          ]
        },
        "options": {}
      },
      "type": "n8n-nodes-base.switch",
      "typeVersion": 3.2,
      "position": [
        120,
        -120
      ],
      "id": "9aaf98b4-0b3a-43f9-96d3-a16c378e8ca6",
      "name": "Switch"
    },
    {
      "parameters": {
        "mode": "combine",
        "combineBy": "combineAll",
        "options": {}
      },
      "type": "n8n-nodes-base.merge",
      "typeVersion": 3.2,
      "position": [
        1000,
        100
      ],
      "id": "d2e2c482-635c-435b-8d09-0500aa3b20ef",
      "name": "Merge"
    },
    {
      "parameters": {
        "databaseId": 337,
        "tableId": 1327,
        "returnAll": true,
        "additionalOptions": {
          "filters": {
            "fields": [
              {
                "field": 12563,
                "operator": "link_row_has",
                "value": "={{ $json.id }}"
              }
            ]
          }
        }
      },
      "type": "n8n-nodes-base.baserow",
      "typeVersion": 1,
      "position": [
        800,
        20
      ],
      "id": "d7917961-2d8f-44db-87b5-aa3950b479a1",
      "name": "get_contact",
      "credentials": {
        "baserowApi": {
          "id": "1epXojxW7EH6bLyG",
          "name": "Br mecode"
        }
      }
    },
    {
      "parameters": {
        "operation": "create",
        "databaseId": 337,
        "tableId": 1331,
        "fieldsUi": {
          "fieldValues": [
            {
              "fieldId": 12571,
              "fieldValue": "={{ $json.user_email }}"
            },
            {
              "fieldId": 12572,
              "fieldValue": "={{ $json[\"Email content\"] }}"
            },
            {
              "fieldId": 12573,
              "fieldValue": "Draft"
            },
            {
              "fieldId": 12576,
              "fieldValue": "={{ [$json.broadcast_id] }}"
            },
            {
              "fieldId": 12578,
              "fieldValue": "={{ $json[\"Email title\"] }}"
            }
          ]
        }
      },
      "type": "n8n-nodes-base.baserow",
      "typeVersion": 1,
      "position": [
        1540,
        80
      ],
      "id": "b1f89a0b-b044-413c-b1a6-16e5a99e9ffb",
      "name": "Create queue item",
      "credentials": {
        "baserowApi": {
          "id": "1epXojxW7EH6bLyG",
          "name": "Br mecode"
        }
      }
    },
    {
      "parameters": {
        "rule": {
          "interval": [
            {
              "field": "minutes",
              "minutesInterval": 10
            }
          ]
        }
      },
      "type": "n8n-nodes-base.scheduleTrigger",
      "typeVersion": 1.2,
      "position": [
        -320,
        -500
      ],
      "id": "e9dcfe35-72f4-4a7a-8334-37d0e0ab9b2b",
      "name": "Schedule Trigger"
    },
    {
      "parameters": {
        "databaseId": 337,
        "tableId": 1331,
        "limit": 30,
        "additionalOptions": {
          "filters": {
            "fields": [
              {
                "field": 12573,
                "operator": "single_select_equal",
                "value": "5447"
              }
            ]
          },
          "order": {
            "fields": [
              {
                "field": 12581
              }
            ]
          }
        }
      },
      "type": "n8n-nodes-base.baserow",
      "typeVersion": 1,
      "position": [
        -160,
        -500
      ],
      "id": "0d6fdfd8-9f6f-4d8e-8221-b3765957a355",
      "name": "Get queue",
      "credentials": {
        "baserowApi": {
          "id": "1epXojxW7EH6bLyG",
          "name": "Br mecode"
        }
      }
    },
    {
      "parameters": {
        "batchSize": 5,
        "options": {}
      },
      "type": "n8n-nodes-base.splitInBatches",
      "typeVersion": 3,
      "position": [
        20,
        -500
      ],
      "id": "e46ede6e-1d84-4aa7-bca2-e5d60dba23f4",
      "name": "Loop Over Items"
    },
    {
      "parameters": {
        "amount": 2
      },
      "type": "n8n-nodes-base.wait",
      "typeVersion": 1.1,
      "position": [
        940,
        -500
      ],
      "id": "9edb7761-28e6-468e-8939-941f6008aab9",
      "name": "Wait",
      "webhookId": "c9e85582-7f26-4415-a96b-a5bdf10a70aa"
    },
    {
      "parameters": {
        "assignments": {
          "assignments": [
            {
              "id": "9cf13ee5-f71a-4766-ae7c-055ff9c35187",
              "name": "broadcast_id",
              "value": "={{ $json.id }}",
              "type": "number"
            },
            {
              "id": "09efe758-0085-4e50-8bf4-6c4d42557f4f",
              "name": "Email content",
              "value": "={{ $json[\"Email content\"] }}",
              "type": "string"
            },
            {
              "id": "3912cdd0-903b-45ef-a5f2-1b67a03809ff",
              "name": "Email title",
              "value": "={{ $json[\"Title Broadcast\"] }}",
              "type": "string"
            }
          ]
        },
        "options": {}
      },
      "type": "n8n-nodes-base.set",
      "typeVersion": 3.4,
      "position": [
        580,
        200
      ],
      "id": "a34a67f5-e4ea-479c-a298-c722d8560124",
      "name": "setBroadcast"
    },
    {
      "parameters": {
        "operation": "update",
        "databaseId": 337,
        "tableId": 1331,
        "rowId": "={{ $('Loop Over Items').item.json.id }}",
        "fieldsUi": {
          "fieldValues": [
            {
              "fieldId": 12574,
              "fieldValue": "=OK"
            },
            {
              "fieldId": 12573,
              "fieldValue": "Success"
            }
          ]
        }
      },
      "type": "n8n-nodes-base.baserow",
      "typeVersion": 1,
      "position": [
        900,
        -780
      ],
      "id": "5eb5b23d-8fbd-4170-905c-9a5946ac633f",
      "name": "update_status",
      "credentials": {
        "baserowApi": {
          "id": "1epXojxW7EH6bLyG",
          "name": "Br mecode"
        }
      }
    },
    {
      "parameters": {
        "operation": "update",
        "databaseId": 337,
        "tableId": 1331,
        "rowId": "={{ $('Loop Over Items').item.json.id }}",
        "fieldsUi": {
          "fieldValues": [
            {
              "fieldId": 12574,
              "fieldValue": "="
            },
            {
              "fieldId": 12573,
              "fieldValue": "Failed"
            }
          ]
        }
      },
      "type": "n8n-nodes-base.baserow",
      "typeVersion": 1,
      "position": [
        720,
        -520
      ],
      "id": "1293cbf2-e456-47b6-9b82-9fbc87d83af3",
      "name": "update_failed",
      "credentials": {
        "baserowApi": {
          "id": "1epXojxW7EH6bLyG",
          "name": "Br mecode"
        }
      }
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://api.resend.com/emails",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={{ \n\n{\n  \"from\": \"binh@mecode.pro\",\n  \"to\": [\n    $json.Email\n  ],\n  \"subject\": $json['Email subject'],\n  \"html\": $json['Email content']\n}\n\n}}",
        "options": {}
      },
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        140,
        -920
      ],
      "id": "67dcb6c0-773e-4460-9f19-ca41aabcbaa6",
      "name": "resend-send",
      "retryOnFail": true,
      "credentials": {
        "httpHeaderAuth": {
          "id": "UU2utt8WtQVroxYd",
          "name": "resend mecode"
        }
      },
      "onError": "continueErrorOutput"
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://smtp.maileroo.com/send",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "sendBody": true,
        "contentType": "multipart-form-data",
        "bodyParameters": {
          "parameters": [
            {
              "name": "from",
              "value": "binh@mecode.pro"
            },
            {
              "name": "to",
              "value": "={{ $json.Email }}"
            },
            {
              "name": "subject",
              "value": "={{ $json[\"Email subject\"] }}"
            },
            {
              "name": "html",
              "value": "={{ $json.html }}"
            },
            {
              "name": "reply_to"
            }
          ]
        },
        "options": {
          "batching": {
            "batch": {
              "batchSize": 3
            }
          }
        }
      },
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        400,
        -540
      ],
      "id": "cb1339d0-092d-4487-a2e5-2257e564b6c1",
      "name": "maileroo_send",
      "retryOnFail": true,
      "maxTries": 2,
      "credentials": {
        "httpHeaderAuth": {
          "id": "ofiIrPqc4Nt84CIs",
          "name": "Mailer Roo"
        }
      },
      "onError": "continueErrorOutput"
    },
    {
      "parameters": {
        "conditions": {
          "options": {
            "caseSensitive": true,
            "leftValue": "",
            "typeValidation": "strict",
            "version": 2
          },
          "conditions": [
            {
              "id": "80242dda-ec62-4a20-9fbb-b92d55c07c64",
              "leftValue": "={{ $json.success }}",
              "rightValue": "",
              "operator": {
                "type": "boolean",
                "operation": "true",
                "singleValue": true
              }
            }
          ],
          "combinator": "and"
        },
        "options": {}
      },
      "type": "n8n-nodes-base.if",
      "typeVersion": 2.2,
      "position": [
        600,
        -760
      ],
      "id": "6f62f5c7-8c43-4664-8960-b7c1d110d706",
      "name": "If_success"
    },
    {
      "parameters": {
        "conditions": {
          "options": {
            "caseSensitive": true,
            "leftValue": "",
            "typeValidation": "strict",
            "version": 2
          },
          "conditions": [
            {
              "id": "1ab0849e-086a-47a6-9845-ecd43a62d3f9",
              "leftValue": "={{ $json.Queue }}",
              "rightValue": 0,
              "operator": {
                "type": "array",
                "operation": "lengthEquals",
                "rightType": "number"
              }
            }
          ],
          "combinator": "and"
        },
        "options": {}
      },
      "type": "n8n-nodes-base.if",
      "typeVersion": 2.2,
      "position": [
        320,
        40
      ],
      "id": "751d8ed4-1ea2-414b-9aba-297fa23daf94",
      "name": "not_queue_yet"
    },
    {
      "parameters": {
        "assignments": {
          "assignments": [
            {
              "id": "9832ec1a-e7a5-4d38-8548-f9acd3fa5e18",
              "name": "Email content",
              "value": "={{ \n$json[\"Email content\"]\n.replaceAll(\"{better_name}\", $json.better_name)\n.replaceAll(\"{customer_id}\", $json.customer_id)\n.replaceAll(\"{user_login}\", $json.user_login)\n.replaceAll(\"{user_registered}\", $json.user_registered)\n.replaceAll(\"{first_name}\", $json.first_name)\n.replaceAll(\"{last_name}\", $json.last_name)\n.replaceAll(\"\\\\\",\"\")\n}}",
              "type": "string"
            },
            {
              "id": "d0a68ec9-6fd1-4471-9be7-ea17497821c5",
              "name": "Email title",
              "value": "={{ \n$json[\"Email title\"]\n.replaceAll(\"{better_name}\", $json.better_name)\n.replaceAll(\"{customer_id}\", $json.customer_id)\n.replaceAll(\"{user_login}\", $json.user_login)\n.replaceAll(\"{user_registered}\", $json.user_registered)\n.replaceAll(\"{first_name}\", $json.first_name)\n.replaceAll(\"{last_name}\", $json.last_name)\n.replaceAll(\"\\\\\",\"\")\n}}",
              "type": "string"
            }
          ]
        },
        "includeOtherFields": true,
        "options": {}
      },
      "type": "n8n-nodes-base.set",
      "typeVersion": 3.4,
      "position": [
        1220,
        100
      ],
      "id": "ff03b3a1-245e-46d5-965e-1170137ee414",
      "name": "merge_content"
    },
    {
      "parameters": {
        "mode": "markdownToHtml",
        "markdown": "={{ $json[\"Email content\"] }}",
        "destinationKey": "html",
        "options": {}
      },
      "type": "n8n-nodes-base.markdown",
      "typeVersion": 1,
      "position": [
        200,
        -520
      ],
      "id": "34878530-7951-4a0b-a1e9-1467a4ec5fc0",
      "name": "marktohtml"
    },
    {
      "parameters": {
        "operation": "get",
        "databaseId": 337,
        "tableId": 1328,
        "rowId": "={{ $json.id }}"
      },
      "type": "n8n-nodes-base.baserow",
      "typeVersion": 1,
      "position": [
        380,
        -180
      ],
      "id": "2e6288c3-16fa-4b33-9adb-20f97f7e26a4",
      "name": "get_queues",
      "credentials": {
        "baserowApi": {
          "id": "1epXojxW7EH6bLyG",
          "name": "Br mecode"
        }
      }
    },
    {
      "parameters": {
        "fieldToSplitOut": "Queue",
        "options": {}
      },
      "type": "n8n-nodes-base.splitOut",
      "typeVersion": 1,
      "position": [
        600,
        -180
      ],
      "id": "e7bfb1b2-31a8-47ef-9233-5eec473f010a",
      "name": "Split Out1"
    },
    {
      "parameters": {
        "operation": "update",
        "databaseId": 337,
        "tableId": 1331,
        "rowId": "={{ $json.id }}",
        "fieldsUi": {
          "fieldValues": [
            {
              "fieldId": 12573,
              "fieldValue": "Queue"
            }
          ]
        }
      },
      "type": "n8n-nodes-base.baserow",
      "typeVersion": 1,
      "position": [
        1120,
        -180
      ],
      "id": "0e5bef4b-2fa1-42cf-b1da-390130ed2404",
      "name": "queue",
      "credentials": {
        "baserowApi": {
          "id": "1epXojxW7EH6bLyG",
          "name": "Br mecode"
        }
      }
    },
    {
      "parameters": {
        "batchSize": 5,
        "options": {}
      },
      "type": "n8n-nodes-base.splitInBatches",
      "typeVersion": 3,
      "position": [
        820,
        -180
      ],
      "id": "9837db74-ed22-42cf-bd28-5c110daa7dae",
      "name": "Loop Over Items1"
    },
    {
      "parameters": {
        "amount": 2
      },
      "type": "n8n-nodes-base.wait",
      "typeVersion": 1.1,
      "position": [
        1340,
        -180
      ],
      "id": "becc8d29-340c-4672-8d96-2c55d29a9288",
      "name": "Wait1",
      "webhookId": "68343eae-6d34-4db3-a8a0-23ae27f54f96"
    }
  ],
  "connections": {
    "Broadcast status change": {
      "main": [
        [
          {
            "node": "Split Out",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Out": {
      "main": [
        [
          {
            "node": "Switch",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Switch": {
      "main": [
        [
          {
            "node": "get_queues",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "not_queue_yet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "get_segment": {
      "main": [
        [
          {
            "node": "get_contact",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "get_contact": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge": {
      "main": [
        [
          {
            "node": "merge_content",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Get queue",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get queue": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items": {
      "main": [
        [],
        [
          {
            "node": "marktohtml",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create queue item": {
      "main": [
        []
      ]
    },
    "Wait": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "setBroadcast": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "update_status": {
      "main": [
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "update_failed": {
      "main": [
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "resend-send": {
      "main": [
        [],
        []
      ]
    },
    "maileroo_send": {
      "main": [
        [
          {
            "node": "If_success",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "update_failed",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If_success": {
      "main": [
        [
          {
            "node": "update_status",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "update_failed",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "not_queue_yet": {
      "main": [
        [
          {
            "node": "setBroadcast",
            "type": "main",
            "index": 0
          },
          {
            "node": "get_segment",
            "type": "main",
            "index": 0
          }
        ],
        []
      ]
    },
    "merge_content": {
      "main": [
        [
          {
            "node": "Create queue item",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "marktohtml": {
      "main": [
        [
          {
            "node": "maileroo_send",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "get_queues": {
      "main": [
        [
          {
            "node": "Split Out1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Out1": {
      "main": [
        [
          {
            "node": "Loop Over Items1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items1": {
      "main": [
        [],
        [
          {
            "node": "queue",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "queue": {
      "main": [
        [
          {
            "node": "Wait1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait1": {
      "main": [
        [
          {
            "node": "Loop Over Items1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1"
  },
  "staticData": {
    "node:Schedule Trigger": {
      "recurrenceRules": []
    }
  },
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "pinData": {
    "Schedule Trigger": [
      {
        "json": {
          "timestamp": "2025-07-19T14:20:23.008+07:00",
          "Readable date": "July 19th 2025, 2:20:23 pm",
          "Readable time": "2:20:23 pm",
          "Day of week": "Saturday",
          "Year": "2025",
          "Month": "July",
          "Day of month": "19",
          "Hour": "14",
          "Minute": "20",
          "Second": "23",
          "Timezone": "Asia/Ho_Chi_Minh (UTC+07:00)"
        }
      }
    ],
    "Broadcast status change": [
      {
        "json": {
          "headers": {
            "x-forwarded-host": "n8n.mecode.pro",
            "x-forwarded-server": "n8n.mecode.pro",
            "x-real-ip": "185.250.38.214",
            "x-forwarded-for": "185.250.38.214",
            "x-forwarded-proto": "https",
            "host": "n8n.mecode.pro",
            "connection": "Upgrade",
            "content-length": "5752",
            "user-agent": "python-requests/2.31.0",
            "accept-encoding": "gzip, deflate, br",
            "accept": "*/*",
            "content-type": "application/json",
            "x-baserow-event": "rows.updated",
            "x-baserow-delivery": "f176cf21-5bce-43a9-8c10-032c9ea4488d"
          },
          "params": {},
          "query": {},
          "body": {
            "table_id": 1328,
            "database_id": 337,
            "workspace_id": 80,
            "webhook_id": 15,
            "event_id": "f176cf21-5bce-43a9-8c10-032c9ea4488d",
            "event_type": "rows.updated",
            "items": [
              {
                "id": 6,
                "order": "1.00000000000000000000",
                "Title Broadcast": "Chào {better_name} - Workshop AI & Automation đặc biệt dành cho bạn!",
                "Email content": "Chào {better_name},\n\nChúng tôi hy vọng bạn đang có những ngày tuyệt vời với việc học tập và phát triển kỹ năng công nghệ.\n\nHôm nay chúng tôi muốn chia sẻ với bạn một tin vui đặc biệt - Workshop thực hành AI & Automation sắp diễn ra, và chúng tôi rất mong bạn sẽ tham gia cùng chúng tôi.\n\n---\n\n## **THÔNG TIN WORKSHOP:**\n\n📅 **Thời gian:** Thứ 7, ngày 27 tháng 7 năm 2025, từ 9:00 sáng đến 12:00 trưa\\\n💻 **Hình thức:** Online qua Zoom với khả năng xem lại sau này\\\n👨‍💻 **Diễn giả:** Đội ngũ chuyên gia từ [MeCode.pro](http://MeCode.pro)\\\n💰 **Chi phí:** Hoàn toàn miễn phí cho thành viên\n\n---\n\n## **NỘI DUNG CHÍNH:**\n\nTrong 3 tiếng, chúng ta sẽ cùng nhau khám phá và thực hành:\n\n- **Xây dựng Chatbot AI** thông minh với Claude và ChatGPT API\n- **Tự động hóa Marketing** với N8N và WordPress\n- **Kỹ thuật Web Scraping** hiệu quả để thu thập dữ liệu\n- **Email Marketing tự động** với sự hỗ trợ của AI\n- **Demo trực tiếp** và giải đáp thắc mắc\n\n---\n\n## **QUÀ TẶNG DÀNH CHO BẠN:**\n\nTất cả người tham gia sẽ nhận được:\n\n✅ Bộ Template N8N workflows đã được tối ưu\\\n✅ Thư viện AI Prompts cho automation\\\n✅ 1 tháng hỗ trợ Pro miễn phí\\\n✅ Chứng chỉ hoàn thành workshop\n\n---\n\n## **THÔNG TIN TÀI KHOẢN CỦA BẠN:**\n\n**Email đăng ký:** {user_email}\\\n**Mã thành viên:** {customer_id}\\\n**Ngày gia nhập:** {user_registered}",
                "Active": false,
                "Segment": [
                  {
                    "id": 3,
                    "value": "Test",
                    "order": "3.00000000000000000000"
                  }
                ],
                "Status": {
                  "id": 5451,
                  "value": "Prepare",
                  "color": "light-cyan"
                },
                "Queue": [],
                "Sent Success": "0",
                "Merge": "{user_login}, {user_email}, {customer_id}, {user_registered}, {better_name}, {first_name}, {last_name}"
              }
            ],
            "old_items": [
              {
                "id": 6,
                "order": "1.00000000000000000000",
                "Title Broadcast": "Chào {better_name} - Workshop AI & Automation đặc biệt dành cho bạn!",
                "Email content": "Chào {better_name},\n\nChúng tôi hy vọng bạn đang có những ngày tuyệt vời với việc học tập và phát triển kỹ năng công nghệ.\n\nHôm nay chúng tôi muốn chia sẻ với bạn một tin vui đặc biệt - Workshop thực hành AI & Automation sắp diễn ra, và chúng tôi rất mong bạn sẽ tham gia cùng chúng tôi.\n\n---\n\n## **THÔNG TIN WORKSHOP:**\n\n📅 **Thời gian:** Thứ 7, ngày 27 tháng 7 năm 2025, từ 9:00 sáng đến 12:00 trưa\\\n💻 **Hình thức:** Online qua Zoom với khả năng xem lại sau này\\\n👨‍💻 **Diễn giả:** Đội ngũ chuyên gia từ [MeCode.pro](http://MeCode.pro)\\\n💰 **Chi phí:** Hoàn toàn miễn phí cho thành viên\n\n---\n\n## **NỘI DUNG CHÍNH:**\n\nTrong 3 tiếng, chúng ta sẽ cùng nhau khám phá và thực hành:\n\n- **Xây dựng Chatbot AI** thông minh với Claude và ChatGPT API\n- **Tự động hóa Marketing** với N8N và WordPress\n- **Kỹ thuật Web Scraping** hiệu quả để thu thập dữ liệu\n- **Email Marketing tự động** với sự hỗ trợ của AI\n- **Demo trực tiếp** và giải đáp thắc mắc\n\n---\n\n## **QUÀ TẶNG DÀNH CHO BẠN:**\n\nTất cả người tham gia sẽ nhận được:\n\n✅ Bộ Template N8N workflows đã được tối ưu\\\n✅ Thư viện AI Prompts cho automation\\\n✅ 1 tháng hỗ trợ Pro miễn phí\\\n✅ Chứng chỉ hoàn thành workshop\n\n---\n\n## **THÔNG TIN TÀI KHOẢN CỦA BẠN:**\n\n**Email đăng ký:** {user_email}\\\n**Mã thành viên:** {customer_id}\\\n**Ngày gia nhập:** {user_registered}",
                "Active": false,
                "Segment": [
                  {
                    "id": 3,
                    "value": "Test",
                    "order": "3.00000000000000000000"
                  }
                ],
                "Status": {
                  "id": 5444,
                  "value": "Draft",
                  "color": "deep-dark-orange"
                },
                "Queue": [],
                "Sent Success": "0",
                "Merge": "{user_login}, {user_email}, {customer_id}, {user_registered}, {better_name}, {first_name}, {last_name}"
              }
            ]
          },
          "webhookUrl": "https://n8n.mecode.pro/webhook/email-marketing-broadcast-status-change",
          "executionMode": "production"
        }
      }
    ]
  },
  "versionId": "0ce81915-a893-45c7-a53d-20dc90c3d103",
  "activeVersionId": null,
  "versionCounter": 1,
  "triggerCount": 2,
  "shared": [
    {
      "updatedAt": "2025-08-06T10:20:28.748Z",
      "createdAt": "2025-08-06T10:20:28.748Z",
      "role": "workflow:owner",
      "workflowId": "Pz6WkJlc6OB28h4D",
      "projectId": "Nlp7kXCVcAfb0cmG",
      "project": {
        "updatedAt": "2024-07-25T03:06:26.102Z",
        "createdAt": "2024-07-25T03:06:26.102Z",
        "id": "Nlp7kXCVcAfb0cmG",
        "name": "Bình Đặng <dangngocbinh.dnb@gmail.com>",
        "type": "personal",
        "icon": null,
        "description": null,
        "creatorId": "92f1ca82-c19e-4a7d-8458-93b65f67f4c7"
      }
    }
  ],
  "tags": [
    {
      "updatedAt": "2024-10-04T03:03:40.628Z",
      "createdAt": "2024-10-04T03:03:40.628Z",
      "id": "MW10UcI4NI01thiG",
      "name": "share"
    }
  ],
  "activeVersion": null
}