How it works
1. Configure the URL
1. Configure the URL
In the node, enter the URL of your web interface in the corresponding field. The flow sends that link to the user as a button or link in the chat.The URL the user receives has this format (the If your URL already has other query params, it is added with
The
executionId is always added as a parameter in the URL when the WebView is opened. Your page must read it from the URL and send it in the callback.executionId is added automatically):&: https://your-domain.com?foo=1&executionId=<value>.2. The user opens the WebView
2. The user opens the WebView
The user clicks the button and completes the action in the web interface (payment, form, etc.).
3. Your server sends the callback
3. Your server sends the callback
When the user finishes, your web page must send the callback data and the Request headers (JSON, server-side only):Use an API key with the Execute Brain Studio workflows permission. Set it up in Settings → API Keys.Request body (JSON):
executionId to your server, and your server must call the callback endpoint to unblock the flow.Endpoint (POST method, called from your server):While waiting
When the flow-blocking option is enabled, if the user writes something in the chat while the WebView is open:- They receive the message configured in Waiting message.
- The flow does not advance until the WebView responds or the expiration time is reached.
Three possible outputs
When flow blocking is enabled, each callback result connects to a different branch through its own edge:Connect all three edges of the WebView node to the corresponding nodes: one for success, one for error, and one for when the time expires.