This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
start: | |
say "👋 Salut ! Je suis Confibot, je suis ici pour donner la patate🥔 pendant le confinement." | |
say Typing(2000) | |
say "Je te donne un programme de sport sur mesure !" | |
if (!choix) { | |
goto choix | |
} else { | |
goto video | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
start: | |
say "Hello stranger, I'm here to help you register to an awesome event 🥳" | |
goto name | |
name: | |
say Typing(2000) | |
say "My name is Eventobot, what's yours ?" | |
hold | |
remember firstname = event | |
say "Nice to meet you {{firstname}} 😎" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
start: | |
say "Hi, let's subscribe to an awesome newsletter 💌 !" | |
// Starting event should go here | |
goto firstname | |
firstname: | |
say "What's your firstname?" | |
hold | |
remember firstname = event | |
// First flow event |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
start: | |
// If the user doesn't exist, we create a new id using the uuid app | |
if (!user_id) remember user_id = Fn("utils/uuid", version="v4") | |
say "Hi, let's subscribe to an awesome newsletter 💌 !" | |
do Fn("google/analytics", method="sendEvent", params={"user_id": user_id,"category": "csml_nl_chatbot","action": "flow_process","label": "start"}) | |
goto firstname | |
firstname: | |
say "What's your firstname?" | |
hold |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
start: | |
say "Hello, IT, I'm Roybot 🤖" | |
goto offandon | |
offandon: | |
say "Have you tried turning it off and on again ?" | |
say Question( | |
button_type="quick_reply", | |
buttons = [ | |
Button("Yes", accepts=["yep", "sure", "ye", "yeah"]) as btnYes, |