
Project | Value |
Method | POST |
Content-Type | application/json; charset=utf-8 |
Destination Address | The pushUrl configured in the canvas |
Header | Description |
Content-Type | application/json; charset=utf-8 |
X-TCCC-PUSH-UUID | A unique identifier for the push, used for deduplication. Retries for the same push carry the same UUID. |
{"sessionId": "session-xxx","sdkAppId": 1400000000,"summary": "The user called to inquire about a refund question for order number 20240601001, and the refund eligibility has been confirmed.""summaryError": "","messages": [{"timestampMs": 1718000001000,"role": "user","content": "Hello, I want a refund.""roundId": "round-1","userId": "user-001"},{"timestampMs": 1718000002000,"role": "assistant","content": "Okay, please provide your order number.""roundId": "round-1"},{"timestampMs": 1718000003000,"role": "user","content": "20240601001","roundId": "round-2","userId": "user-001"},{"timestampMs": 1718000004000,"role": "assistant","content": "Your order has been found, and you are now being transferred to an Agent.""roundId": "round-2"}],"variables": {"orderNo": "20240601001","customerName": "Zhang San","refundReason": "Product quality issue"},"timestamp": 1718000005000}
Field | Type | Description |
sessionId | string | Conversation ID |
sdkAppId | number | Application ID |
summary | string | Call summary text. Empty when not enabled or generation fails. |
summaryError | string | Error message when summary generation fails |
messages | array | List of conversation records (structure is the same as the messages in S2C; see Section 3) |
variables | object | Variable key-value pairs |
timestamp | number | Push timestamp (millisecond-level Unix timestamp) |
summary indicates that the summary was generated successfully. A non-empty summaryError indicates that the generation failed. If both are empty, it indicates that the summary feature is not enabled.ErrCode of 0 indicates successful receipt. A non-zero ErrCode or a non-JSON response will trigger a retry.{"ErrCode": 0,"ErrMsg": "success"}
Project | Value |
Maximum Number of Retries | 3 times |
Retry Interval | Exponential backoff: 1s → 2s → 4s |
Timeout period | 5 seconds per request |
Deduplication identifier | X-TCCC-PUSH-UUID (remains unchanged during retries) |
Type | pushAuthType Value | Description |
No Authentication | Leave it blank or "nil" | No authentication header added |
BasicAuth | "basic" | Add the Authorization: Basic base64(username:password) header to the request. |
OAuth2 | "oauth2" | Use the client credentials grant to obtain an access_token, and add the Authorization: Bearer <token> header to the request. |
Node | Purpose |
Core interaction unit plays prompts, listens to user replies, classifies replies, and branches. | |
Exchanges data with external systems during a call (for example, queries orders, writes back results). | |
Explicitly writes or updates variables within a flow (sets default values, derives values, normalizes slots). | |
Branches based on variable values using comparison operators a generalized if/else if/else logic. | |
Branches based on date, time, and time zone (for example, business hours or non-business hours). | |
Collects numeric keypad inputs (0–9, *, #) applicable to menu-based IVR branching, Captcha/PIN entry, or numeric data collection. | |
Transfers the call to an Agent skill group. | |
Transfers the call to another AI Agent (dialog flow or proprietary model), retaining conversation history and variables. | |
Terminates the call with an optional closing message. |
Apakah halaman ini membantu?
Anda juga dapat Menghubungi Penjualan atau Mengirimkan Tiket untuk meminta bantuan.
masukan