Contextual Message Received

How to Use the “Contextual Message Received” Event in Botassium

Sometimes, it's not about the exact words a user sends—it’s about the meaning behind them. With the “Contextual Message Received” event, you can trigger flows based on the intent or context of a WhatsApp message using AI.

This guide explains how to use this event to detect message meaning and move to the next step in your automation.

What is the “Contextual Message Received” Event?

The Contextual Message Received node is an AI-powered event trigger that activates when the meaning of an incoming message matches a specific context you define, even if the message doesn’t include exact keywords.

It uses language models from OpenAI and OpenRouter to understand:

  • What the user is trying to do

  • Whether the message aligns with a use-case you set (e.g., “user wants to check Apple Watch availability”)

How to Set It Up

  1. Go to the Automations Tab
    Open your Botassium dashboard and navigate to Automations.

  2. Create or Edit a Flow
    Add this event where you'd like to respond based on message meaning rather than keywords.

  3. Drag in the “Contextual Message Received” Node
    You'll find it in the Events section.


  4. Define the Expected Context
    In the node settings, describe the context the incoming message should be about.
    Example: User is asking about Apple Watch product availability

  5. Select an AI Model
    Choose from supported models under:

    • OpenAI (e.g., GPT-3.5, GPT-4)

    • OpenRouter (e.g., Claude, Mixtral, etc.)

    These models analyze the message to determine if it matches your defined context.

  6. Connect to Actions
    If the AI confirms that the message matches the context, the flow continues.
    For example:

    • Send product availability details

    • Ask a follow-up question

    • Log the inquiry in your CRM

Example Use Case

Your business sells smartwatches, and you want to detect when someone is asking about Apple Watch stock without requiring exact keywords.

  1. Use Contextual Message Received

  2. Define the context: “User is asking about Apple Watch product availability”

  3. Select GPT-4 as your AI model

  4. If a user says “Do you have the Series 9 in stock?”, the AI matches it to the context

  5. Trigger a response with stock details or a product inquiry form

This event is available on WhatsApp and is especially helpful in sales inquiries, intelligent support flows, multilingual understanding, and natural language detection scenarios where messages can vary in wording but share a clear intent.

يتكامل بسلاسة مع أدواتك المفضلة

قم بإنشاء روبوتات محادثة قوية لـ واتساب بنقرات قليلة فقط.

ابدأ الآن

انضم إلى نشرتنا الإخبارية عبر البريد الإلكتروني

يتكامل بسلاسة مع أدواتك المفضلة

قم بإنشاء روبوتات محادثة قوية لـ واتساب بنقرات قليلة فقط.

ابدأ الآن

انضم إلى نشرتنا الإخبارية عبر البريد الإلكتروني

يتكامل بسلاسة مع أدواتك المفضلة

قم بإنشاء روبوتات محادثة قوية لـ واتساب بنقرات قليلة فقط.

ابدأ الآن

انضم إلى نشرتنا الإخبارية عبر البريد الإلكتروني