diff --git a/Makefile b/Makefile index 431c19f456..50a724b47f 100755 --- a/Makefile +++ b/Makefile @@ -58,6 +58,9 @@ serve: package catalog: @node scripts/catalog/index.js +destination-status: + @node scripts/destination-status.js + # make the list of beta connections .PHONY: beta beta: diff --git a/package.json b/package.json index 394ca7c3b9..e5660ef3d8 100644 --- a/package.json +++ b/package.json @@ -56,6 +56,7 @@ "find-up": "^6.3.0", "glightbox": "^3.1.0", "globby": "11.0.4", + "gray-matter": "^4.0.3", "handlebars": "^4.7.7", "locate-path": "^7.1.0", "ms": "^2.1.3", diff --git a/scripts/destination-status.js b/scripts/destination-status.js new file mode 100644 index 0000000000..923970da51 --- /dev/null +++ b/scripts/destination-status.js @@ -0,0 +1,61 @@ +const yaml = require('js-yaml'); +const fs = require('fs').promises; +const matter = require ('gray-matter'); + +const catalogFilePath = 'src/_data/catalog/destinations.yml'; +const directory = 'src/connections/destinations/catalog'; + +function updateDestinationStatus() { + try { + const catalog = yaml.load(catalogFilePath); + if (Array.isArray(catalog)) { + catalog.forEach (id); { + const pageSlug = id.slug; + const itemStatus = id.status; + + if (itemStatus == 'PRIVATE_BETA') { + const filepath = `${directory}/${pageSlug}`; + try { + matter(readFile(filepath)); + matter.stringify({private: 'true', beta: 'true'}) + + console.log(`Updated page ${pageSlug} with status: ${itemStatus}`); + } catch (error) { + console.error(`Error processing page ${itemId}: ${error.message}`); + } + } + + if (itemStatus == 'PUBLIC_BETA'){ + const filepath = `${directory}/${pageSlug}`; + try { + matter(readFile(filepath)); + if (frontMatter.private === "true") { + delete frontMatter["private"]; + console.log(`Updated page ${pageSlug} with status: ${itemStatus}`); + } + } catch (error) { + console.error(`Error processing page ${itemId}: ${error.message}`); + } + } + + } if (itemStatus == 'PUBLIC'){ + const filepath = `${directory}/${pageSlug}`; + try { + matter(readFile(filepath)); + if (frontMatter.beta === "true") { + delete frontMatter["beta"]; + console.log(`Updated page ${pageSlug} with status: ${itemStatus}`); + } + } catch (error) { + console.error(`Error processing page ${itemId}: ${error.message}`); + } + } else { + console.warn('Skipping item with missing status or ID:', item); + } + } + } catch { + console.warn('Unable to update destination status.'); + } +} + +updateDestinationStatus(); diff --git a/src/_data/catalog/destination_categories.yml b/src/_data/catalog/destination_categories.yml index c35eb9430f..e0c378eb12 100644 --- a/src/_data/catalog/destination_categories.yml +++ b/src/_data/catalog/destination_categories.yml @@ -1,5 +1,5 @@ # AUTOGENERATED FROM PUBLIC API. DO NOT EDIT -# destination categories last updated 2025-06-20 +# destination categories last updated 2025-06-24 items: - display_name: A/B Testing slug: a-b-testing diff --git a/src/_data/catalog/destinations.yml b/src/_data/catalog/destinations.yml index 49a555327e..e418c94f96 100644 --- a/src/_data/catalog/destinations.yml +++ b/src/_data/catalog/destinations.yml @@ -1,5 +1,5 @@ # AUTOGENERATED FROM PUBLIC API. DO NOT EDIT -# destination data last updated 2025-06-20 +# destination data last updated 2025-06-24 items: - id: 637e8d185e2dec264895ea89 display_name: 1Flow @@ -22981,7 +22981,7 @@ items: hidden: false defaultTrigger: type = "identify" fields: - - id: 4SZLfMZWauRsjZLZ5vbmQi + - id: 7D52sshqeGKc93QxdSes6a sortOrder: 0 fieldKey: external_id label: External User ID @@ -22995,7 +22995,7 @@ items: choices: null dynamic: false allowNull: false - - id: 2hjzkBBxYk6qCuDTyUuMBT + - id: GPzn5npufu3XRJAVVZZ3Z sortOrder: 1 fieldKey: user_alias label: User Alias Object @@ -23009,7 +23009,7 @@ items: choices: null dynamic: false allowNull: false - - id: pKUo2zUobMheqCsYF5DLgT + - id: 9eVowxaWfmfxZKpfcMatEm sortOrder: 2 fieldKey: braze_id label: Braze User Identifier @@ -23023,7 +23023,7 @@ items: choices: null dynamic: false allowNull: true - - id: ecQGykv2mQR23xymLncKXE + - id: i1U9z9FVV9e8Zh4FpzpMos sortOrder: 3 fieldKey: country label: Country @@ -23037,7 +23037,7 @@ items: choices: null dynamic: false allowNull: true - - id: wGzdUBqVKRPitvJsNDBKPN + - id: rAD8wypjQo52HZ9ZP58Zv7 sortOrder: 4 fieldKey: current_location label: Current Location @@ -23054,7 +23054,7 @@ items: choices: null dynamic: false allowNull: true - - id: j92mMtWjdxH3hTDW5QjjyL + - id: vaKjs9L1Z9rVmZCFwJCwHr sortOrder: 5 fieldKey: date_of_first_session label: Date of First Session @@ -23066,7 +23066,7 @@ items: choices: null dynamic: false allowNull: true - - id: mYYVgXRCASZtcZV3dPUcx8 + - id: 8JgDgtbDmPkjYVqVjFtZCP sortOrder: 6 fieldKey: date_of_last_session label: Date of Last Session @@ -23078,7 +23078,7 @@ items: choices: null dynamic: false allowNull: true - - id: v93j3URCHV4tDAZraMHQ4F + - id: uxYJdHzFUsAsPAv3Ju5pGn sortOrder: 7 fieldKey: dob label: Date of Birth @@ -23090,7 +23090,7 @@ items: choices: null dynamic: false allowNull: true - - id: hRAHX5eakVo5Q4bwYUgYPb + - id: eg5PwVgoyxG965XEcBeUG sortOrder: 8 fieldKey: email label: Email @@ -23104,7 +23104,7 @@ items: choices: null dynamic: false allowNull: true - - id: eYoYEQv9ubyU2FqvyhBRKB + - id: eHcbBUYSPQVYv4CSvi2Br7 sortOrder: 9 fieldKey: email_subscribe label: Email Subscribe @@ -23119,7 +23119,7 @@ items: choices: null dynamic: false allowNull: false - - id: ccuLRfCp356pAx3LabXLom + - id: 6DKrxS6sQT17xc8PYaGHUV sortOrder: 10 fieldKey: email_open_tracking_disabled label: Email Open Tracking Disabled @@ -23133,7 +23133,7 @@ items: choices: null dynamic: false allowNull: false - - id: xe2vM6S9kZgaagFG9v4YcE + - id: tiSvSqji5eAE5csZYDqyjV sortOrder: 11 fieldKey: email_click_tracking_disabled label: Email Click Tracking Disabled @@ -23147,7 +23147,7 @@ items: choices: null dynamic: false allowNull: false - - id: tX1phHcgpfgqVTNMfsDcsS + - id: aT2FRqdbQewqq5o8CdAmkf sortOrder: 12 fieldKey: facebook label: Facebook Attribution Data @@ -23161,7 +23161,7 @@ items: choices: null dynamic: false allowNull: false - - id: 4uZ1xgNqNzdPiWgBXEFLi2 + - id: bKeVycHxVkcmbnkBVdpxRX sortOrder: 13 fieldKey: first_name label: First Name @@ -23175,7 +23175,7 @@ items: choices: null dynamic: false allowNull: true - - id: 57oVwoa9wijrHeos3M4Ehk + - id: sz5ZZCiDdcN6DzhoJpqN76 sortOrder: 14 fieldKey: gender label: Gender @@ -23191,7 +23191,7 @@ items: choices: null dynamic: false allowNull: true - - id: oJndpzi8NQdpAvZEKMXoxW + - id: 6VcU3UcKjnYH6i5FLiwo1J sortOrder: 15 fieldKey: home_city label: Home City @@ -23205,7 +23205,7 @@ items: choices: null dynamic: false allowNull: true - - id: 8rwF5WYg4rEG1Kxiub1MR1 + - id: pQyksUAhQTT76Czp4DXMkD sortOrder: 16 fieldKey: image_url label: Image URL @@ -23219,7 +23219,7 @@ items: choices: null dynamic: false allowNull: true - - id: vbqjF1abBkFZvzFLSBeJHB + - id: etwRLzKDuNAQLnELuUn7u5 sortOrder: 17 fieldKey: language label: Language @@ -23231,7 +23231,7 @@ items: choices: null dynamic: false allowNull: true - - id: aj24j482KuXfak3adAtc9Q + - id: kSWj93FmLNvVGwK2wKtzhX sortOrder: 18 fieldKey: last_name label: Last Name @@ -23245,7 +23245,7 @@ items: choices: null dynamic: false allowNull: false - - id: itZcJ4gvmqjj9yT7mRyUuz + - id: ud5V9kEhZivKmTmeEYtUvZ sortOrder: 19 fieldKey: marked_email_as_spam_at label: Marked Email as Spam At @@ -23257,7 +23257,7 @@ items: choices: null dynamic: false allowNull: true - - id: rSvvnQ3Vr3enCZPw2eoUY3 + - id: bQpbE4kNNGCEu3ZKcSWD5A sortOrder: 20 fieldKey: phone label: Phone Number @@ -23271,7 +23271,7 @@ items: choices: null dynamic: false allowNull: true - - id: 3bV8oZRzk4BgUwFMpuUbm6 + - id: e5JJFegnjEFYASgTCdBvt1 sortOrder: 21 fieldKey: push_subscribe label: Push Subscribe @@ -23286,7 +23286,7 @@ items: choices: null dynamic: false allowNull: false - - id: qfSXBq9F9ZVy8UmsjBvamc + - id: msKU15gTUpCVQohSwt7MgK sortOrder: 22 fieldKey: push_tokens label: Push Tokens @@ -23303,7 +23303,7 @@ items: choices: null dynamic: false allowNull: false - - id: eMAfNw5Sfwa4HY33q3mbiU + - id: mSpKEX3wXRsygd1N3acZAu sortOrder: 23 fieldKey: time_zone label: Time zone @@ -23318,7 +23318,7 @@ items: choices: null dynamic: false allowNull: false - - id: 3ygYjwwmQAcg7oPJ1MysFG + - id: j7Z4A4vgBWofeXDje1YuXP sortOrder: 24 fieldKey: twitter label: Twitter Attribution Data @@ -23333,7 +23333,7 @@ items: choices: null dynamic: false allowNull: false - - id: 6xbjHGrsoYVTFYaMwd6dMt + - id: h8PvQzc9xkcPxkNyYp5CaK sortOrder: 25 fieldKey: custom_attributes label: Custom Attributes @@ -23347,7 +23347,7 @@ items: choices: null dynamic: false allowNull: false - - id: hyhKzxhDcGUs789x9Ta4C5 + - id: ge6cpuJStAa5k4UsYKMyeM sortOrder: 26 fieldKey: _update_existing_only label: Update Existing Only @@ -23362,7 +23362,7 @@ items: choices: null dynamic: false allowNull: false - - id: nZsyPH2Nc8pcTTvYUrGDuR + - id: 3VoCEtSrjf359aU7Zjuwdf sortOrder: 27 fieldKey: enable_batching label: Batch Data to Braze @@ -23385,7 +23385,7 @@ items: hidden: false defaultTrigger: type = "track" and event != "Order Completed" fields: - - id: eKVK7HZhzSQZ94cDYGQDj6 + - id: wQhyD6jhLpnjTeZhAUZKFZ sortOrder: 0 fieldKey: external_id label: External User ID @@ -23399,7 +23399,7 @@ items: choices: null dynamic: false allowNull: false - - id: eGVDpzBNXD89ZVjjeEmzSL + - id: mVgitfey16XCavqAmWu4JK sortOrder: 1 fieldKey: user_alias label: User Alias Object @@ -23413,7 +23413,7 @@ items: choices: null dynamic: false allowNull: false - - id: 6J7BfhTX7CExc4USxbsUTS + - id: nVyU7TytKE5T9D7uvQWPTD sortOrder: 2 fieldKey: email label: Email @@ -23433,7 +23433,7 @@ items: choices: null dynamic: false allowNull: false - - id: hwXrUZXZYLnRr7219AMyhJ + - id: 8H3PRc11kp7pEsUGanQDoG sortOrder: 3 fieldKey: braze_id label: Braze User Identifier @@ -23447,7 +23447,7 @@ items: choices: null dynamic: false allowNull: true - - id: t92fxYyrAJxZnLDCRwq7Vz + - id: ms8v4dNJ7vaeGWDuBDQmrU sortOrder: 4 fieldKey: name label: Event Name @@ -23461,7 +23461,7 @@ items: choices: null dynamic: false allowNull: false - - id: hmQzrpFonxysbhaYfuurxG + - id: vt9Qhx441WZMz8yyndrxRY sortOrder: 5 fieldKey: time label: Time @@ -23475,7 +23475,7 @@ items: choices: null dynamic: false allowNull: false - - id: oz4zEp8Nrnp39xGyL4uvm7 + - id: pXKock3fSjHQmHmLJX8rHP sortOrder: 6 fieldKey: properties label: Event Properties @@ -23489,7 +23489,7 @@ items: choices: null dynamic: false allowNull: false - - id: 6U2fRgdQnWVMtXRSQc1xnR + - id: tr9s2UYZqMgginTwBV5yx2 sortOrder: 7 fieldKey: _update_existing_only label: Update Existing Only @@ -23504,7 +23504,7 @@ items: choices: null dynamic: false allowNull: false - - id: kAYeu1gEtcJDAoEjfzXNJZ + - id: bDyxikSqXCVdsfMzoSwMFa sortOrder: 8 fieldKey: enable_batching label: Batch Data to Braze @@ -23527,7 +23527,7 @@ items: hidden: false defaultTrigger: event = "Order Completed" fields: - - id: 3iHCY7pEXbLgRc7ha8jXEu + - id: nmQjEgM21v1FMyjh6jjTEa sortOrder: 0 fieldKey: external_id label: External User ID @@ -23541,7 +23541,7 @@ items: choices: null dynamic: false allowNull: false - - id: ts9FV5yDZbcwTJVLTcDXdn + - id: iQxTBVaU3v399dESHoFdLD sortOrder: 1 fieldKey: user_alias label: User Alias Object @@ -23555,7 +23555,7 @@ items: choices: null dynamic: false allowNull: false - - id: qzmvBgLmNhG6UctydRTmyN + - id: wAswWmSH4oFxMEyaP1TrWr sortOrder: 2 fieldKey: email label: Email @@ -23569,7 +23569,7 @@ items: choices: null dynamic: false allowNull: false - - id: ohGKWa2F2gq58CDvJTnRa9 + - id: 7GHennZN9fEcno4wvLze9d sortOrder: 3 fieldKey: braze_id label: Braze User Identifier @@ -23583,7 +23583,7 @@ items: choices: null dynamic: false allowNull: true - - id: iSTbsArgHqknDKSV2Pj7P1 + - id: r1faJnVeKTF1uMSk2ahxp9 sortOrder: 4 fieldKey: time label: Time @@ -23597,7 +23597,7 @@ items: choices: null dynamic: false allowNull: false - - id: kRAPSaT2253FsBiB3FSrgd + - id: d61Yxn3DrHNqAzECwmcmZ1 sortOrder: 5 fieldKey: products label: Products @@ -23611,7 +23611,7 @@ items: choices: null dynamic: false allowNull: false - - id: gwRK6CsMKJdXnW6NwCEQZW + - id: czM5i5jv9qsVHDsChA5a1X sortOrder: 6 fieldKey: properties label: Event Properties @@ -23625,7 +23625,7 @@ items: choices: null dynamic: false allowNull: false - - id: 8fciCUNZsuTkdaADgf2mvG + - id: fco3iGcJLN5WYiPEZH6XZc sortOrder: 7 fieldKey: _update_existing_only label: Update Existing Only @@ -23640,7 +23640,7 @@ items: choices: null dynamic: false allowNull: false - - id: v8CL9eUkogvXRzPnxWKFTL + - id: 37bkHhgRpu2mPq4kxGdZmR sortOrder: 8 fieldKey: enable_batching label: Batch Data to Braze @@ -23677,7 +23677,7 @@ items: hidden: false defaultTrigger: null fields: - - id: 52rdoB1FTQPFQwSMnTd5Yn + - id: 7wAKnZr6664Bthucnm3ZQj sortOrder: 0 fieldKey: external_id label: External ID @@ -23689,7 +23689,7 @@ items: choices: null dynamic: false allowNull: false - - id: vuFAwyJj3dRTVQQoxHEXp + - id: sk1oszwK89BKqaBqJbkDPr sortOrder: 1 fieldKey: user_alias label: User Alias Object @@ -23703,7 +23703,7 @@ items: choices: null dynamic: false allowNull: false - - id: uuisUF3EgMd4LYMmbKCFFj + - id: ia3PkBWqFYzqQ6Q1PogRvE sortOrder: 2 fieldKey: merge_behavior label: Merge Behavior @@ -23732,7 +23732,7 @@ items: hidden: false defaultTrigger: event = "Create Alias" fields: - - id: rxUcVZubWGaHjpfxGv397U + - id: jwjWpUqLuXYxLmLyhSij9L sortOrder: 0 fieldKey: external_id label: External ID @@ -23744,7 +23744,7 @@ items: choices: null dynamic: false allowNull: true - - id: qzTfrqukKo3HpiemkY6ZTd + - id: 3J3pcNHjV1ebT4QbBtSFsY sortOrder: 1 fieldKey: alias_name label: Alias Name @@ -23756,7 +23756,7 @@ items: choices: null dynamic: false allowNull: false - - id: sJ5AQ44tK2aLxyv6asidx3 + - id: fJSVZKap8ZFaUzax5vFu2R sortOrder: 2 fieldKey: alias_label label: Alias Label @@ -23776,7 +23776,7 @@ items: hidden: false defaultTrigger: type = "identify" fields: - - id: nNbRHTfivkbHKtVYjSyDX1 + - id: 73W4JCdbFGGwWYJFT9ozux sortOrder: 0 fieldKey: external_id label: External User ID @@ -23790,7 +23790,7 @@ items: choices: null dynamic: false allowNull: false - - id: epRvFSvVcCMHHdLtGd5cSV + - id: hf2PbivozqvbBnYCZF19x9 sortOrder: 1 fieldKey: user_alias label: User Alias Object @@ -23804,7 +23804,7 @@ items: choices: null dynamic: false allowNull: false - - id: fcGi7U9UFFwPSKQkSu3ZCe + - id: eGXuT7ifEi6huiMrXA7mtH sortOrder: 2 fieldKey: braze_id label: Braze User Identifier @@ -23818,7 +23818,7 @@ items: choices: null dynamic: false allowNull: true - - id: pdXAK2KiLXFV2x2ySsA7RG + - id: sJzXQEyZWv2GSiwnqt7YGj sortOrder: 3 fieldKey: country label: Country @@ -23832,7 +23832,7 @@ items: choices: null dynamic: false allowNull: true - - id: 5V3isSzkWUCgSzvAFXSYD7 + - id: iXeFjzENDPypdVk84RaRfF sortOrder: 4 fieldKey: current_location label: Current Location @@ -23849,7 +23849,7 @@ items: choices: null dynamic: false allowNull: true - - id: dpfdq4mtkJGUozf6WDmt7a + - id: xhvVBjr8FB7sRM5i3LQfys sortOrder: 5 fieldKey: date_of_first_session label: Date of First Session @@ -23861,7 +23861,7 @@ items: choices: null dynamic: false allowNull: true - - id: 8jSHxiGN4RD1Fjxy49spsS + - id: 9wLXd53AYP1vehdDexqZA5 sortOrder: 6 fieldKey: date_of_last_session label: Date of Last Session @@ -23873,7 +23873,7 @@ items: choices: null dynamic: false allowNull: true - - id: 8GL1ZMyRWu5r4Ma6Km3BTQ + - id: wJrJktCCM2b5pf7i279zbw sortOrder: 7 fieldKey: dob label: Date of Birth @@ -23885,7 +23885,7 @@ items: choices: null dynamic: false allowNull: true - - id: nLhGAZs6LHdZE3TXUi4ux8 + - id: 6UMEgUtYP3PdjWyqJNhK2G sortOrder: 8 fieldKey: email label: Email @@ -23899,7 +23899,7 @@ items: choices: null dynamic: false allowNull: true - - id: r33ZMFYevEsUwGqyWZwoow + - id: Ywic4AQkhsa74BvHSXt5p sortOrder: 9 fieldKey: email_subscribe label: Email Subscribe @@ -23914,7 +23914,7 @@ items: choices: null dynamic: false allowNull: false - - id: 3fCr9Tk1TLq2EibJ3vZ8Uz + - id: wvLfVTnwYed8r3duVA17Xk sortOrder: 10 fieldKey: email_open_tracking_disabled label: Email Open Tracking Disabled @@ -23928,7 +23928,7 @@ items: choices: null dynamic: false allowNull: false - - id: pHu3vrFDC1ZB3cWJmCymoo + - id: w3RhagRGKeRdP8HcTdbzUw sortOrder: 11 fieldKey: email_click_tracking_disabled label: Email Click Tracking Disabled @@ -23942,7 +23942,7 @@ items: choices: null dynamic: false allowNull: false - - id: hcZDHoeceZWXyf1FoAhCTP + - id: wti8BaHp3C9Z5yc5evv1iB sortOrder: 12 fieldKey: facebook label: Facebook Attribution Data @@ -23956,7 +23956,7 @@ items: choices: null dynamic: false allowNull: false - - id: fqsNFme8AtJLf2oSavwFZi + - id: i5WUyMTvfMQ3Sn466Kg8U9 sortOrder: 13 fieldKey: first_name label: First Name @@ -23970,7 +23970,7 @@ items: choices: null dynamic: false allowNull: true - - id: 51FCQ2iFzFWLHF5HFc6qFP + - id: eYcgrssN9E3ja4KdS7B3Kp sortOrder: 14 fieldKey: gender label: Gender @@ -23986,7 +23986,7 @@ items: choices: null dynamic: false allowNull: true - - id: k8BkV6HFKzUo3MrfNgJZet + - id: duPiSBdahmSC9Nba5YMqHQ sortOrder: 15 fieldKey: home_city label: Home City @@ -24000,7 +24000,7 @@ items: choices: null dynamic: false allowNull: true - - id: tfd4wVgvBQXnrVCXY6ffey + - id: kAzuB3rxqeFYfJ4qn5eN6s sortOrder: 16 fieldKey: image_url label: Image URL @@ -24014,7 +24014,7 @@ items: choices: null dynamic: false allowNull: true - - id: aVsj6td2y9Kx4Wxmvjhjum + - id: jXCBXvcBx9K68Te54C8m2t sortOrder: 17 fieldKey: language label: Language @@ -24026,7 +24026,7 @@ items: choices: null dynamic: false allowNull: true - - id: hpAPbmskessh2xLCNaZ5xS + - id: pUPadBHai8sogJYd2KGMuu sortOrder: 18 fieldKey: last_name label: Last Name @@ -24040,7 +24040,7 @@ items: choices: null dynamic: false allowNull: false - - id: i7VYfqNfSRyY4ijRG8RGqD + - id: hZwBuqr7xFyBPC7n7RjNbn sortOrder: 19 fieldKey: marked_email_as_spam_at label: Marked Email as Spam At @@ -24052,7 +24052,7 @@ items: choices: null dynamic: false allowNull: true - - id: 4AMhs5AqmJxD7iHNjfa4jh + - id: b9DqG3S9KD6zHGFxvDG7aZ sortOrder: 20 fieldKey: phone label: Phone Number @@ -24066,7 +24066,7 @@ items: choices: null dynamic: false allowNull: true - - id: fN3XyfDt85Wo9XF13o2mp3 + - id: hu6ycTCSBh6WjGF3F3rV5e sortOrder: 21 fieldKey: push_subscribe label: Push Subscribe @@ -24081,7 +24081,7 @@ items: choices: null dynamic: false allowNull: false - - id: 9W7YnSGEYXdFHSDp8Eqyfk + - id: qimfMGkj27DMRCinoTerdY sortOrder: 22 fieldKey: push_tokens label: Push Tokens @@ -24098,7 +24098,7 @@ items: choices: null dynamic: false allowNull: false - - id: h1KzAQkghErMParVQYmVP4 + - id: 5NEvLp37XTMZTB2WTGJyBH sortOrder: 23 fieldKey: time_zone label: Time zone @@ -24113,7 +24113,7 @@ items: choices: null dynamic: false allowNull: false - - id: mWegeLrK1pSRfdz7ndxmNG + - id: eEPfhdMVPXqA3brG4s5NNa sortOrder: 24 fieldKey: twitter label: Twitter Attribution Data @@ -24128,7 +24128,7 @@ items: choices: null dynamic: false allowNull: false - - id: j8FFbyFeAMCF4VaaZdNpBB + - id: kNVSEUduJ4HVH5BSzjLVzW sortOrder: 25 fieldKey: custom_attributes label: Custom Attributes @@ -24142,7 +24142,7 @@ items: choices: null dynamic: false allowNull: false - - id: rH4ZqgqLx5oRh2q1FMkPg2 + - id: guj6bxBhqCnWJLDURGi2yC sortOrder: 26 fieldKey: enable_batching label: Batch Data to Braze @@ -24165,7 +24165,7 @@ items: hidden: false defaultTrigger: type = "track" and event != "Order Completed" fields: - - id: wNMiNfNuZU2kdZMAjPRsvC + - id: nQpuSNMvbTYC4tiP5vuCM3 sortOrder: 0 fieldKey: external_id label: External User ID @@ -24179,7 +24179,7 @@ items: choices: null dynamic: false allowNull: false - - id: f6jVmEXzhAU1mBGinrCQ5M + - id: vXyDaJmu7tECwDCdazx8qM sortOrder: 1 fieldKey: user_alias label: User Alias Object @@ -24193,7 +24193,7 @@ items: choices: null dynamic: false allowNull: false - - id: 8TtMhkjC1NT58rYS4PqMYz + - id: wCgCskVonTYaDeAvgXHHhA sortOrder: 2 fieldKey: email label: Email @@ -24213,7 +24213,7 @@ items: choices: null dynamic: false allowNull: false - - id: sHUGG93hPPxjTdKgb8Ua2p + - id: dRKg2tMusnKuizBeRSxid4 sortOrder: 3 fieldKey: braze_id label: Braze User Identifier @@ -24227,7 +24227,7 @@ items: choices: null dynamic: false allowNull: true - - id: 7XYCRe2CSrXrXisXbM9hAc + - id: sZVpeeH4kqAMNLKnsCmg4Y sortOrder: 4 fieldKey: name label: Event Name @@ -24241,7 +24241,7 @@ items: choices: null dynamic: false allowNull: false - - id: vC6N79oJAxsJArd94fVMrA + - id: 5iUHDVJ72MWsdLsJHPkQVi sortOrder: 5 fieldKey: time label: Time @@ -24255,7 +24255,7 @@ items: choices: null dynamic: false allowNull: false - - id: iMDoAEEEiYnpc4pshjfBVN + - id: 5b61pZ4mwAotr394tuzfeS sortOrder: 6 fieldKey: properties label: Event Properties @@ -24269,7 +24269,7 @@ items: choices: null dynamic: false allowNull: false - - id: 3o7wEge8FK42GmjHXDEs3Z + - id: 3zXZSJNBvp9MCD6qFAFmr8 sortOrder: 7 fieldKey: enable_batching label: Batch Data to Braze @@ -24294,7 +24294,7 @@ items: hidden: false defaultTrigger: null fields: - - id: x6GrKzuaL3iWfSHHRdW92c + - id: eHz3d4e84JS3kmwF3ZPHfd sortOrder: 0 fieldKey: external_id label: External ID @@ -24306,7 +24306,7 @@ items: choices: null dynamic: false allowNull: false - - id: 6NkrDEeN6jBqGQwWSv2cmT + - id: rxDhtjPqqX48Xcc1RY4BrU sortOrder: 1 fieldKey: user_alias label: User Alias Object @@ -24320,7 +24320,7 @@ items: choices: null dynamic: false allowNull: false - - id: p9VBieeyFttdrFD3QJkSGD + - id: 6apsAkpFFFWh9FMAChH7yL sortOrder: 2 fieldKey: merge_behavior label: Merge Behavior @@ -24349,7 +24349,7 @@ items: hidden: false defaultTrigger: event = "Create Alias" fields: - - id: adHLBMSsY27yiyEzzC3Hcv + - id: 4UTqMYrJtcFdtcRugKAFhm sortOrder: 0 fieldKey: external_id label: External ID @@ -24361,7 +24361,7 @@ items: choices: null dynamic: false allowNull: true - - id: i2WpNqbcXFRYtjvYyhKd5B + - id: wsgRaFBx5SAurQTrmF9tev sortOrder: 1 fieldKey: alias_name label: Alias Name @@ -24373,7 +24373,7 @@ items: choices: null dynamic: false allowNull: false - - id: qutsqQZtcz44YbvNpFsctL + - id: 8oj3TvVtzVRimKKx5rjqA4 sortOrder: 2 fieldKey: alias_label label: Alias Label @@ -24393,7 +24393,7 @@ items: hidden: false defaultTrigger: event = "Order Completed" fields: - - id: 26qNY11A6C3VheuaVnvo8V + - id: ebLdUvgUbigeB1hAr12xoM sortOrder: 0 fieldKey: external_id label: External User ID @@ -24407,7 +24407,7 @@ items: choices: null dynamic: false allowNull: false - - id: mdxMKbj8bd32Y1HkcnP1ji + - id: aViyPeKH8qzqT9zy3SEhDg sortOrder: 1 fieldKey: user_alias label: User Alias Object @@ -24421,7 +24421,7 @@ items: choices: null dynamic: false allowNull: false - - id: uvsztKoHtSCLe8qpUTWqZE + - id: myYDc2sNPWQFxyLQBDsfb5 sortOrder: 2 fieldKey: email label: Email @@ -24435,7 +24435,7 @@ items: choices: null dynamic: false allowNull: false - - id: kGJ6m6V9TzsFKw4aaDuDgQ + - id: ohRg8GdXWAED8HavXrUfx8 sortOrder: 3 fieldKey: braze_id label: Braze User Identifier @@ -24449,7 +24449,7 @@ items: choices: null dynamic: false allowNull: true - - id: nyekkWNegAjeJ2jso5dDjJ + - id: ry7cUGYjV3FQ2bvzTwYidm sortOrder: 4 fieldKey: time label: Time @@ -24463,7 +24463,7 @@ items: choices: null dynamic: false allowNull: false - - id: dMzmXiBdmcv6dNj8iaiMZQ + - id: 2LpWSU9Ly4aMiaY2C8z4dB sortOrder: 5 fieldKey: products label: Products @@ -24477,7 +24477,7 @@ items: choices: null dynamic: false allowNull: false - - id: Yc8AoWAHGVbLWadENkafY + - id: 773Jwv1SGVCfysGJUssYcH sortOrder: 6 fieldKey: properties label: Event Properties @@ -24491,7 +24491,7 @@ items: choices: null dynamic: false allowNull: false - - id: PaCg9Qj9dXtHPPWA7YAcW + - id: 3V4dPMDH7sJzqHw1xkqrgN sortOrder: 7 fieldKey: enable_batching label: Batch Data to Braze @@ -24506,6 +24506,128 @@ items: choices: null dynamic: false allowNull: false + - id: bzGprD8nXKT6wAnbz4LuHA + name: Trigger Campaign + slug: triggerCampaign + description: Trigger a Braze Campaign via API-triggered delivery + platform: CLOUD + hidden: false + defaultTrigger: type = "track" + fields: + - id: frVxjjng97px27kMgWPkgA + sortOrder: 0 + fieldKey: campaign_id + label: Campaign ID + type: STRING + description: >- + The ID of the Braze campaign to trigger. The campaign must be an + API-triggered campaign created in Braze. + placeholder: '' + required: true + multiple: false + choices: null + dynamic: true + allowNull: false + - id: hzf8gAqF5dzYEnW4qm28gh + sortOrder: 1 + fieldKey: send_id + label: Send ID + type: STRING + description: >- + Optional string to identify the send. This can be used for send level + analytics, or to cancel a send. + placeholder: '' + required: false + multiple: false + choices: null + dynamic: false + allowNull: false + - id: evjms8z9F3mT1AmkKFFqZv + sortOrder: 2 + fieldKey: trigger_properties + label: Trigger Properties + type: OBJECT + description: >- + Optional data that will be used to personalize the campaign message. + Personalization key-value pairs that will apply to all users in this + request. + placeholder: '' + defaultValue: + '@path': $.properties + required: false + multiple: false + choices: null + dynamic: false + allowNull: false + - id: v2EQEDbxsXrtEU73SKwVMd + sortOrder: 3 + fieldKey: broadcast + label: Broadcast + type: BOOLEAN + description: >- + If set to true, and if the audience is not provided, the campaign will + be sent to all the users in the segment targeted by the campaign. It can + not be used with "recipients". + placeholder: '' + required: false + multiple: false + choices: null + dynamic: false + allowNull: false + - id: qzU9tkUdebo3ez8xgqbNJq + sortOrder: 4 + fieldKey: attachments + label: Attachments + type: OBJECT + description: Attachments to send along with the campaign. Limited to 2MB per file. + placeholder: '' + required: false + multiple: true + choices: null + dynamic: false + allowNull: false + - id: cU7Zn8PNVCCUgSdKWgqWcu + sortOrder: 5 + fieldKey: recipients + label: Recipients + type: OBJECT + description: >- + An array of user identifiers to send the campaign to. It can not be used + with "broadcast". + placeholder: '' + required: false + multiple: true + choices: null + dynamic: false + allowNull: false + - id: 7FqZXBLiyfFZZVvEdfGiTZ + sortOrder: 6 + fieldKey: prioritization + label: Prioritization + type: OBJECT + description: >- + Prioritization settings; required when using email in recipients. This + prioritization will be applied to all recipients. + placeholder: '' + required: false + multiple: false + choices: null + dynamic: false + allowNull: false + - id: fh4Dpnn5wQNCLdeARBUvNw + sortOrder: 7 + fieldKey: audience + label: Audience + type: OBJECT + description: >- + A standard audience object to specify the users to send the campaign to. + Including "audience" will only send to users in the audience + placeholder: '' + required: false + multiple: false + choices: null + dynamic: false + allowNull: false presets: - actionId: vE7Gf9yobj2gTuMBhwmg7g name: Order Completed Calls @@ -24526,31 +24648,6 @@ items: enable_batching: true batch_size: 75 trigger: event = "Order Completed" - - actionId: 3pnc4QJvUjWGi2bp6EnDt - name: Track Calls - fields: - external_id: - '@path': $.userId - email: - '@if': - exists: - '@path': $.context.traits.email - then: - '@path': $.context.traits.email - else: - '@path': $.properties.email - braze_id: - '@path': $.properties.braze_id - name: - '@path': $.event - time: - '@path': $.receivedAt - properties: - '@path': $.properties - _update_existing_only: false - enable_batching: true - batch_size: 75 - trigger: type = "track" and event != "Order Completed" - actionId: 2P24zUSAL8BUpyGYNGmD7M name: Identify Calls fields: @@ -24585,6 +24682,31 @@ items: enable_batching: true batch_size: 75 trigger: type = "identify" + - actionId: 3pnc4QJvUjWGi2bp6EnDt + name: Track Calls + fields: + external_id: + '@path': $.userId + email: + '@if': + exists: + '@path': $.context.traits.email + then: + '@path': $.context.traits.email + else: + '@path': $.properties.email + braze_id: + '@path': $.properties.braze_id + name: + '@path': $.event + time: + '@path': $.receivedAt + properties: + '@path': $.properties + _update_existing_only: false + enable_batching: true + batch_size: 75 + trigger: type = "track" and event != "Order Completed" partnerOwned: false - id: 63872c01c0c112b9b4d75412 display_name: Braze Cohorts @@ -94123,7 +94245,7 @@ items: previous_names: - PlayerZero Web website: http://www.playerzero.ai - status: PUBLIC + status: PRIVATE_BETA categories: - Analytics - Performance Monitoring diff --git a/src/_data/catalog/destinations_private.yml b/src/_data/catalog/destinations_private.yml index 5c270665c6..7b4f56b5d5 100644 --- a/src/_data/catalog/destinations_private.yml +++ b/src/_data/catalog/destinations_private.yml @@ -1,5 +1,5 @@ # AUTOGENERATED FROM PUBLIC API. DO NOT EDIT -# destination data last updated 2025-06-20 +# destination data last updated 2025-06-24 items: - id: 54521fd925e721e32a72eee1 display_name: Pardot diff --git a/src/_data/catalog/source_categories.yml b/src/_data/catalog/source_categories.yml index aee7fe1347..e05c10f2ce 100644 --- a/src/_data/catalog/source_categories.yml +++ b/src/_data/catalog/source_categories.yml @@ -1,5 +1,5 @@ # AUTOGENERATED FROM PUBLIC API. DO NOT EDIT -# source categories last updated 2025-06-20 +# source categories last updated 2025-06-24 items: - display_name: A/B testing slug: a-b-testing diff --git a/src/_data/catalog/sources.yml b/src/_data/catalog/sources.yml index c5fe7d2bea..67e4abcf91 100644 --- a/src/_data/catalog/sources.yml +++ b/src/_data/catalog/sources.yml @@ -1,5 +1,5 @@ # AUTOGENERATED FROM PUBLIC API. DO NOT EDIT -# sources last updated 2025-06-20 +# sources last updated 2025-06-24 items: - id: 8HWbgPTt3k display_name: .NET