Log in to community
Share feedback, ideas and get community help
D
F
M
a
g
609
Home
Questions and bug reports
Powered by
Hall
Questions and bug reports
0
Join
on Discord
Json response from GPT to Variables
Questions and bug reports
Json response from GPT to Variables
0
Join
on Discord
M
Michaelvips
9 months ago
I config OpenAI block to create a chat completion, this will generate a json response like this :
{
"name": "name here",
"email": "email here"
}
I need know how and if is possible save this into to variables.
Here is the flow
https://app.typebot.io/typebots/clrj82g020029rlwrmh7pqx60/edit
Attachment
V
M
5 comments
Share
V
Vilela™
9 months ago
JSON.parse({{response}}).name
JSON.parse({{response}}).email
Attachment
M
Michaelvips
9 months ago
Thanks, I will try...
V
Vilela™
9 months ago
https://tenor.com/view/do-do-not-no-try-yoda-gif-13593807
M
Michaelvips
9 months ago
Works like a charm, thanks @Vilela™
Attachment
M
Michaelvips
9 months ago
I think soon will be better use GPT than make some JS code to make the same thing...
Add a reply
Sign up and join the conversation on Discord
Join
on Discord