From c4f8ded657f261f2004e8ba211e763df00f5e079 Mon Sep 17 00:00:00 2001 From: Eric Date: Fri, 23 Jan 2026 15:35:33 -0600 Subject: [PATCH] Website: Update values to match CRM picklist values (#38734) Changes: - Updated the accepted `intentSingal` values in the receive-from-clay webhook and the createHistoricalEvent helper to match the picklist values in Salesforce - updated a "most recent/source channel details" value set in the updateOrCreateContactAndAccount helper to match the picklist value in Salesforce. --- website/api/controllers/webhooks/receive-from-clay.js | 2 +- website/api/helpers/salesforce/create-historical-event.js | 2 +- .../helpers/salesforce/update-or-create-contact-and-account.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/website/api/controllers/webhooks/receive-from-clay.js b/website/api/controllers/webhooks/receive-from-clay.js index 7223c4242c..fe789977ac 100644 --- a/website/api/controllers/webhooks/receive-from-clay.js +++ b/website/api/controllers/webhooks/receive-from-clay.js @@ -59,7 +59,7 @@ module.exports = { 'Fleet channel member in MacAdmins Slack', 'Fleet channel member in osquery Slack', 'Implemented a trial key', - 'Signed up Fleet event', + 'Signed up for Fleet event', 'Engaged with Fleetie at event', 'Attended a Fleet happy hour', 'Stared the fleetdm/fleet repo on GitHub', diff --git a/website/api/helpers/salesforce/create-historical-event.js b/website/api/helpers/salesforce/create-historical-event.js index 6ecf9beb85..217e47d557 100644 --- a/website/api/helpers/salesforce/create-historical-event.js +++ b/website/api/helpers/salesforce/create-historical-event.js @@ -50,7 +50,7 @@ module.exports = { 'Fleet channel member in MacAdmins Slack', 'Fleet channel member in osquery Slack', 'Implemented a trial key', - 'Signed up Fleet event', + 'Signed up for Fleet event', 'Engaged with Fleetie at event', 'Attended a Fleet happy hour', 'Stared the fleetdm/fleet repo on GitHub', diff --git a/website/api/helpers/salesforce/update-or-create-contact-and-account.js b/website/api/helpers/salesforce/update-or-create-contact-and-account.js index 04bb93dfc9..f5eb1e7c3f 100644 --- a/website/api/helpers/salesforce/update-or-create-contact-and-account.js +++ b/website/api/helpers/salesforce/update-or-create-contact-and-account.js @@ -191,7 +191,7 @@ module.exports = { if(!marketingAttributionCookie.referrer || marketingAttributionCookie.referrer === 'https://fleetdm.com/') { // If no referrer is set, or the referrer is set to the Fleet website, we'll assume this user came to the website directly - attributionDetails.sourceChannelDetails = 'Direct Traffic (DT)'; + attributionDetails.sourceChannelDetails = 'Direct traffic (DT)'; attributionDetails.campaign = 'Default-DT-Direct'; } else { // Otherwise, we'll check the referer value and attempt to categorize the referer.