Using Special Chars as Triggers
# 🤝help
k
Is there a way to go to a specific workflow whenever a user reply follows a specific format, without creating a node with this workflow at every single transition? So for example, if I have a specific quiz structure (Q - A, Q -A) but I want the user to be able to exit the flow using some special character (e.g. //*exit*//) , is there someway to do this without having to add a node between the questions?
f
Hello Alejandrofenn. To check for a condition universally you would need to use hooks. In the studio, you can access them by hitting the hook icon. From what you describe you would want to do this in a After Incoming Message Hook. Here is a link to the documentation https://botpress.com/docs/cloud/studio/hooks/

https://cdn.discordapp.com/attachments/1141029302134116382/1141057100466901123/image.png

Let me check on what you can do for the logic and I'll get you more information shortly
Alejandrofenn after double-checking a few things there is currently not an official way to do this in Botpress Cloud. There are some potential things in the pipeline, but no official way of doing this yet.
k
Thanks @flat-plumber-75402 , would this work ? - https://v12.botpress.com/building-chatbots/flow-editor/flow-lifecycle/flow-wide-transitions But this only seems to be possible in botpress studio which doesnt seem to allow imports of .bpz time, even though thats the only option for importing on the cloud version.
f
That is for Botpress 12 which is a different product than cloud. That functionality is not on cloud as of yet.
k
Yes, is there a way to transfer botpress cloud to 12?
f
No
k
Is this something in the works?
f
Moving bots between Botpress Cloud and Botpress 12 is not something that we have in our pipeline.
k
How do I transform the .bpz files exported by the webapp to .tgz required by the studio? Customer support said to use the CLI but I cannot find the command
f
@kind-kangaroo-81556 You cannot move a bot from Cloud to Botpress 12.
They are completly different products and many features are not compatible between the two
k
@flat-plumber-75402 this is what I got from your website -

https://cdn.discordapp.com/attachments/1141029302134116382/1141834550704603258/screenshot_2023-08-17_at_17.png

f
That is from the chatbot?
k
Yes
f
That is a hallucination. I will follow up with our team managing that bot to get that resolved. That information is incorrect.
k
🤦‍♂️
f
Sorry for your frustration.
k
It's okay, thanks for letting me know
f
No worries. We've got you.
13 Views