https://discord.gg/botpress logo
in workflow.result i'm getting this
# 💻developers
c
in workflow.result i'm getting this value {"id":7,"firstName":"Alexander","lastName":"Jones","email":"alexander.jones@x.dummyjson.com","phone":"+61 260-824-4986"} if i want to fetch only id and want to use in another card how i can use it? anyone have any idea? #💻developers
w
{{workflow.result.id}}
c
in which card does this work? because in Text card , raw input all these card showing undefined
w
send a picture of your flow, please
w
i don't see any Text card, the Raw card is used to collect a user input not to output bot message. Put a Text card with
{{workflow.result.id}}
, or a text card with the text you want to output, eg: "Hi {{workflow.result.firstName}} your email is {{workflow.result.email}} and you id is {{workflow.result.id}}"
c
It is working thanks alot
Hi @white-nest-40686 , Thank you for your help so far! I have one more request. Is it possible to create a CTA popup in Botpress? For example, when navigating to a specific page (such as the Programs page), I would like to display a popup or a chat that provides details about that page. It could include information like the last date to apply, brochure, eligibility requirements, and so on. Thank you in advance for your assistance!
w
Pass data from Page to webchat https://botpress.com/docs/user-data And in the bot use Get User Data card to ready them and do what you need.
c
I think that will not work
w
Why?
c
Hi @white-nest-40686 , Good Morning
I have one doubt when i transfering the workflow from main to program it is going correctly but when i exiting the program workflow it is giving some error PFA https://cdn.discordapp.com/attachments/1343491035887833118/1344524560556490814/image.png?ex=67c13993&is=67bfe813&hm=961a8e343578aed656db189f7d677c25464426c0fdb41e9264509db88e5b4af0&
@white-nest-40686 could you please help?
w
Hi @User , the Program workflow needs to be split as suggested by message, and you should check log, click on the row with error and send a screenshot
2 Views