From 900298f638c062fba56f945b61cb13d6567b333b Mon Sep 17 00:00:00 2001 From: Eric Date: Mon, 4 Nov 2024 15:59:39 -0600 Subject: [PATCH] Website: Update contacts created by talk to us form submissions (#23498) Closes: #23277 Changes: - Added the submitted number of hosts to the description of contacts created by "talk to us" form submissions --- website/api/controllers/deliver-talk-to-us-form-submission.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/api/controllers/deliver-talk-to-us-form-submission.js b/website/api/controllers/deliver-talk-to-us-form-submission.js index 9a05339813..e7962954a1 100644 --- a/website/api/controllers/deliver-talk-to-us-form-submission.js +++ b/website/api/controllers/deliver-talk-to-us-form-submission.js @@ -82,7 +82,7 @@ module.exports = { organization: organization, primaryBuyingSituation: primaryBuyingSituation === 'eo-security' ? 'Endpoint operations - Security' : primaryBuyingSituation === 'eo-it' ? 'Endpoint operations - IT' : primaryBuyingSituation === 'mdm' ? 'Device management (MDM)' : primaryBuyingSituation === 'vm' ? 'Vulnerability management' : undefined, contactSource: 'Website - Contact forms', - description: `Submitted the "Talk to us" form and was taken to the Calendly page for the "Talk to us" event.`, + description: `Submitted the "Talk to us" form and was taken to the Calendly page for the "Talk to us" event. Number of hosts: ${numberOfHosts}`, psychologicalStage: '4 - Has use case', psychologicalStageChangeReason: 'Website - Contact forms' }).exec((err)=>{ @@ -98,7 +98,7 @@ module.exports = { organization: organization, primaryBuyingSituation: primaryBuyingSituation === 'eo-security' ? 'Endpoint operations - Security' : primaryBuyingSituation === 'eo-it' ? 'Endpoint operations - IT' : primaryBuyingSituation === 'mdm' ? 'Device management (MDM)' : primaryBuyingSituation === 'vm' ? 'Vulnerability management' : undefined, contactSource: 'Website - Contact forms', - description: `Submitted the "Talk to us" form and was taken to the Calendly page for the "Let\'s get you set up!" event.`, + description: `Submitted the "Talk to us" form and was taken to the Calendly page for the "Let\'s get you set up!" event. Number of hosts: ${numberOfHosts}`, }).exec((err)=>{ if(err) { sails.log.warn(`Background task failed: When a user submitted the "Talk to us" form, a lead/contact could not be updated in the CRM for this email address: ${emailAddress}.`, err);