Event Enrichment (Fallback)
Backend always enrich activity ID if not provided. For the data_value field, there are 2 scenarios for backend to enrich the data_value
When you provide
typebut not providemessageWhen you don't provide any
messageandtype
⚠️If you provide
messagefield, GLChat preserves it as-is
Case 1: Provide Type Only
If you provide type field without any message, GLChat will create the message for you. The message will be Performing {type} action
Example input:
{
"data_type": "activity",
"id": "aabbcc",
"data_value":
"{\"type\": \"extract_table\",
\"table_name\": \"pricing\",
\"rows\": 15}"
}For this case, GLChat will create message:
Performing extract_table actionCase 2: Not Provide Type and Message
If you not provide type and message field, GLChat will create a markdown-formatted message from all fields.
Example data_value:
For this case, GLChat will create message:
⚠️ Limitation: Auto-generated messages are less user-friendly than custom messages. Always provide message.
Last updated