Skip to content

Include WhatsApp Status Context in Chatwoot Messages #1991

@trojantm

Description

@trojantm

🚀 Feature: Include WhatsApp Status Context in Chatwoot Messages

📌 Problem

When a user replies to a WhatsApp Status, the message is delivered to Chatwoot, but there is no information about which status was replied to.

This makes it impossible for agents to understand the context of the message.


🔍 Current Behavior

  • WAHA receives the message event correctly
  • The message is forwarded to Chatwoot
  • Status context (e.g. status@broadcast, contextInfo, quotedMessage) is not included

✅ Expected Behavior

When a user replies to a status, the message sent to Chatwoot should include:

  • Indicator that it's a status reply

  • Reference to the original status (if available)

  • Metadata such as:

    • contextInfo
    • quotedMessage
    • remoteJid (e.g. status@broadcast)

💡 Suggested Implementation

Option 1: Enrich message text

[Reply to Status]
User message here...

Option 2: Add metadata to payload

{
  "text": "User message",
  "metadata": {
    "isStatusReply": true,
    "statusId": "...",
    "contextInfo": { ... }
  }
}

Option 3: Attach original status (if media exists)


📎 Additional Context

This is especially important for:

  • Sales / support teams using status as marketing
  • Understanding customer intent
  • Avoiding confusion in conversations

🙌 Benefit

Improves context awareness in Chatwoot and enables better automation and agent responses.

patron:PLUS

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions