T
Typebot•2mo ago
Opti-Red

http request data

Hi, I am testing the HTTP Request Block. When I used test variables for a GET api from Botpress, I got this output: =========== { "statusCode": 200, "data": { "messages": [ { "id": "7c4dc99f-e38a-4903-b8d0-0bb168dfdc31", "createdAt": "2025-08-28T06:44:32.087Z", "conversationId": "conv_01K3QPQ11QAQ09E1WY2GXE9D8Q", "userId": "user_01K3AS4J4NCCBS6GAPM36WEEQA", "payload": { "type": "choice", "text": "Hello! 👋 Welcome to XXX customer support. \n \nHow can I assist you today? \nYou can ask about our curtains, blinds, installation process, pricing, warranty, or any other service we offer.", "options": [ { "label": "Browse curtain options", "value": "Browse curtain options" }, { "label": "Ask about installation", "value": "Ask about installation" }, { "label": "Get a price estimate", "value": "Get a price estimate" }, { "label": "Warranty & after-sales support", "value": "Warranty & after-sales support" } ] } }, { "id": "0ac95884-238e-47ad-9a26-12ee695de617", "createdAt": "2025-08-28T06:44:20.995Z", "conversationId": "conv_01K3QPQ11QAQ09E1WY2GXE9D8Q", "userId": "user_01K3QPQ0P45XF86NCE4AQTEZ1V", "payload": { "type": "text", "text": "hi" } } ], "meta": {} } } ===========
No description
2 Replies
Opti-Red
Opti-RedOP•2mo ago
I want to save the text output right from the top: eg. ""text": "Hello! 👋 Welcome to XXX customer support...." I want to use it as a data variable to display in the next block. However, it s not happening, nothing is being saved. During testing of the block, there are 3 variables available to be selcted, but none of them work in sending any output to the next block. I am wondering if I need to write another script to extract that line? But that is beyond my level of coding. Any insights please?
Baptiste
Baptiste•2mo ago
That's a bug, let me investigate Fixed in 15 min max!

Did you find this page helpful?