diff --git a/website/api/controllers/save-questionnaire-progress.js b/website/api/controllers/save-questionnaire-progress.js index 2571eb1fd1..2c4182df47 100644 --- a/website/api/controllers/save-questionnaire-progress.js +++ b/website/api/controllers/save-questionnaire-progress.js @@ -216,6 +216,9 @@ module.exports = { } catch(err){ sails.log.warn(`When converting a user's (email: ${this.req.me.emailAddress}) getStartedQuestionnaireAnswers to a formatted string to send to the CRM, and error occurred`, err); } + // Prepend the user's reported organization to the questionnaireProgressAsAFormattedString + questionnaireProgressAsAFormattedString = `organization-acording-to-fleetdm.com: ${this.req.me.organization}\n` + questionnaireProgressAsAFormattedString; + // Create a dictionary of values to send to the CRM for this user. let contactInformation = { emailAddress: this.req.me.emailAddress,