WhatsApp Business Platform

Conversation context

Updated: Nov 4, 2026
Copy for LLM
conversation_context carries an AI-generated summary of the conversation so far, so a responder picking up a conversation has context without receiving the full message history. It is delivered on two webhooks: the incoming message webhook (messages field) and the control_passedmessaging_handovers event.
The field has the type "summary" and carries the summary text in summary.text:
{
  "conversation_context": {
    "type": "summary",
    "summary": {
      "text": "AI-generated summary string"
    }
  }
}

When it is included

conversation_context is not sent on every webhook. It is included only when the receiving responder would otherwise be missing context — when both of the following hold:
  1. The receiving responder is not receiving standby events. A partner that has been observing through standby already has the context, so no summary is sent. The two mechanisms are mutually exclusive — for a given conversation you receive exactly one.
  2. The business is eligible for the summary — Meta Business Agent is offered for the business’s region and vertical, and the business has accepted the required terms.
When those conditions hold, the summary is delivered in these scenarios:
  • Handover — control is passed to you (control_passed).
  • Initial assignment — the first inbound message on a thread that was idle, where you are picking up a fresh conversation.
  • Mid-conversation messages from another responder — if another responder sends a Marketing, Utility, or Authentication message during your active conversation, a summary covering that activity is included on your next incoming message webhook.
Warning: Treat conversation_context as optional in your code. Do not assume it is present. Fall back to your own state, or to standby history if you have it.

Example summaries

The summary.text above is a placeholder. In production it is a short, model-generated recap of the conversation so far. The following examples show the level of detail to expect across the delivery scenarios.
Handover on a short thread. A WhatsApp user asks to change a birthday cake order from vanilla to chocolate; the business cannot modify custom bakery orders and transfers the conversation.
  • Customer requested to change the flavor of order JM-40182 from vanilla to chocolate.
  • The business identified the order as a 10in Vanilla Celebration Cake for pickup on Saturday, August 15 at 2pm.
  • The request is unresolved as the business stated they cannot modify the order and is transferring the customer to a specialist.
Multi-issue thread with live commitments. A 20-turn grocery support thread covering a partial refund, a quality report, and a delivery-window escalation.
  • Customer reported order JM-40918 was missing three items ($18.40) and the rotisserie chicken ($12.99) was spoiled.
  • The business processed a refund for the missing items (R-77310) and raised a quality report for the spoiled item (QR-5521), which requires two business days for review.
  • The customer requested a transfer to the scheduling team to guarantee deliveries do not occur before 10am, as previous orders arrived at 7am.
Long message with the request at the end. A long message from a WhatsApp user where the actual request is the final sentence.
  • The customer requested a waiver for a $45 late fee on their August statement, noting missed payments on June 12 and July 9.
  • The customer provided background regarding their history with the business since 2019, including a hospital stay in March and an account number change.
  • The business stated they would look into the matter, which remains unresolved.
Two behaviors are worth designing around:
  • Identifiers and amounts are preserved verbatim. Order numbers, refund and report references, and currency amounts pass through unchanged, so you can act on them directly.
  • Open items are framed as unresolved. A summary never implies a refund landed, a delivery window was set, or a report closed when the conversation only shows it was raised. Do not build logic that treats a summarized commitment as completed.
Note: Summaries are model-generated. Treat summary.text as human-readable prose, not structured data — do not parse it for fields or rely on a fixed format.

Example payloads

Incoming message webhook

Delivered on the messages field when a WhatsApp user’s message is routed to you. conversation_context appears alongside the messages array.
{
  "object": "whatsapp_business_account",
  "entry": [
    {
      "id": "<WHATSAPP_BUSINESS_ACCOUNT_ID>",
      "changes": [
        {
          "field": "messages",
          "value": {
            "messaging_product": "whatsapp",
            "metadata": {
              "display_phone_number": "<PHONE_NUMBER>",
              "phone_number_id": "<PHONE_NUMBER_ID>"
            },
            "contacts": [
              {
                "profile": {
                  "name": "<WHATSAPP_USER_PROFILE_NAME>",
                  "username": "<USERNAME>" <!-- only included if user has adopted a username -->
                },
                "wa_id": "<WA_ID>", <!-- omitted if user's phone number is unavailable -->
                "user_id": "<BSUID>"
              }
            ],
            "messages": [
              {
                "from": "<WA_ID>", <!-- omitted if user's phone number is unavailable -->
                "from_user_id": "<BSUID>",
                "id": "<MESSAGE_ID>",
                "timestamp": "<TIMESTAMP>",
                "text": {
                  "body": "Hello, I need help with my order"
                },
                "type": "text"
              }
            ],
            "conversation_context": {
              "type": "summary",
              "summary": {
                "text": "AI-generated summary string"
              }
            }
          }
        }
      ]
    }
  ]
}

control_passed handover webhook

Delivered on the messaging_handovers field when a pass action transfers control to you.
{
  "object": "whatsapp_business_account",
  "entry": [
    {
      "id": "<WHATSAPP_BUSINESS_ACCOUNT_ID>",
      "changes": [
        {
          "field": "messaging_handovers",
          "value": {
            "messaging_product": "whatsapp",
            "sender": {
              "phone_number": "<WHATSAPP_USER_PHONE_NUMBER>" <!-- omitted if user's phone number is unavailable -->
            },
            "recipient": {
              "phone_number_id": "<PHONE_NUMBER_ID>",
              "display_phone_number": "<PHONE_NUMBER>"
            },
            "type": "control_passed",
            "timestamp": "<TIMESTAMP>",
            "control_passed": {
              "previous_owner_role": "ai_agent",
              "new_owner_role": "escalation",
              "metadata": "WhatsApp user requested human agent",
              "conversation_context": {
                "type": "summary",
                "summary": {
                  "text": "AI-generated summary string"
                }
              }
            }
          }
        }
      ]
    }
  ]
}

See also

  • Thread control — pass, release, and take ownership, and the events that fire.
  • Standby partners — receive real-time event-by-event visibility instead of a summary.