Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
How to get and store output from a script block? - Typebot
T
Typebot
•
6mo ago
•
4 replies
Opti-Red
How to get and store output from a script block?
Hi
, I have this botpress listenConversation script entered into a script block
.
How do I store and view the output of it please
?
=
=
=
=
=
=
=
=
=
=
=
=
const url
=
'
https://chat.botpress.cloud/xxxxx/conversations/{id}/listen
'
;
const options
=
{method
:
'GET
'
, headers
:
{
'x
-user
-key
'
:
'
<x
-user
-key
>
'
}
, body
: undefined
}
;
try
{
const response
= await fetch
(url
, options
)
;
const data
= await response
.json
(
)
;
console
.log
(data
)
;
} catch
(error
)
{
console
.error
(error
)
;
}
=
=
=
=
=
=
=
=
=
=
=
=
Typebot
Join
A place to connect with chatbot enthusiasts. Learn about bot building best practices and discover new content.
5,834
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Output a variable with the script block
T
Typebot / help-and-questions
3y ago
How to copy to clipboard with Script block ?
T
Typebot / help-and-questions
14mo ago
I'm trying to make a request from the script block, how does it work?
T
Typebot / help-and-questions
2y ago