2
0

Add NPS Survey template

Closes #356
This commit is contained in:
Baptiste Arnaud
2023-03-03 17:21:02 +01:00
parent 79e5aedf00
commit 852cc73511
5 changed files with 767 additions and 21 deletions

View File

@ -0,0 +1,745 @@
{
"id": "clesntjqu00011a4xkgffc3p0",
"version": "3",
"createdAt": "2023-03-03T14:57:41.430Z",
"updatedAt": "2023-03-03T16:14:29.268Z",
"icon": "⭐",
"name": "NPS Survey",
"folderId": null,
"groups": [
{
"id": "yu8qfeteutmum1ghb0wqshu9",
"title": "Start",
"blocks": [
{
"id": "up8jk4o8xvbfqtzyd63hsrm5",
"type": "start",
"label": "Start",
"groupId": "yu8qfeteutmum1ghb0wqshu9",
"outgoingEdgeId": "qtd5p5sya9w8yoknvbhy493i"
}
],
"graphCoordinates": { "x": 0, "y": 0 }
},
{
"id": "g7l1tc86ty1r6x0yn0r2g1xo",
"title": "Intro",
"blocks": [
{
"id": "vep990mmfbe64nqczp66xebw",
"type": "text",
"content": {
"html": "<div>Hey! 👋</div>",
"richText": [{ "type": "p", "children": [{ "text": "Hey! 👋" }] }],
"plainText": "Hey! 👋"
},
"groupId": "g7l1tc86ty1r6x0yn0r2g1xo"
},
{
"id": "u1oeokc5j8bzwi4lwqyf7c8q",
"type": "text",
"content": {
"html": "<div>Since you are part of our daily users, can I ask you <span class=\"slate-bold\">2 questions</span>?</div>",
"richText": [
{
"type": "p",
"children": [
{
"text": "Since you are part of our daily users, can I ask you "
},
{ "bold": true, "text": "2 questions" },
{ "text": "?" }
]
}
],
"plainText": "Since you are part of our daily users, can I ask you 2 questions?"
},
"groupId": "g7l1tc86ty1r6x0yn0r2g1xo"
},
{
"id": "d3asw3zs2gahpxs3usun6lm5",
"type": "choice input",
"items": [
{
"id": "wvjhc2vrkqy8512y0wvmciex",
"type": 0,
"blockId": "d3asw3zs2gahpxs3usun6lm5",
"content": "Sure!",
"outgoingEdgeId": "sjeyoptun1yu805ry37je1ni"
}
],
"groupId": "g7l1tc86ty1r6x0yn0r2g1xo",
"options": { "buttonLabel": "Send", "isMultipleChoice": false }
}
],
"graphCoordinates": { "x": 8.6484375, "y": 168.64453125 }
},
{
"id": "xgqei015z6d58gefpviz8053",
"title": "Recommendation",
"blocks": [
{
"id": "jcp3qhpb4wf95g0ylrp4e8zb",
"type": "text",
"content": {
"html": "<div>How likely will you recommend our product<span class=\"slate-bold\"> </span>to a friend or colleague?</div>",
"richText": [
{
"type": "p",
"children": [
{ "text": "How likely will you recommend our product" },
{ "bold": true, "text": " " },
{ "text": "to a friend or colleague?" }
]
}
],
"plainText": "How likely will you recommend our product to a friend or colleague?"
},
"groupId": "xgqei015z6d58gefpviz8053"
},
{
"id": "bfvv74k8oz57kaqeqek3uen7",
"type": "rating input",
"groupId": "xgqei015z6d58gefpviz8053",
"options": {
"labels": {
"left": "Very unlikely",
"right": "Very likely",
"button": "Send"
},
"length": 10,
"buttonType": "Numbers",
"customIcon": { "isEnabled": false },
"variableId": "vwqc8tzl0380h30vxh07fekmm",
"isOneClickSubmitEnabled": true
}
},
{
"id": "z76m5qjuy15sa6b0p1re0nkp",
"type": "Condition",
"items": [
{
"id": "xy6ni2aj5dxys27itzbtvdzw",
"type": 1,
"blockId": "z76m5qjuy15sa6b0p1re0nkp",
"content": {
"comparisons": [
{
"id": "r7s1l7ljsv7ugnbaz4u3gy5a",
"value": "8",
"variableId": "vwqc8tzl0380h30vxh07fekmm",
"comparisonOperator": "Greater than"
}
],
"logicalOperator": "AND"
},
"outgoingEdgeId": "zug5c4jy98sywgp1amtms6oc"
},
{
"id": "vrhf4u4dt6u146eywqybgrk2",
"type": 1,
"blockId": "z76m5qjuy15sa6b0p1re0nkp",
"content": {
"comparisons": [
{
"id": "chowr4hsu9butjlwo0ul874g",
"value": "6",
"variableId": "vwqc8tzl0380h30vxh07fekmm",
"comparisonOperator": "Greater than"
}
],
"logicalOperator": "AND"
},
"outgoingEdgeId": "qb38wjfqzksaujoppzrrto25"
}
],
"groupId": "xgqei015z6d58gefpviz8053",
"outgoingEdgeId": "niec249stbfa2obm9mkd1pgw"
}
],
"graphCoordinates": { "x": 368.4088194304369, "y": 168.5078125 }
},
{
"id": "rp2r31gn1w5t1aeej96bhjj3",
"title": "Good",
"blocks": [
{
"id": "izehojk23xug74tylpm0wbib",
"type": "text",
"content": {
"html": "<div>I&apos;m glad to hear that 😍</div>",
"richText": [
{
"type": "p",
"children": [{ "text": "I'm glad to hear that 😍" }]
}
],
"plainText": "I'm glad to hear that 😍"
},
"groupId": "rp2r31gn1w5t1aeej96bhjj3"
},
{
"id": "qj3e1cxwjub800r6g3lfa4ei",
"type": "text",
"content": {
"html": "<div>Could you tell us why?</div>",
"richText": [
{
"type": "p",
"children": [{ "text": "Could you tell us why?" }]
}
],
"plainText": "Could you tell us why?"
},
"groupId": "rp2r31gn1w5t1aeej96bhjj3",
"outgoingEdgeId": "hycn6wx0j9ug4wf5vzz9aytx"
}
],
"graphCoordinates": { "x": 1089.022509866445, "y": 366.18359375 }
},
{
"id": "sk1n3wpfit3uvfrh42fgcykm",
"title": "Why?",
"blocks": [
{
"id": "ro6a6dt7j3x99unduh5jm6an",
"type": "text input",
"groupId": "sk1n3wpfit3uvfrh42fgcykm",
"options": {
"isLong": true,
"labels": { "button": "Send", "placeholder": "Type your answer..." }
},
"outgoingEdgeId": "y6gsa6pjrfeu8zi6evtzirs1"
}
],
"graphCoordinates": { "x": 1448.80078125, "y": 435.79296875 }
},
{
"id": "qj9qgsbfv6u1f5oe1bjnwnu9",
"title": "Bad",
"blocks": [
{
"id": "ou7airondk1mxm4inzzyyr1x",
"type": "text",
"content": {
"html": "<div>Could you tell us what went wrong?</div>",
"richText": [
{
"type": "p",
"children": [{ "text": "Could you tell us what went wrong?" }]
}
],
"plainText": "Could you tell us what went wrong?"
},
"groupId": "qj9qgsbfv6u1f5oe1bjnwnu9",
"outgoingEdgeId": "glj5ishgke8i6s6eyjnmbel1"
}
],
"graphCoordinates": { "x": 1089.9140625, "y": 574.9296875 }
},
{
"id": "tavt0nuh54ck1hvq74kt74vf",
"title": "Set type",
"blocks": [
{
"id": "vdythdfi91vr47ipbfalddc6",
"type": "Set variable",
"groupId": "tavt0nuh54ck1hvq74kt74vf",
"options": {
"variableId": "vcgkjbh8intf2cql1oteyj4mu",
"expressionToEvaluate": "Promoter"
},
"outgoingEdgeId": "r74zv3gamsln3dbmp1gvxpa2"
}
],
"graphCoordinates": { "x": 740.34375, "y": 319.4375 }
},
{
"id": "e887eoxfamv45hj8bz47jize",
"title": "Set type",
"blocks": [
{
"id": "w40rjuv0avoetpdj6l5nbiz6",
"type": "Set variable",
"groupId": "e887eoxfamv45hj8bz47jize",
"options": {
"variableId": "vcgkjbh8intf2cql1oteyj4mu",
"expressionToEvaluate": "Neutral"
},
"outgoingEdgeId": "x62wj4inzidyj03ktiyu0g81"
}
],
"graphCoordinates": { "x": 738.046875, "y": 480.91015625 }
},
{
"id": "z4qtvedlz3mzcj4jdnfet2dc",
"title": "Set type",
"blocks": [
{
"id": "melr0p8nxssxe1qyat748uyy",
"type": "Set variable",
"groupId": "z4qtvedlz3mzcj4jdnfet2dc",
"options": {
"variableId": "vcgkjbh8intf2cql1oteyj4mu",
"expressionToEvaluate": "Detractor"
},
"outgoingEdgeId": "q5xllqzy4x1q3tdvpr1piwgi"
}
],
"graphCoordinates": { "x": 738.5078125, "y": 635.96484375 }
},
{
"id": "l7fupza0yi6os0ix6heyd7jz",
"title": "Final segmentation",
"blocks": [
{
"id": "z4gsshsckqdu6m1umartgxgb",
"type": "Condition",
"items": [
{
"id": "vd6ls562brvt5kld746ao63x",
"type": 1,
"blockId": "z4gsshsckqdu6m1umartgxgb",
"content": {
"comparisons": [
{
"id": "gclfcip3hr0p4vzk5o8n60ru",
"value": "Promoter",
"variableId": "vcgkjbh8intf2cql1oteyj4mu",
"comparisonOperator": "Equal to"
}
],
"logicalOperator": "AND"
},
"outgoingEdgeId": "fcels3dp2kabntjscmirxtl7"
},
{
"id": "vey2i7kouphj3dgzz1rtwuxb",
"type": 1,
"blockId": "z4gsshsckqdu6m1umartgxgb",
"content": {
"comparisons": [
{
"id": "p7shnc0g3b377oip57r7xneq",
"value": "Neutral",
"variableId": "vcgkjbh8intf2cql1oteyj4mu",
"comparisonOperator": "Equal to"
}
],
"logicalOperator": "AND"
},
"outgoingEdgeId": "jyen1rcq5cxek118gkio0u6d"
},
{
"id": "cdi4c43wbyi3ajdns5klfg1g",
"type": 1,
"blockId": "z4gsshsckqdu6m1umartgxgb",
"content": {
"comparisons": [
{
"id": "iy13qo2guletobbkauklye7a",
"value": "Detractor",
"variableId": "vcgkjbh8intf2cql1oteyj4mu",
"comparisonOperator": "Equal to"
}
],
"logicalOperator": "AND"
},
"outgoingEdgeId": "jjymvdpeyfqu2qpo6hh2zxeo"
}
],
"groupId": "l7fupza0yi6os0ix6heyd7jz"
}
],
"graphCoordinates": { "x": 1777.5859375, "y": 396.8453917968819 }
},
{
"id": "pp1ncsdaki07pfq5pjl53v6r",
"title": "Capterra?",
"blocks": [
{
"id": "eixinwxcgsng6v8blw6jdgwy",
"type": "text",
"content": {
"html": "<div>Thank you! 🙏</div>",
"richText": [
{ "type": "p", "children": [{ "text": "Thank you! 🙏" }] }
],
"plainText": "Thank you! 🙏"
},
"groupId": "pp1ncsdaki07pfq5pjl53v6r"
},
{
"id": "cjqu4wje2zr8i5ehivxv5567",
"type": "text",
"content": {
"html": "<div>Would you be ok to leave a review on Capterra?</div>",
"richText": [
{
"type": "p",
"children": [
{ "text": "Would you be ok to leave a review on Capterra?" }
]
}
],
"plainText": "Would you be ok to leave a review on Capterra?"
},
"groupId": "pp1ncsdaki07pfq5pjl53v6r"
},
{
"id": "v9pf4n5kcwon4g0yvwwc6vk3",
"type": "choice input",
"items": [
{
"id": "y34d4iij8y9qrt28y240x7vm",
"type": 0,
"blockId": "v9pf4n5kcwon4g0yvwwc6vk3",
"content": "Sure!",
"outgoingEdgeId": "lw33kviri91z1mvxb87kaew0"
},
{
"id": "l7txnq6jtm0niynklcpzb21u",
"type": 0,
"blockId": "v9pf4n5kcwon4g0yvwwc6vk3",
"content": "Maybe later",
"outgoingEdgeId": "wjcvbnj1drs6if1p21a8yokf"
}
],
"groupId": "pp1ncsdaki07pfq5pjl53v6r",
"options": { "buttonLabel": "Send", "isMultipleChoice": false }
}
],
"graphCoordinates": { "x": 2160.71875, "y": 69.58984375 }
},
{
"id": "znljx8q0q2ggih0ipu28ryby",
"title": "Bye cheerful",
"blocks": [
{
"id": "m1my2b6gqq2hgfecw1vs2vcm",
"type": "text",
"content": {
"html": "<div>Thank you for taking the time to answer!</div>",
"richText": [
{
"type": "p",
"children": [
{ "text": "Thank you for taking the time to answer!" }
]
}
],
"plainText": "Thank you for taking the time to answer!"
},
"groupId": "znljx8q0q2ggih0ipu28ryby"
},
{
"id": "fyl3k7qc6jdmc8t38b9wkcrh",
"type": "text",
"content": {
"html": "<div>Have a beautiful day!</div>",
"richText": [
{ "type": "p", "children": [{ "text": "Have a beautiful day!" }] }
],
"plainText": "Have a beautiful day!"
},
"groupId": "znljx8q0q2ggih0ipu28ryby"
},
{
"id": "qobvos2ihgxb8e729ur8b2rv",
"type": "image",
"content": {
"url": "https://media3.giphy.com/media/qC2REWsp3fQ1v2mm74/giphy.gif?cid=fe3852a38k350b15tly68dp7plh5iskmlonklrofvce975cq&rid=giphy.gif&ct=g"
},
"groupId": "znljx8q0q2ggih0ipu28ryby"
}
],
"graphCoordinates": { "x": 2167.5702741747837, "y": 543.712381679639 }
},
{
"id": "vvbtgh5ptk49shyjn3zn6d71",
"title": "Bye sad",
"blocks": [
{
"id": "dfisk4xq8csn0t2aute6hbsd",
"type": "text",
"content": {
"html": "<div>Sorry that your experience hasn&apos;t been amazing 🙁</div>",
"richText": [
{
"type": "p",
"children": [
{
"text": "Sorry that your experience hasn't been amazing 🙁"
}
]
}
],
"plainText": "Sorry that your experience hasn't been amazing 🙁"
},
"groupId": "vvbtgh5ptk49shyjn3zn6d71"
},
{
"id": "u6vs0akagfjg63zq8z1rcc14",
"type": "text",
"content": {
"html": "<div>Here is a promo code if you&apos;d like to give our product another chance: <span class=\"slate-bold\">PROMO123</span></div>",
"richText": [
{
"type": "p",
"children": [
{
"text": "Here is a promo code if you'd like to give our product another chance: "
},
{ "bold": true, "text": "PROMO123" }
]
}
],
"plainText": "Here is a promo code if you'd like to give our product another chance: PROMO123"
},
"groupId": "vvbtgh5ptk49shyjn3zn6d71"
},
{
"id": "lfk1wt96u8yrtfkof6lrianc",
"type": "image",
"content": {
"url": "https://media1.giphy.com/media/kaBU6pgv0OsPHz2yxy/giphy-downsized.gif?cid=fe3852a30aonhd3he63idx7116fsc1sydsan2ggr9uq4hs9j&rid=giphy-downsized.gif&ct=g"
},
"groupId": "vvbtgh5ptk49shyjn3zn6d71"
}
],
"graphCoordinates": { "x": 2173.3666038645347, "y": 949.7063235658585 }
},
{
"id": "mwfu8ot0z37zfq2fbo5rcyrl",
"title": "Redirect Capterra",
"blocks": [
{
"id": "cd8ftyg6tkjggncxuo242u3j",
"type": "text",
"content": {
"html": "<div>Amazing 🤩</div>",
"richText": [
{ "type": "p", "children": [{ "text": "Amazing 🤩" }] }
],
"plainText": "Amazing 🤩"
},
"groupId": "mwfu8ot0z37zfq2fbo5rcyrl"
},
{
"id": "nigypz7fhnt07440o0829o81",
"type": "text",
"content": {
"html": "<div>Let me take you there...</div>",
"richText": [
{
"type": "p",
"children": [{ "text": "Let me take you there..." }]
}
],
"plainText": "Let me take you there..."
},
"groupId": "mwfu8ot0z37zfq2fbo5rcyrl"
},
{
"id": "xr1or6dcptogabyvv6zepmw8",
"type": "Wait",
"groupId": "mwfu8ot0z37zfq2fbo5rcyrl",
"options": { "secondsToWaitFor": "1" }
},
{
"id": "bfyw1eabougkp2aqlrcrf6lz",
"type": "Redirect",
"groupId": "mwfu8ot0z37zfq2fbo5rcyrl",
"options": {
"url": "https://www.capterra.com/p/233968/Typebot/",
"isNewTab": false
}
}
],
"graphCoordinates": { "x": 2531.28515625, "y": 300.828125 }
}
],
"variables": [
{ "id": "vwqc8tzl0380h30vxh07fekmm", "name": "Recommend rate" },
{ "id": "vcgkjbh8intf2cql1oteyj4mu", "name": "Type" }
],
"edges": [
{
"id": "qtd5p5sya9w8yoknvbhy493i",
"to": { "groupId": "g7l1tc86ty1r6x0yn0r2g1xo" },
"from": {
"blockId": "up8jk4o8xvbfqtzyd63hsrm5",
"groupId": "yu8qfeteutmum1ghb0wqshu9"
}
},
{
"id": "glj5ishgke8i6s6eyjnmbel1",
"to": { "groupId": "sk1n3wpfit3uvfrh42fgcykm" },
"from": {
"blockId": "ou7airondk1mxm4inzzyyr1x",
"groupId": "qj9qgsbfv6u1f5oe1bjnwnu9"
}
},
{
"id": "hycn6wx0j9ug4wf5vzz9aytx",
"to": { "groupId": "sk1n3wpfit3uvfrh42fgcykm" },
"from": {
"blockId": "qj3e1cxwjub800r6g3lfa4ei",
"groupId": "rp2r31gn1w5t1aeej96bhjj3"
}
},
{
"id": "zug5c4jy98sywgp1amtms6oc",
"to": { "groupId": "tavt0nuh54ck1hvq74kt74vf" },
"from": {
"itemId": "xy6ni2aj5dxys27itzbtvdzw",
"blockId": "z76m5qjuy15sa6b0p1re0nkp",
"groupId": "xgqei015z6d58gefpviz8053"
}
},
{
"id": "niec249stbfa2obm9mkd1pgw",
"to": { "groupId": "z4qtvedlz3mzcj4jdnfet2dc" },
"from": {
"blockId": "z76m5qjuy15sa6b0p1re0nkp",
"groupId": "xgqei015z6d58gefpviz8053"
}
},
{
"id": "qb38wjfqzksaujoppzrrto25",
"to": { "groupId": "e887eoxfamv45hj8bz47jize" },
"from": {
"itemId": "vrhf4u4dt6u146eywqybgrk2",
"blockId": "z76m5qjuy15sa6b0p1re0nkp",
"groupId": "xgqei015z6d58gefpviz8053"
}
},
{
"id": "r74zv3gamsln3dbmp1gvxpa2",
"to": { "groupId": "rp2r31gn1w5t1aeej96bhjj3" },
"from": {
"blockId": "vdythdfi91vr47ipbfalddc6",
"groupId": "tavt0nuh54ck1hvq74kt74vf"
}
},
{
"id": "x62wj4inzidyj03ktiyu0g81",
"to": {
"blockId": "qj3e1cxwjub800r6g3lfa4ei",
"groupId": "rp2r31gn1w5t1aeej96bhjj3"
},
"from": {
"blockId": "w40rjuv0avoetpdj6l5nbiz6",
"groupId": "e887eoxfamv45hj8bz47jize"
}
},
{
"id": "q5xllqzy4x1q3tdvpr1piwgi",
"to": { "groupId": "qj9qgsbfv6u1f5oe1bjnwnu9" },
"from": {
"blockId": "melr0p8nxssxe1qyat748uyy",
"groupId": "z4qtvedlz3mzcj4jdnfet2dc"
}
},
{
"id": "y6gsa6pjrfeu8zi6evtzirs1",
"to": { "groupId": "l7fupza0yi6os0ix6heyd7jz" },
"from": {
"blockId": "ro6a6dt7j3x99unduh5jm6an",
"groupId": "sk1n3wpfit3uvfrh42fgcykm"
}
},
{
"id": "jjymvdpeyfqu2qpo6hh2zxeo",
"to": { "groupId": "vvbtgh5ptk49shyjn3zn6d71" },
"from": {
"itemId": "cdi4c43wbyi3ajdns5klfg1g",
"blockId": "z4gsshsckqdu6m1umartgxgb",
"groupId": "l7fupza0yi6os0ix6heyd7jz"
}
},
{
"id": "jyen1rcq5cxek118gkio0u6d",
"to": { "groupId": "znljx8q0q2ggih0ipu28ryby" },
"from": {
"itemId": "vey2i7kouphj3dgzz1rtwuxb",
"blockId": "z4gsshsckqdu6m1umartgxgb",
"groupId": "l7fupza0yi6os0ix6heyd7jz"
}
},
{
"id": "wjcvbnj1drs6if1p21a8yokf",
"to": { "groupId": "znljx8q0q2ggih0ipu28ryby" },
"from": {
"itemId": "l7txnq6jtm0niynklcpzb21u",
"blockId": "v9pf4n5kcwon4g0yvwwc6vk3",
"groupId": "pp1ncsdaki07pfq5pjl53v6r"
}
},
{
"id": "lw33kviri91z1mvxb87kaew0",
"to": { "groupId": "mwfu8ot0z37zfq2fbo5rcyrl" },
"from": {
"itemId": "y34d4iij8y9qrt28y240x7vm",
"blockId": "v9pf4n5kcwon4g0yvwwc6vk3",
"groupId": "pp1ncsdaki07pfq5pjl53v6r"
}
},
{
"id": "sjeyoptun1yu805ry37je1ni",
"to": { "groupId": "xgqei015z6d58gefpviz8053" },
"from": {
"itemId": "wvjhc2vrkqy8512y0wvmciex",
"blockId": "d3asw3zs2gahpxs3usun6lm5",
"groupId": "g7l1tc86ty1r6x0yn0r2g1xo"
}
},
{
"id": "fcels3dp2kabntjscmirxtl7",
"to": { "groupId": "pp1ncsdaki07pfq5pjl53v6r" },
"from": {
"itemId": "vd6ls562brvt5kld746ao63x",
"blockId": "z4gsshsckqdu6m1umartgxgb",
"groupId": "l7fupza0yi6os0ix6heyd7jz"
}
}
],
"theme": {
"chat": {
"inputs": {
"color": "#303235",
"backgroundColor": "#FFFFFF",
"placeholderColor": "#9095A0"
},
"buttons": { "color": "#FFFFFF", "backgroundColor": "#0042DA" },
"hostAvatar": {
"isEnabled": true
},
"hostBubbles": { "color": "#303235", "backgroundColor": "#F7F8FF" },
"guestBubbles": { "color": "#FFFFFF", "backgroundColor": "#FF8E21" }
},
"general": {
"font": "Open Sans",
"background": { "type": "Color", "content": "#ffffff" }
}
},
"settings": {
"general": {
"isBrandingEnabled": true,
"isInputPrefillEnabled": true,
"isResultSavingEnabled": true,
"isHideQueryParamsEnabled": true,
"isNewResultOnRefreshEnabled": true
},
"metadata": {
"description": "Build beautiful conversational forms and embed them directly in your applications without a line of code. Triple your response rate and collect answers that has more value compared to a traditional form."
},
"typingEmulation": { "speed": 300, "enabled": true, "maxDelay": 1.5 }
},
"publicId": null,
"customDomain": null,
"workspaceId": "proWorkspace",
"resultsTablePreferences": null,
"isArchived": false,
"isClosed": false
}