Trust layer active? → method 3 (external form)
Simple AUTHORIZE → method 1 (inline) if buttons, else method 3
COLLECT closed options → method 1 if selects/buttons, else method 3
COLLECT free-text (1 field) → method 2 (capture hierarchy: thread → reply → DM → method 3)
COLLECT multiple fields → method 3
Multiple A2H intents → method 4 (batch form)
INFORM → fire-and-forget
ESCALATE → escalation handler
Summary
Implement the Reply Engine — the component that processes the
messagefield from recipient inbound requests, classifies each item (Chat SDK vs A2H), selects the appropriate reply method, and orchestrates rendering and response collection.Tasks
Message Processing
messagefield: normalize single object to 1-item arrayintent= A2H, otherwise = Chat SDKChannelAdapter.renderChatSDK()A2H Method Selection (decision tree)
ChannelAdapter.renderA2HInline()ChannelAdapter.captureResponse()with capture hierarchyResponse Collection
INFORM) until response receivedAcceptance Criteria
Dependencies
References