https://discord.gg/botpress logo
Hi <@1199357666032631880>, since you have only one...
# 💻developers
c
Hi @enough-angle-89856, since you have only one autonomous node in your workflow, you can conditionally skip the before_llmz_execution hook for WhatsApp messages by adding a simple check at the start of the hook.
Copy code
function before_llmz_execution(context) {
  if (context.channel === "whatsapp") {
    // Skip this hook for WhatsApp
    return;
  }
  
  // Your normal hook logic here
}
This way, the rest of your bot continues working, and you avoid errors caused by missing integrations on WhatsApp