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 3388a161fb..891d69154d 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 @@ -103,6 +103,7 @@ module.exports = { } else { // If no existing account record was found, create a new one. // Create a timestamp to use for the new account's assigned date. + salesforceAccountOwnerId = '0054x00000735wDAAQ';// « "Integrations admin" user. let today = new Date(); let nowOn = today.toISOString().replace('Z', '+0000'); @@ -117,6 +118,7 @@ module.exports = { Website: enrichmentData.employer.emailDomain, LinkedIn_company_URL__c: enrichmentData.employer.linkedinCompanyPageUrl,// eslint-disable-line camelcase NumberOfEmployees: enrichmentData.employer.numberOfEmployees, + OwnerId: salesforceAccountOwnerId }); salesforceAccountId = newAccountRecord.id; }//fi