2
0

refactor: ♻️ Rename step to block

This commit is contained in:
Baptiste Arnaud
2022-06-11 07:27:38 +02:00
parent 8751766d0e
commit 2df8338505
297 changed files with 4292 additions and 3989 deletions

View File

@ -6,15 +6,15 @@
"name": "Digital Product Payment",
"publishedTypebotId": null,
"folderId": null,
"blocks": [
"groups": [
{
"id": "cl3u43cht00044z1adg20ffni",
"steps": [
"blocks": [
{
"id": "cl3u43chu00054z1abb5x7fzk",
"type": "start",
"label": "Start",
"blockId": "cl3u43cht00044z1adg20ffni",
"groupId": "cl3u43cht00044z1adg20ffni",
"outgoingEdgeId": "cl3u448z200062e6gr653itny"
}
],
@ -25,10 +25,10 @@
"id": "cl3u4431400042e6go5nd0euq",
"graphCoordinates": { "x": 365, "y": 126 },
"title": "Name",
"steps": [
"blocks": [
{
"id": "cl3u4431500052e6gruhlxklx",
"blockId": "cl3u4431400042e6go5nd0euq",
"groupId": "cl3u4431400042e6go5nd0euq",
"type": "text",
"content": {
"html": "<div>Hi there 👋</div>",
@ -40,7 +40,7 @@
},
{
"id": "cl3u4592z00082e6go92cuu43",
"blockId": "cl3u4431400042e6go5nd0euq",
"groupId": "cl3u4431400042e6go5nd0euq",
"type": "text",
"content": {
"html": "<div>What&#x27;s your name?</div>",
@ -52,7 +52,7 @@
},
{
"id": "cl3u45f0n000a2e6gci2xgmph",
"blockId": "cl3u4431400042e6go5nd0euq",
"groupId": "cl3u4431400042e6go5nd0euq",
"type": "text input",
"options": {
"isLong": false,
@ -70,10 +70,10 @@
"id": "cl3u45dib00092e6g4q2tdkpu",
"graphCoordinates": { "x": 705, "y": 121 },
"title": "Product demo",
"steps": [
"blocks": [
{
"id": "cl3u45lqz000d2e6gxo4n5ets",
"blockId": "cl3u45dib00092e6g4q2tdkpu",
"groupId": "cl3u45dib00092e6g4q2tdkpu",
"type": "text",
"content": {
"html": "<div>Cool, nice to meet you {{Name}}</div>",
@ -88,7 +88,7 @@
},
{
"id": "cl3u44adg00072e6gc13e1n12",
"blockId": "cl3u45dib00092e6g4q2tdkpu",
"groupId": "cl3u45dib00092e6g4q2tdkpu",
"type": "text",
"content": {
"html": "<div>I&#x27;ve been working on a Notion template for the last 3 months to help you Grow your business.</div>",
@ -107,7 +107,7 @@
},
{
"id": "cl3u46b0i000e2e6gkpf4qiry",
"blockId": "cl3u45dib00092e6g4q2tdkpu",
"groupId": "cl3u45dib00092e6g4q2tdkpu",
"type": "text",
"content": {
"html": "<div>It is based on the Bullseye Growth Framework</div>",
@ -124,7 +124,7 @@
},
{
"id": "cl3u49lmg000f2e6guhhgf825",
"blockId": "cl3u45dib00092e6g4q2tdkpu",
"groupId": "cl3u45dib00092e6g4q2tdkpu",
"type": "video",
"content": {
"type": "url",
@ -133,7 +133,7 @@
},
{
"id": "cl3u4hyl9000i2e6gtdz8m04b",
"blockId": "cl3u45dib00092e6g4q2tdkpu",
"groupId": "cl3u45dib00092e6g4q2tdkpu",
"type": "text",
"content": {
"html": "<div>It's yours for $9</div>",
@ -152,7 +152,7 @@
},
{
"id": "cl3u4hyl9000i2e6gtdz8m04a",
"blockId": "cl3u45dib00092e6g4q2tdkpu",
"groupId": "cl3u45dib00092e6g4q2tdkpu",
"type": "text",
"content": {
"html": "<div>Are you interested in receiving a copy of this template?</div>",
@ -171,19 +171,19 @@
},
{
"id": "cl3u4id67000l2e6gahw4v1ny",
"blockId": "cl3u45dib00092e6g4q2tdkpu",
"groupId": "cl3u45dib00092e6g4q2tdkpu",
"type": "choice input",
"options": { "buttonLabel": "Send", "isMultipleChoice": false },
"items": [
{
"id": "cl3u4id67000m2e6g3x3do8kd",
"stepId": "cl3u4id67000l2e6gahw4v1ny",
"blockId": "cl3u4id67000l2e6gahw4v1ny",
"type": 0,
"content": "Hell yes!",
"outgoingEdgeId": "cl3u4l4do00102e6ghd9s5p3f"
},
{
"stepId": "cl3u4id67000l2e6gahw4v1ny",
"blockId": "cl3u4id67000l2e6gahw4v1ny",
"type": 0,
"id": "cl3u4iexy000o2e6gbagmrxcc",
"content": "I'm ok, thanks.",
@ -197,10 +197,10 @@
"id": "cl3u4iw28000s2e6gdmukl6qb",
"graphCoordinates": { "x": 897, "y": 960 },
"title": "Bye",
"steps": [
"blocks": [
{
"id": "cl3u4iw29000t2e6gakbxvz4u",
"blockId": "cl3u4iw28000s2e6gdmukl6qb",
"groupId": "cl3u4iw28000s2e6gdmukl6qb",
"type": "text",
"content": {
"html": "<div>Oh ok, feel free to come back when you feel ready {{Name}}!</div>",
@ -219,7 +219,7 @@
},
{
"id": "cl3u4jcyt000u2e6gzyj2p5ss",
"blockId": "cl3u4iw28000s2e6gdmukl6qb",
"groupId": "cl3u4iw28000s2e6gdmukl6qb",
"type": "image",
"content": {
"url": "https://media3.giphy.com/media/48FhEMYGWji8/giphy.gif?cid=fe3852a32dqdmhdazal2zzctxpxukjx171k0e4eflp0w36jf&rid=giphy.gif&ct=g"
@ -231,10 +231,10 @@
"id": "cl3u4kblb000w2e6gfflsq56p",
"graphCoordinates": { "x": 1072, "y": 588 },
"title": "Email",
"steps": [
"blocks": [
{
"id": "cl3u4kblb000x2e6g49rot8h0",
"blockId": "cl3u4kblb000w2e6gfflsq56p",
"groupId": "cl3u4kblb000w2e6gfflsq56p",
"type": "text",
"content": {
"html": "<div>That&#x27;s awesome!</div>",
@ -246,7 +246,7 @@
},
{
"id": "cl3u4khsx000y2e6gx9iysgt4",
"blockId": "cl3u4kblb000w2e6gfflsq56p",
"groupId": "cl3u4kblb000w2e6gfflsq56p",
"type": "text",
"content": {
"html": "<div>What&#x27;s the email address where you want to receive the link?</div>",
@ -265,7 +265,7 @@
},
{
"id": "cl3u4l2et000z2e6gjlmh45jp",
"blockId": "cl3u4kblb000w2e6gfflsq56p",
"groupId": "cl3u4kblb000w2e6gfflsq56p",
"type": "email input",
"options": {
"labels": { "button": "Send", "placeholder": "Type your email..." },
@ -280,10 +280,10 @@
"id": "cl3u4leig00112e6gxbk65r7y",
"graphCoordinates": { "x": 1400, "y": 589 },
"title": "Payment",
"steps": [
"blocks": [
{
"id": "cl3u4leig00122e6gqx7skfhb",
"blockId": "cl3u4leig00112e6gxbk65r7y",
"groupId": "cl3u4leig00112e6gxbk65r7y",
"type": "text",
"content": {
"html": "<div>Sounds good.</div>",
@ -295,7 +295,7 @@
},
{
"id": "cl3u4llj300132e6gciw2ivyv",
"blockId": "cl3u4leig00112e6gxbk65r7y",
"groupId": "cl3u4leig00112e6gxbk65r7y",
"type": "text",
"content": {
"html": "<div>You&#x27;re a step away from implementing proven growth systems to your business 🚀</div>",
@ -314,7 +314,7 @@
},
{
"id": "cl3u4mjq900152e6grwyg90zt",
"blockId": "cl3u4leig00112e6gxbk65r7y",
"groupId": "cl3u4leig00112e6gxbk65r7y",
"type": "payment input",
"options": {
"provider": "Stripe",
@ -334,10 +334,10 @@
"id": "cl3u4vnth00182e6g2hh0gewl",
"graphCoordinates": { "x": 1731.4449652273986, "y": 586.6975439409757 },
"title": "Send email",
"steps": [
"blocks": [
{
"id": "cl3u4wi2d001a2e6gznp1r9d4",
"blockId": "cl3u4vnth00182e6g2hh0gewl",
"groupId": "cl3u4vnth00182e6g2hh0gewl",
"type": "image",
"content": {
"url": "https://media1.giphy.com/media/s2qXK8wAvkHTO/giphy.gif?cid=fe3852a3edx7hsbquhw3lu17c422yzc6wsiplnpn02rzm2kf&rid=giphy.gif&ct=g"
@ -345,7 +345,7 @@
},
{
"id": "cl3u4xcqc001c2e6g355vnigh",
"blockId": "cl3u4vnth00182e6g2hh0gewl",
"groupId": "cl3u4vnth00182e6g2hh0gewl",
"type": "Email",
"options": {
"credentialsId": "default",
@ -356,7 +356,7 @@
},
{
"id": "cl3u5189q001d2e6gd1q7qshq",
"blockId": "cl3u4vnth00182e6g2hh0gewl",
"groupId": "cl3u4vnth00182e6g2hh0gewl",
"type": "text",
"content": {
"html": "<div>It&#x27;s all good, you should have received the email!</div>",
@ -375,7 +375,7 @@
},
{
"id": "cl3u51mpe001e2e6ggrjjzxek",
"blockId": "cl3u4vnth00182e6g2hh0gewl",
"groupId": "cl3u4vnth00182e6g2hh0gewl",
"type": "text",
"content": {
"html": "<div>Thanks again for your visit.</div>",
@ -390,7 +390,7 @@
},
{
"id": "cl3u51z0o001f2e6gbl96p7bi",
"blockId": "cl3u4vnth00182e6g2hh0gewl",
"groupId": "cl3u4vnth00182e6g2hh0gewl",
"type": "text",
"content": {
"html": "<div>Bye 👋</div>",
@ -408,52 +408,52 @@
"edges": [
{
"from": {
"blockId": "cl3u43cht00044z1adg20ffni",
"stepId": "cl3u43chu00054z1abb5x7fzk"
"groupId": "cl3u43cht00044z1adg20ffni",
"blockId": "cl3u43chu00054z1abb5x7fzk"
},
"to": { "blockId": "cl3u4431400042e6go5nd0euq" },
"to": { "groupId": "cl3u4431400042e6go5nd0euq" },
"id": "cl3u448z200062e6gr653itny"
},
{
"from": {
"blockId": "cl3u4431400042e6go5nd0euq",
"stepId": "cl3u45f0n000a2e6gci2xgmph"
"groupId": "cl3u4431400042e6go5nd0euq",
"blockId": "cl3u45f0n000a2e6gci2xgmph"
},
"to": { "blockId": "cl3u45dib00092e6g4q2tdkpu" },
"to": { "groupId": "cl3u45dib00092e6g4q2tdkpu" },
"id": "cl3u45j0n000c2e6go4nnaavg"
},
{
"from": {
"blockId": "cl3u45dib00092e6g4q2tdkpu",
"stepId": "cl3u4id67000l2e6gahw4v1ny",
"groupId": "cl3u45dib00092e6g4q2tdkpu",
"blockId": "cl3u4id67000l2e6gahw4v1ny",
"itemId": "cl3u4iexy000o2e6gbagmrxcc"
},
"to": { "blockId": "cl3u4iw28000s2e6gdmukl6qb" },
"to": { "groupId": "cl3u4iw28000s2e6gdmukl6qb" },
"id": "cl3u4jxq2000v2e6gkpwko0uo"
},
{
"from": {
"blockId": "cl3u45dib00092e6g4q2tdkpu",
"stepId": "cl3u4id67000l2e6gahw4v1ny",
"groupId": "cl3u45dib00092e6g4q2tdkpu",
"blockId": "cl3u4id67000l2e6gahw4v1ny",
"itemId": "cl3u4id67000m2e6g3x3do8kd"
},
"to": { "blockId": "cl3u4kblb000w2e6gfflsq56p" },
"to": { "groupId": "cl3u4kblb000w2e6gfflsq56p" },
"id": "cl3u4l4do00102e6ghd9s5p3f"
},
{
"from": {
"blockId": "cl3u4kblb000w2e6gfflsq56p",
"stepId": "cl3u4l2et000z2e6gjlmh45jp"
"groupId": "cl3u4kblb000w2e6gfflsq56p",
"blockId": "cl3u4l2et000z2e6gjlmh45jp"
},
"to": { "blockId": "cl3u4leig00112e6gxbk65r7y" },
"to": { "groupId": "cl3u4leig00112e6gxbk65r7y" },
"id": "cl3u4mbrj00142e6gxif5x53i"
},
{
"from": {
"blockId": "cl3u4leig00112e6gxbk65r7y",
"stepId": "cl3u4mjq900152e6grwyg90zt"
"groupId": "cl3u4leig00112e6gxbk65r7y",
"blockId": "cl3u4mjq900152e6grwyg90zt"
},
"to": { "blockId": "cl3u4vnth00182e6g2hh0gewl" },
"to": { "groupId": "cl3u4vnth00182e6g2hh0gewl" },
"id": "cl3u4wynv001b2e6g6pxc7int"
}
],