mirror of
https://github.com/marcogll/talia_bot.git
synced 2026-01-13 21:35:19 +00:00
refactor: Migrate bot core and modules from talia_bot to bot directory, update start_bot.sh and Dockerfile, and modify README.md.
This commit is contained in:
37
bot/data/flows/crew_secret_onboarding.json
Normal file
37
bot/data/flows/crew_secret_onboarding.json
Normal file
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"id": "crew_secret_onboarding",
|
||||
"role": "crew",
|
||||
"trigger_command": "/abracadabra",
|
||||
"steps": [
|
||||
{
|
||||
"step_id": 0,
|
||||
"variable": "ONBOARD_START",
|
||||
"question": "Vaya, vaya... Parece que conoces el comando secreto. 🎩. Antes de continuar, necesito saber tu nombre completo.",
|
||||
"input_type": "text"
|
||||
},
|
||||
{
|
||||
"step_id": 1,
|
||||
"variable": "ONBOARD_ORIGIN",
|
||||
"question": "Un placer, {user_name}. ¿Cuál es tu base de operaciones principal?",
|
||||
"options": ["🏢 Office", "✨ Aura"]
|
||||
},
|
||||
{
|
||||
"step_id": 2,
|
||||
"variable": "ONBOARD_EMAIL",
|
||||
"question": "Perfecto. Ahora necesito tu correo electrónico de la empresa.",
|
||||
"input_type": "text"
|
||||
},
|
||||
{
|
||||
"step_id": 3,
|
||||
"variable": "ONBOARD_PHONE",
|
||||
"question": "Y por último, tu número de teléfono.",
|
||||
"input_type": "text"
|
||||
},
|
||||
{
|
||||
"step_id": 4,
|
||||
"variable": "ONBOARD_CONFIRM",
|
||||
"question": "Gracias. He enviado una notificación al Administrador para que apruebe tu acceso. En cuanto lo haga, tendrás acceso completo. ¡Bienvenido a bordo!",
|
||||
"options": ["✅ Entendido"]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user