2
0
Files
bot/apps/builder/public/templates/nps.json

604 lines
16 KiB
JSON
Raw Normal View History

{
"version": "6",
"id": "cloo0bge500071aorb4dadsju",
"name": "NPS Survey",
"events": [
{
"id": "yu8qfeteutmum1ghb0wqshu9",
"outgoingEdgeId": "qtd5p5sya9w8yoknvbhy493i",
"graphCoordinates": { "x": 0, "y": 0 },
"type": "start"
}
],
"groups": [
{
"id": "g7l1tc86ty1r6x0yn0r2g1xo",
"title": "Intro",
"graphCoordinates": { "x": 10.99, "y": 85.96 },
"blocks": [
{
"id": "vep990mmfbe64nqczp66xebw",
"type": "text",
"content": {
"richText": [{ "type": "p", "children": [{ "text": "Hey! 👋" }] }]
}
},
{
"id": "u1oeokc5j8bzwi4lwqyf7c8q",
"type": "text",
"content": {
"richText": [
{
"type": "p",
"children": [
{
"text": "Since you are part of our daily users, can I ask you "
},
{ "bold": true, "text": "2 questions" },
{ "text": "?" }
]
}
]
}
},
{
"id": "d3asw3zs2gahpxs3usun6lm5",
"type": "choice input",
"items": [
{
"id": "wvjhc2vrkqy8512y0wvmciex",
"outgoingEdgeId": "sjeyoptun1yu805ry37je1ni",
"content": "Sure!"
}
]
}
]
},
{
"id": "xgqei015z6d58gefpviz8053",
"title": "Recommendation",
"graphCoordinates": { "x": 360.5, "y": 86.64 },
"blocks": [
{
"id": "jcp3qhpb4wf95g0ylrp4e8zb",
"type": "text",
"content": {
"richText": [
{
"type": "p",
"children": [
{ "text": "How likely will you recommend our product" },
{ "bold": true, "text": " " },
{ "text": "to a friend or colleague?" }
]
}
]
}
},
{
"id": "bfvv74k8oz57kaqeqek3uen7",
"type": "rating input",
"options": {
"variableId": "vwqc8tzl0380h30vxh07fekmm",
"labels": {
"left": "Very unlikely",
"right": "Very likely"
},
"isOneClickSubmitEnabled": true
}
},
{
"id": "z76m5qjuy15sa6b0p1re0nkp",
"outgoingEdgeId": "niec249stbfa2obm9mkd1pgw",
"type": "Condition",
"items": [
{
"id": "xy6ni2aj5dxys27itzbtvdzw",
"outgoingEdgeId": "zug5c4jy98sywgp1amtms6oc",
"content": {
"comparisons": [
{
"id": "r7s1l7ljsv7ugnbaz4u3gy5a",
"variableId": "vwqc8tzl0380h30vxh07fekmm",
"comparisonOperator": "Greater than",
"value": "8"
}
]
}
},
{
"id": "vrhf4u4dt6u146eywqybgrk2",
"outgoingEdgeId": "qb38wjfqzksaujoppzrrto25",
"content": {
"comparisons": [
{
"id": "chowr4hsu9butjlwo0ul874g",
"variableId": "vwqc8tzl0380h30vxh07fekmm",
"comparisonOperator": "Greater than",
"value": "6"
}
]
}
}
]
}
]
},
{
"id": "rp2r31gn1w5t1aeej96bhjj3",
"title": "Good",
"graphCoordinates": { "x": 1078.85, "y": 292.9 },
"blocks": [
{
"id": "izehojk23xug74tylpm0wbib",
"type": "text",
"content": {
"richText": [
{
"type": "p",
"children": [{ "text": "I'm glad to hear that 😍" }]
}
]
}
},
{
"id": "qj3e1cxwjub800r6g3lfa4ei",
"outgoingEdgeId": "hycn6wx0j9ug4wf5vzz9aytx",
"type": "text",
"content": {
"richText": [
{
"type": "p",
"children": [{ "text": "Could you tell us why?" }]
}
]
}
}
]
},
{
"id": "sk1n3wpfit3uvfrh42fgcykm",
"title": "Why?",
"graphCoordinates": { "x": 1425.22, "y": 445.48 },
"blocks": [
{
"id": "ro6a6dt7j3x99unduh5jm6an",
"outgoingEdgeId": "y6gsa6pjrfeu8zi6evtzirs1",
"type": "text input",
"options": {
"isLong": true
}
}
]
},
{
"id": "qj9qgsbfv6u1f5oe1bjnwnu9",
"title": "Bad",
"graphCoordinates": { "x": 1067.22, "y": 575.86 },
"blocks": [
{
"id": "ou7airondk1mxm4inzzyyr1x",
"outgoingEdgeId": "glj5ishgke8i6s6eyjnmbel1",
"type": "text",
"content": {
"richText": [
{
"type": "p",
"children": [{ "text": "Could you tell us what went wrong?" }]
}
]
}
}
]
},
{
"id": "tavt0nuh54ck1hvq74kt74vf",
"title": "Set type",
"graphCoordinates": { "x": 726.83, "y": 234.02 },
"blocks": [
{
"id": "vdythdfi91vr47ipbfalddc6",
"outgoingEdgeId": "r74zv3gamsln3dbmp1gvxpa2",
"type": "Set variable",
"options": {
"variableId": "vcgkjbh8intf2cql1oteyj4mu",
"expressionToEvaluate": "Promoter"
}
}
]
},
{
"id": "e887eoxfamv45hj8bz47jize",
"title": "Set type",
"graphCoordinates": { "x": 722.39, "y": 399.91 },
"blocks": [
{
"id": "w40rjuv0avoetpdj6l5nbiz6",
"outgoingEdgeId": "x62wj4inzidyj03ktiyu0g81",
"type": "Set variable",
"options": {
"variableId": "vcgkjbh8intf2cql1oteyj4mu",
"expressionToEvaluate": "Neutral"
}
}
]
},
{
"id": "z4qtvedlz3mzcj4jdnfet2dc",
"title": "Set type",
"graphCoordinates": { "x": 722.56, "y": 566.11 },
"blocks": [
{
"id": "melr0p8nxssxe1qyat748uyy",
"outgoingEdgeId": "q5xllqzy4x1q3tdvpr1piwgi",
"type": "Set variable",
"options": {
"variableId": "vcgkjbh8intf2cql1oteyj4mu",
"expressionToEvaluate": "Detractor"
}
}
]
},
{
"id": "l7fupza0yi6os0ix6heyd7jz",
"title": "Final segmentation",
"graphCoordinates": { "x": 1777.5859375, "y": 396.8453917968819 },
"blocks": [
{
"id": "z4gsshsckqdu6m1umartgxgb",
"type": "Condition",
"items": [
{
"id": "vd6ls562brvt5kld746ao63x",
"outgoingEdgeId": "fcels3dp2kabntjscmirxtl7",
"content": {
"comparisons": [
{
"id": "gclfcip3hr0p4vzk5o8n60ru",
"variableId": "vcgkjbh8intf2cql1oteyj4mu",
"comparisonOperator": "Equal to",
"value": "Promoter"
}
]
}
},
{
"id": "vey2i7kouphj3dgzz1rtwuxb",
"outgoingEdgeId": "jyen1rcq5cxek118gkio0u6d",
"content": {
"comparisons": [
{
"id": "p7shnc0g3b377oip57r7xneq",
"variableId": "vcgkjbh8intf2cql1oteyj4mu",
"comparisonOperator": "Equal to",
"value": "Neutral"
}
]
}
},
{
"id": "cdi4c43wbyi3ajdns5klfg1g",
"outgoingEdgeId": "jjymvdpeyfqu2qpo6hh2zxeo",
"content": {
"comparisons": [
{
"id": "iy13qo2guletobbkauklye7a",
"variableId": "vcgkjbh8intf2cql1oteyj4mu",
"comparisonOperator": "Equal to",
"value": "Detractor"
}
]
}
}
]
}
]
},
{
"id": "pp1ncsdaki07pfq5pjl53v6r",
"title": "Capterra?",
"graphCoordinates": { "x": 2160.71875, "y": 69.58984375 },
"blocks": [
{
"id": "eixinwxcgsng6v8blw6jdgwy",
"type": "text",
"content": {
"richText": [
{ "type": "p", "children": [{ "text": "Thank you! 🙏" }] }
]
}
},
{
"id": "cjqu4wje2zr8i5ehivxv5567",
"type": "text",
"content": {
"richText": [
{
"type": "p",
"children": [
{ "text": "Would you be ok to leave a review on Capterra?" }
]
}
]
}
},
{
"id": "v9pf4n5kcwon4g0yvwwc6vk3",
"type": "choice input",
"items": [
{
"id": "y34d4iij8y9qrt28y240x7vm",
"outgoingEdgeId": "lw33kviri91z1mvxb87kaew0",
"content": "Sure!"
},
{
"id": "l7txnq6jtm0niynklcpzb21u",
"outgoingEdgeId": "wjcvbnj1drs6if1p21a8yokf",
"content": "Maybe later"
}
]
}
]
},
{
"id": "znljx8q0q2ggih0ipu28ryby",
"title": "Bye cheerful",
"graphCoordinates": { "x": 2167.570274174784, "y": 543.712381679639 },
"blocks": [
{
"id": "m1my2b6gqq2hgfecw1vs2vcm",
"type": "text",
"content": {
"richText": [
{
"type": "p",
"children": [
{ "text": "Thank you for taking the time to answer!" }
]
}
]
}
},
{
"id": "fyl3k7qc6jdmc8t38b9wkcrh",
"type": "text",
"content": {
"richText": [
{ "type": "p", "children": [{ "text": "Have a beautiful day!" }] }
]
}
},
{
"id": "qobvos2ihgxb8e729ur8b2rv",
"type": "image",
"content": {
"url": "https://media3.giphy.com/media/qC2REWsp3fQ1v2mm74/giphy.gif?cid=fe3852a38k350b15tly68dp7plh5iskmlonklrofvce975cq&rid=giphy.gif&ct=g"
}
}
]
},
{
"id": "vvbtgh5ptk49shyjn3zn6d71",
"title": "Bye sad",
"graphCoordinates": { "x": 2173.366603864535, "y": 949.7063235658585 },
"blocks": [
{
"id": "dfisk4xq8csn0t2aute6hbsd",
"type": "text",
"content": {
"richText": [
{
"type": "p",
"children": [
{
"text": "Sorry that your experience hasn't been amazing 🙁"
}
]
}
]
}
},
{
"id": "u6vs0akagfjg63zq8z1rcc14",
"type": "text",
"content": {
"richText": [
{
"type": "p",
"children": [
{
"text": "Here is a promo code if you'd like to give our product another chance: "
},
{ "bold": true, "text": "PROMO123" }
]
}
]
}
},
{
"id": "lfk1wt96u8yrtfkof6lrianc",
"type": "image",
"content": {
"url": "https://media1.giphy.com/media/kaBU6pgv0OsPHz2yxy/giphy-downsized.gif?cid=fe3852a30aonhd3he63idx7116fsc1sydsan2ggr9uq4hs9j&rid=giphy-downsized.gif&ct=g"
}
}
]
},
{
"id": "mwfu8ot0z37zfq2fbo5rcyrl",
"title": "Redirect Capterra",
"graphCoordinates": { "x": 2531.28515625, "y": 300.828125 },
"blocks": [
{
"id": "cd8ftyg6tkjggncxuo242u3j",
"type": "text",
"content": {
"richText": [
{ "type": "p", "children": [{ "text": "Amazing 🤩" }] }
]
}
},
{
"id": "nigypz7fhnt07440o0829o81",
"type": "text",
"content": {
"richText": [
{
"type": "p",
"children": [{ "text": "Let me take you there..." }]
}
]
}
},
{
"id": "xr1or6dcptogabyvv6zepmw8",
"type": "Wait",
"options": { "secondsToWaitFor": "1" }
},
{
"id": "bfyw1eabougkp2aqlrcrf6lz",
"type": "Redirect",
"options": {
"url": "https://www.capterra.com/p/233968/Typebot/"
}
}
]
}
],
"edges": [
{
"id": "qtd5p5sya9w8yoknvbhy493i",
"from": { "eventId": "yu8qfeteutmum1ghb0wqshu9" },
"to": { "groupId": "g7l1tc86ty1r6x0yn0r2g1xo" }
},
{
"id": "glj5ishgke8i6s6eyjnmbel1",
"from": { "blockId": "ou7airondk1mxm4inzzyyr1x" },
"to": { "groupId": "sk1n3wpfit3uvfrh42fgcykm" }
},
{
"id": "hycn6wx0j9ug4wf5vzz9aytx",
"from": { "blockId": "qj3e1cxwjub800r6g3lfa4ei" },
"to": { "groupId": "sk1n3wpfit3uvfrh42fgcykm" }
},
{
"id": "zug5c4jy98sywgp1amtms6oc",
"from": {
"blockId": "z76m5qjuy15sa6b0p1re0nkp",
"itemId": "xy6ni2aj5dxys27itzbtvdzw"
},
"to": { "groupId": "tavt0nuh54ck1hvq74kt74vf" }
},
{
"id": "niec249stbfa2obm9mkd1pgw",
"from": { "blockId": "z76m5qjuy15sa6b0p1re0nkp" },
"to": { "groupId": "z4qtvedlz3mzcj4jdnfet2dc" }
},
{
"id": "qb38wjfqzksaujoppzrrto25",
"from": {
"blockId": "z76m5qjuy15sa6b0p1re0nkp",
"itemId": "vrhf4u4dt6u146eywqybgrk2"
},
"to": { "groupId": "e887eoxfamv45hj8bz47jize" }
},
{
"id": "r74zv3gamsln3dbmp1gvxpa2",
"from": { "blockId": "vdythdfi91vr47ipbfalddc6" },
"to": { "groupId": "rp2r31gn1w5t1aeej96bhjj3" }
},
{
"id": "x62wj4inzidyj03ktiyu0g81",
"from": { "blockId": "w40rjuv0avoetpdj6l5nbiz6" },
"to": {
"groupId": "rp2r31gn1w5t1aeej96bhjj3",
"blockId": "qj3e1cxwjub800r6g3lfa4ei"
}
},
{
"id": "q5xllqzy4x1q3tdvpr1piwgi",
"from": { "blockId": "melr0p8nxssxe1qyat748uyy" },
"to": { "groupId": "qj9qgsbfv6u1f5oe1bjnwnu9" }
},
{
"id": "y6gsa6pjrfeu8zi6evtzirs1",
"from": { "blockId": "ro6a6dt7j3x99unduh5jm6an" },
"to": { "groupId": "l7fupza0yi6os0ix6heyd7jz" }
},
{
"id": "jjymvdpeyfqu2qpo6hh2zxeo",
"from": {
"blockId": "z4gsshsckqdu6m1umartgxgb",
"itemId": "cdi4c43wbyi3ajdns5klfg1g"
},
"to": { "groupId": "vvbtgh5ptk49shyjn3zn6d71" }
},
{
"id": "jyen1rcq5cxek118gkio0u6d",
"from": {
"blockId": "z4gsshsckqdu6m1umartgxgb",
"itemId": "vey2i7kouphj3dgzz1rtwuxb"
},
"to": { "groupId": "znljx8q0q2ggih0ipu28ryby" }
},
{
"id": "wjcvbnj1drs6if1p21a8yokf",
"from": {
"blockId": "v9pf4n5kcwon4g0yvwwc6vk3",
"itemId": "l7txnq6jtm0niynklcpzb21u"
},
"to": { "groupId": "znljx8q0q2ggih0ipu28ryby" }
},
{
"id": "lw33kviri91z1mvxb87kaew0",
"from": {
"blockId": "v9pf4n5kcwon4g0yvwwc6vk3",
"itemId": "y34d4iij8y9qrt28y240x7vm"
},
"to": { "groupId": "mwfu8ot0z37zfq2fbo5rcyrl" }
},
{
"id": "sjeyoptun1yu805ry37je1ni",
"from": {
"blockId": "d3asw3zs2gahpxs3usun6lm5",
"itemId": "wvjhc2vrkqy8512y0wvmciex"
},
"to": { "groupId": "xgqei015z6d58gefpviz8053" }
},
{
"id": "fcels3dp2kabntjscmirxtl7",
"from": {
"blockId": "z4gsshsckqdu6m1umartgxgb",
"itemId": "vd6ls562brvt5kld746ao63x"
},
"to": { "groupId": "pp1ncsdaki07pfq5pjl53v6r" }
}
],
"variables": [
{
"id": "vwqc8tzl0380h30vxh07fekmm",
"name": "Recommend rate",
"isSessionVariable": true
},
{
"id": "vcgkjbh8intf2cql1oteyj4mu",
"name": "Type",
"isSessionVariable": true
}
],
"theme": {},
"selectedThemeTemplateId": null,
"settings": {},
"createdAt": "2023-11-07T07:25:44.765Z",
"updatedAt": "2023-11-07T07:26:12.044Z",
"icon": "⭐",
"folderId": null,
"publicId": null,
"customDomain": null,
"workspaceId": "proWorkspace",
"resultsTablePreferences": null,
"isArchived": false,
"isClosed": false,
"whatsAppCredentialsId": null
}