mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 08:58:41 +00:00
Website: Update leads created from "Talk to us" form submissions. (#20140)
Related to: #20107 Changes: - Updated the description of leads created from "Talk to us" form submissions to include the name of the Calendly event.
This commit is contained in:
parent
fceff75c7c
commit
2e19e37a0a
1 changed files with 3 additions and 3 deletions
|
|
@ -36,9 +36,9 @@ module.exports = {
|
|||
},
|
||||
|
||||
numberOfHosts: {
|
||||
type: 'string',
|
||||
type: 'number',
|
||||
required: true,
|
||||
description: 'The organization of the user who submitted the "talk to us" form'
|
||||
description: 'The number of hosts the user who submitted the "talk to us" form has.'
|
||||
},
|
||||
|
||||
primaryBuyingSituation: {
|
||||
|
|
@ -84,7 +84,7 @@ module.exports = {
|
|||
numberOfHosts: numberOfHosts,
|
||||
primaryBuyingSituation: primaryBuyingSituation === 'eo-security' ? 'Endpoint operations - Security' : primaryBuyingSituation === 'eo-it' ? 'Endpoint operations - IT' : primaryBuyingSituation === 'mdm' ? 'Device management (MDM)' : primaryBuyingSituation === 'vm' ? 'Vulnerability management' : undefined,
|
||||
leadSource: 'Website - Contact forms',
|
||||
leadDescription: `Submitted the "Talk to us" form.`,
|
||||
leadDescription: `Submitted the "Talk to us" form and was taken to the Calendly page for the "${numberOfHosts > 700 ? 'Talk to us' : 'Let\'s get you set up!'}" event.`,
|
||||
}).tolerate((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);
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue