From 54ba38716ca36cca793a8dd5feb88072f473ce91 Mon Sep 17 00:00:00 2001 From: Sam Pfluger <108141731+Sampfluger88@users.noreply.github.com> Date: Thu, 29 Jan 2026 18:01:24 -0600 Subject: [PATCH] Change linkedinUrl requirement to optional (#39033) @eashaw trying to fire this when I don't have a LinkedIn. Any objections? --------- Co-authored-by: Eric --- website/api/controllers/webhooks/receive-from-clay.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/website/api/controllers/webhooks/receive-from-clay.js b/website/api/controllers/webhooks/receive-from-clay.js index fe789977ac..0f42f8b8fb 100644 --- a/website/api/controllers/webhooks/receive-from-clay.js +++ b/website/api/controllers/webhooks/receive-from-clay.js @@ -24,7 +24,9 @@ module.exports = { }, linkedinUrl: { type: 'string', - required: true, + }, + emailAddress: { + type: 'string', }, contactSource: { type: 'string', @@ -90,7 +92,7 @@ module.exports = { }, - fn: async function ({webhookSecret, firstName, lastName, linkedinUrl, contactSource, jobTitle, intentSignal, historicalContent, historicalContentUrl, relatedCampaign}) { + fn: async function ({webhookSecret, firstName, lastName, linkedinUrl, contactSource, jobTitle, intentSignal, historicalContent, historicalContentUrl, relatedCampaign, emailAddress}) { if (!sails.config.custom.clayWebhookSecret) { @@ -106,6 +108,7 @@ module.exports = { firstName, lastName, linkedinUrl, + emailAddress, contactSource, jobTitle, })