Wait for Callback

Wait for an external system to initiate a callback

post
/chat/callback

The Wait for Callback node was created to facilitate an asynchronous process external to Chat Flow. For example waiting for an external client system to generate an invoice. This node will block the flow until a callback was received or the timed out was reached. The timeout is 1 minute less that the session length. This node should be used in conjunction with the Set Variable Node to first set a UUID as a variable and then use that UUID in the Reference Field on the node and in the Callback API so that the Callback Handler can identify that the callback belong to a specific session. Once the callback is received the end-user can then continue with the conversational workflow according to the steps defined in Flow.

Header parameters
referencestringRequired

A reference to be passed as a header.

Body
objectOptionalExample: {"body":{"read":100},"result":{"ben":10}}
Responses
chevron-right
202

Successfully validated the response and returned data appended to matched session.

No content

post
/chat/callback

No content

Last updated