From 94714fe749f02654d5be5c7aaecc6c7886dd3abc Mon Sep 17 00:00:00 2001 From: Ravi Gulhane <> Date: Mon, 17 Aug 2026 09:50:52 +0530 Subject: [PATCH] Skip RAG inbound when reception WhatsApp is enabled on the bot. Co-authored-by: Cursor --- src/services/conciergeInbound.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/services/conciergeInbound.js b/src/services/conciergeInbound.js index a3f193c..e8ae10b 100644 --- a/src/services/conciergeInbound.js +++ b/src/services/conciergeInbound.js @@ -113,6 +113,10 @@ async function processInboundMessage(jobData) { status: 'ACTIVE', }).populate('event', 'name joinCode organization'); if (!bot) return; + if (bot.reception && bot.reception.enabled) { + console.log('[inbound] skipping RAG; reception is enabled for this bot'); + return; + } const eventId = bot.event._id || bot.event; const eventName = bot.event.name || 'Event';