Skip to content

Instantly share code, notes, and snippets.

@leifermendez
Created September 5, 2024 08:02
Show Gist options
  • Save leifermendez/ec7de306439cb1a1dbb5a0af382a9a6c to your computer and use it in GitHub Desktop.
Save leifermendez/ec7de306439cb1a1dbb5a0af382a9a6c to your computer and use it in GitHub Desktop.
template_seller_v1.json
[
{
"options": {
"listenKeywords": false
},
"uuid": "__LINK_0__",
"name": "Bienvenida y Ofertas Iniciales",
"label": "Nuevo Flow",
"sort": 0,
"sensitive": false,
"keyword": [
"buenas",
"hola",
"hello"
],
"answers": [
{
"options": {
"sensitive": false,
"capture": true,
"media": null,
"delay": 0,
"gotoFlow": null
},
"rules": [
{
"conditionRule": "body",
"conditionValue": "ofertas",
"condition": "includes",
"conditionFlowId": "__LINK_3__"
},
{
"conditionRule": "body",
"conditionValue": "ofertas",
"condition": "!=="
}
],
"plugins": {
"chatPdf": null,
"http": null,
"openai": {
"assistantId": "",
"assistantName": "",
"assistantVectorStoreIds": [],
"assistantFiles": [],
"assistantInstructions": ""
},
"shopify": null,
"mute": null,
"schedule": null,
"intent": {
"rules": []
}
},
"uuid": "__RANDOM__",
"message": "Hola {name} bienvenido a *BuilderBOT (Ecommerce)* 😀\n\n¿Te interesa saber las ofertas? escribe *ofertas*",
"type": "add_text",
"sort": 0,
"ref": "ref77IXc2kL",
"cb": "_capture_conditional_"
}
],
"botId": "__BOT_ID__"
},
{
"options": {
"listenKeywords": false
},
"uuid": "__LINK_1__",
"name": "Detalles de Oferta: Teclado",
"label": "Nuevo Flow",
"sort": 1,
"sensitive": false,
"keyword": [
"EVENTS.ACTION"
],
"answers": [
{
"options": {
"sensitive": null,
"capture": null,
"media": "https://wjqxgeoeggofgvwmlgbn.supabase.co/storage/v1/object/public/builderbot_raw/file-1719911072959-video-tecladomp4.mp4",
"delay": 0,
"gotoFlow": null
},
"rules": [],
"plugins": {
"chatPdf": null,
"http": null,
"openai": {
"assistantId": "",
"assistantName": "",
"assistantVectorStoreIds": [],
"assistantFiles": [],
"assistantInstructions": ""
},
"shopify": null,
"mute": null,
"schedule": null,
"intent": {
"rules": []
}
},
"uuid": "__RANDOM__",
"message": "⌨️ Teclado con Cable HXSJ V700 ⌨️\n\n🔹 61 teclas de doble color\n🔹 Teclas desmontables\n🔹 Ideal para juegos, hogar y oficina\n🔹 USB Plug and Play\n\n¡Durabilidad y rendimiento en uno! ",
"type": "add_video",
"sort": 0,
"ref": "",
"cb": ""
},
{
"options": {
"sensitive": null,
"capture": null,
"media": null,
"delay": 0,
"gotoFlow": null
},
"rules": [],
"plugins": {
"chatPdf": null,
"http": null,
"openai": {
"assistantId": "",
"assistantName": "",
"assistantVectorStoreIds": [],
"assistantFiles": [],
"assistantInstructions": ""
},
"shopify": null,
"mute": null,
"schedule": null,
"intent": {
"rules": []
}
},
"uuid": "__RANDOM__",
"message": "Puedes ordenarlo por https://share.temu.com/TxcOC4axRfA",
"type": "add_text",
"sort": 0,
"ref": "",
"cb": ""
}
],
"botId": "__BOT_ID__"
},
{
"options": {
"listenKeywords": false
},
"uuid": "__LINK_2__",
"name": "Detalles de Oferta: Celular",
"label": "Nuevo Flow",
"sort": 2,
"sensitive": false,
"keyword": [
"EVENTS.ACTION"
],
"answers": [
{
"options": {
"sensitive": null,
"capture": null,
"media": null,
"delay": 0,
"gotoFlow": null
},
"rules": [],
"plugins": {
"chatPdf": null,
"http": null,
"openai": {
"assistantId": "",
"assistantName": "",
"assistantVectorStoreIds": [],
"assistantFiles": [],
"assistantInstructions": ""
},
"shopify": null,
"mute": null,
"schedule": null,
"intent": {
"rules": []
}
},
"uuid": "__RANDOM__",
"message": "📱 Xiaomi Poco M5s 📱\n\n🔹 8GB RAM\n🔹 256GB almacenamiento\n🔹 Pantalla 6.43\" AMOLED\n🔹 Cámara 64MP\n🔹 Batería 5000mAh\n🔹 Color azul\n\n¡Increíble oferta! *200USD*",
"type": "add_text",
"sort": 0,
"ref": "",
"cb": ""
},
{
"options": {
"sensitive": null,
"capture": null,
"media": "https://wjqxgeoeggofgvwmlgbn.supabase.co/storage/v1/object/public/builderbot_raw/file-1719911536319-mobil-1png.png",
"delay": 0,
"gotoFlow": null
},
"rules": [],
"plugins": {
"chatPdf": null,
"http": null,
"openai": {
"assistantId": "",
"assistantName": "",
"assistantVectorStoreIds": [],
"assistantFiles": [],
"assistantInstructions": ""
},
"shopify": null,
"mute": null,
"schedule": null,
"intent": {
"rules": []
}
},
"uuid": "__RANDOM__",
"message": "Puedes ordenarlo https://share.temu.com/iuLZRGmc8YA",
"type": "add_image",
"sort": 0,
"ref": "",
"cb": ""
}
],
"botId": "__BOT_ID__"
},
{
"options": {
"listenKeywords": false
},
"uuid": "__LINK_3__",
"name": "Catálogo de Ofertas",
"label": "Nuevo Flow",
"sort": 3,
"sensitive": false,
"keyword": [
"catalogo",
"ofertas"
],
"answers": [
{
"options": {
"sensitive": null,
"capture": null,
"media": null,
"delay": 0,
"gotoFlow": null
},
"rules": [],
"plugins": {
"chatPdf": null,
"http": null,
"openai": {
"assistantId": "",
"assistantName": "",
"assistantVectorStoreIds": [],
"assistantFiles": [],
"assistantInstructions": ""
},
"shopify": null,
"mute": null,
"schedule": null,
"intent": {
"rules": []
}
},
"uuid": "__RANDOM__",
"message": "Estas son las ofertas de la semana! dame un segundo...",
"type": "add_text",
"sort": 0,
"ref": "",
"cb": ""
},
{
"options": {
"sensitive": false,
"capture": false,
"media": "https://wjqxgeoeggofgvwmlgbn.supabase.co/storage/v1/object/public/builderbot_raw/file-1719908957416-dnotlqx3fznkq9dqbsod",
"delay": 0,
"gotoFlow": null
},
"rules": [],
"plugins": {
"chatPdf": null,
"http": null,
"openai": {
"assistantId": "",
"assistantName": "",
"assistantVectorStoreIds": [],
"assistantFiles": [],
"assistantInstructions": ""
},
"shopify": null,
"mute": null,
"schedule": null,
"intent": {
"rules": []
}
},
"uuid": "__RANDOM__",
"message": "📱 Xiaomi Poco M5s 📱\n\n🔹 8GB RAM\n🔹 256GB almacenamiento\n🔹 Pantalla 6.43\" AMOLED\n🔹 Cámara 64MP\n🔹 Batería 5000mAh\n🔹 Color azul\n\n¡Increíble oferta! *200USD*",
"type": "add_image",
"sort": 1,
"ref": null,
"cb": ""
},
{
"options": {
"sensitive": false,
"capture": false,
"media": "https://wjqxgeoeggofgvwmlgbn.supabase.co/storage/v1/object/public/builderbot_raw/file-1719596484699-images-1jpg",
"delay": 0,
"gotoFlow": null
},
"rules": [],
"plugins": {
"chatPdf": null,
"http": null,
"openai": {
"assistantId": "",
"assistantName": "",
"assistantVectorStoreIds": [],
"assistantFiles": [],
"assistantInstructions": ""
},
"shopify": null,
"mute": null,
"schedule": null,
"intent": {
"rules": []
}
},
"uuid": "__RANDOM__",
"message": "⌨️ Teclado Gamer Redragon Fizz K617r ⌨️\n\n🔹 Iluminación Rainbow\n🔹 Color Blanco/Gris\n🔹 Distribución Inglés US\n🔹 Diseño compacto y ergonómico\n\n¡Ideal para tus partidas! 🎮🔥 *45USD*",
"type": "add_image",
"sort": 2,
"ref": null,
"cb": ""
},
{
"options": {
"sensitive": false,
"capture": true,
"media": null,
"delay": 0,
"gotoFlow": null
},
"rules": [
{
"conditionRule": "Si el usuario demuestra intencion en el producto que es un teclado o keyboard para computadora",
"conditionValue": "",
"condition": "",
"conditionFlowId": "__LINK_1__"
},
{
"conditionRule": "Si el usuario demuestra intencion en el producto que es celular xiaomi",
"conditionValue": "",
"condition": "",
"conditionFlowId": "__LINK_2__"
}
],
"plugins": {
"chatPdf": null,
"http": null,
"openai": {
"assistantId": "",
"assistantName": "",
"assistantVectorStoreIds": [],
"assistantFiles": [],
"assistantInstructions": ""
},
"shopify": null,
"mute": null,
"schedule": null,
"intent": {
"rules": []
}
},
"uuid": "__RANDOM__",
"message": "¿Te interesa alguno de estas ofertas?",
"type": "add_text",
"sort": 3,
"ref": "refaZQKCqVc",
"cb": "_capture_intention_"
}
],
"botId": "__BOT_ID__"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment