2
0

Add lead magnet template

Closes #447
This commit is contained in:
Baptiste Arnaud
2023-04-07 10:49:23 +02:00
parent a7dbe93edd
commit ee14228ee3
2 changed files with 653 additions and 0 deletions

View File

@ -0,0 +1,647 @@
{
"id": "clg69gafk00011ar14aryt8ej",
"version": "3",
"createdAt": "2023-04-07T08:03:57.008Z",
"updatedAt": "2023-04-07T08:22:10.285Z",
"icon": "🧲",
"name": "Lead magnet",
"folderId": null,
"groups": [
{
"id": "emejg92oa3743x6z556xi1ig",
"title": "Start",
"blocks": [
{
"id": "fp82tc3nolkjpw38j60xxemb",
"type": "start",
"label": "Start",
"groupId": "emejg92oa3743x6z556xi1ig",
"outgoingEdgeId": "hfugjlwxkt5eqvxe5poimt6w"
}
],
"graphCoordinates": { "x": 0, "y": 0 }
},
{
"id": "gr9wedxcqxie11ki9yss1h5o",
"title": "Intro",
"blocks": [
{
"id": "uaks8b01ec3fln8g5iq9gnv7",
"type": "text",
"content": {
"html": "<div>Hi there! 👋</div>",
"richText": [
{ "type": "p", "children": [{ "text": "Hi there! 👋" }] }
],
"plainText": "Hi there! 👋"
},
"groupId": "gr9wedxcqxie11ki9yss1h5o"
},
{
"id": "iy9brewiabfhv7ctsvdd5fg6",
"type": "text",
"content": {
"html": "<div>Sign up for the newsletter and <span class=\"slate-bold\">get free access to our exclusive &apos;Community Bundle&apos;.</span></div>",
"richText": [
{
"type": "p",
"children": [
{ "text": "Sign up for the newsletter and " },
{
"bold": true,
"text": "get free access to our exclusive 'Community Bundle'."
}
]
}
],
"plainText": "Sign up for the newsletter and get free access to our exclusive 'Community Bundle'."
},
"groupId": "gr9wedxcqxie11ki9yss1h5o"
},
{
"id": "immlrmjc0tnvc0rd1552c0ey",
"type": "text",
"content": {
"html": "<div>This bundle helps you create the best Community possible for your project.</div>",
"richText": [
{
"type": "p",
"children": [
{
"text": "This bundle helps you create the best Community possible for your project."
}
]
}
],
"plainText": "This bundle helps you create the best Community possible for your project."
},
"groupId": "gr9wedxcqxie11ki9yss1h5o"
},
{
"id": "i1pv6t8sj9wdzoheplwj1cnr",
"type": "text",
"content": {
"html": "<div>What&apos;s your name?</div>",
"richText": [
{ "type": "p", "children": [{ "text": "What's your name?" }] }
],
"plainText": "What's your name?"
},
"groupId": "gr9wedxcqxie11ki9yss1h5o"
},
{
"id": "uocaxxtg26btl2zytwy09jh9",
"type": "text input",
"groupId": "gr9wedxcqxie11ki9yss1h5o",
"options": {
"isLong": false,
"labels": { "button": "Send", "placeholder": "Your first name" },
"variableId": "vyu4paeim4jcjgmxr26bdk286"
},
"outgoingEdgeId": "rczh7k3r065okzax6za00lvh"
}
],
"graphCoordinates": { "x": 209.12109375, "y": 176.5703125 }
},
{
"id": "xaloto3qrrbtcdcrob013xcx",
"title": "Email",
"blocks": [
{
"id": "pcx0bo7egsq3il16707mkuzc",
"type": "text",
"content": {
"html": "<div>Ok, {{Name}}. What email would you like to sign up with?</div>",
"richText": [
{
"type": "p",
"children": [
{
"text": "Ok, {{Name}}. What email would you like to sign up with?"
}
]
}
],
"plainText": "Ok, {{Name}}. What email would you like to sign up with?"
},
"groupId": "xaloto3qrrbtcdcrob013xcx"
},
{
"id": "fu17h0e24vpplfnrhla0t5id",
"type": "text input",
"groupId": "xaloto3qrrbtcdcrob013xcx",
"options": {
"isLong": false,
"labels": { "button": "Send", "placeholder": "Your email address" },
"variableId": "vrhd0bug6b6dzgijevfoonvo2"
},
"outgoingEdgeId": "x9hmtjizy3cl3kzyagf0ucnp"
}
],
"graphCoordinates": { "x": 563.2421875, "y": 177.484375 }
},
{
"id": "tp9r95ay5vm9zlgzw8twtxn3",
"title": "Goal",
"blocks": [
{
"id": "o6helbp9c682dur5e8bt9yov",
"type": "text",
"content": {
"html": "<div>What&apos;s your goal with the community?</div>",
"richText": [
{
"type": "p",
"children": [{ "text": "What's your goal with the community?" }]
}
],
"plainText": "What's your goal with the community?"
},
"groupId": "tp9r95ay5vm9zlgzw8twtxn3"
},
{
"id": "wq7yofni4bqr9rt5qrzk6928",
"type": "choice input",
"items": [
{
"id": "ux0ly8ocxfm8i8ivdbwjnmnt",
"type": 0,
"blockId": "wq7yofni4bqr9rt5qrzk6928",
"content": "Win loyal fans"
},
{
"id": "izz0nwo2iy2kmlif5fav2oc5",
"type": 0,
"blockId": "wq7yofni4bqr9rt5qrzk6928",
"content": "Competitive advantage"
},
{
"id": "jtkx9v5uqjw84hapq3umqlb5",
"type": 0,
"blockId": "wq7yofni4bqr9rt5qrzk6928",
"content": "Better product"
},
{
"id": "k7a7rkpoigrtrulilap7q6fw",
"type": 0,
"blockId": "wq7yofni4bqr9rt5qrzk6928",
"content": "Support"
}
],
"groupId": "tp9r95ay5vm9zlgzw8twtxn3",
"options": {
"variableId": "vf49immob0ih3kxn5b0nraqkq",
"buttonLabel": "Send",
"isMultipleChoice": false
},
"outgoingEdgeId": "on3al6xuczmckpu3roboo9te"
}
],
"graphCoordinates": { "x": 1243.07421875, "y": 172.2421875 }
},
{
"id": "cszciavjonb2qp0ga0pladoj",
"title": "Goal",
"blocks": [
{
"id": "tfqqveo72xt7i7ii9imztcd4",
"type": "text",
"content": {
"html": "<div>Perfect, your bundle will be emailed to you right away 🚀</div>",
"richText": [
{
"type": "p",
"children": [
{
"text": "Perfect, your bundle will be emailed to you right away 🚀"
}
]
}
],
"plainText": "Perfect, your bundle will be emailed to you right away 🚀"
},
"groupId": "cszciavjonb2qp0ga0pladoj"
},
{
"id": "xxujz94e696scfz0jjw5zyvw",
"type": "text",
"content": {
"html": "<div>What&apos;s your goal with the community?</div>",
"richText": [
{
"type": "p",
"children": [{ "text": "What's your goal with the community?" }]
}
],
"plainText": "What's your goal with the community?"
},
"groupId": "cszciavjonb2qp0ga0pladoj"
},
{
"id": "yxuk1bhfas07i4bxq64hi0vj",
"type": "Condition",
"items": [
{
"id": "qn6w72jgckfz777e9ehb421v",
"type": 1,
"blockId": "yxuk1bhfas07i4bxq64hi0vj",
"content": {
"comparisons": [
{
"id": "nt0c7o7w0elbbrfde8nned76",
"value": "Win loyal fans",
"variableId": "vf49immob0ih3kxn5b0nraqkq",
"comparisonOperator": "Equal to"
}
],
"logicalOperator": "AND"
},
"outgoingEdgeId": "yml7f2btr9q4hptk06cqn2xv"
},
{
"id": "vuun8mijpfzcu0o9qk0vtift",
"type": 1,
"blockId": "yxuk1bhfas07i4bxq64hi0vj",
"content": {
"comparisons": [
{
"id": "yf6asq9i97ap9y2jxibmjylv",
"value": "Competitive advantage",
"variableId": "vf49immob0ih3kxn5b0nraqkq",
"comparisonOperator": "Equal to"
}
],
"logicalOperator": "AND"
},
"outgoingEdgeId": "qhpximatxzjmmm1njwoqzplw"
},
{
"id": "dg28mo88efs00p8ech81qxmu",
"type": 1,
"blockId": "yxuk1bhfas07i4bxq64hi0vj",
"content": {
"comparisons": [
{
"id": "x7tbo8q47r1wdlg6w3c48mru",
"value": "Better product",
"variableId": "vf49immob0ih3kxn5b0nraqkq",
"comparisonOperator": "Equal to"
}
],
"logicalOperator": "AND"
},
"outgoingEdgeId": "xa5z7a7en5vfevqk5e5q05go"
},
{
"id": "lrj50vf8c0cj46jrtxid5a60",
"type": 1,
"blockId": "yxuk1bhfas07i4bxq64hi0vj",
"content": {
"comparisons": [
{
"id": "hkb9qy6un3yrhhxtm0s6c8rg",
"value": "Support",
"variableId": "vf49immob0ih3kxn5b0nraqkq",
"comparisonOperator": "Equal to"
}
],
"logicalOperator": "AND"
},
"outgoingEdgeId": "ogpmoxw3lrt12rgxnq0wajrj"
}
],
"groupId": "cszciavjonb2qp0ga0pladoj"
}
],
"graphCoordinates": { "x": 1590.85546875, "y": 164.02734375 }
},
{
"id": "vvlecgglxadq0x2eg7ozr535",
"title": "Send bundle",
"blocks": [
{
"id": "w53cmmn4iowq753r8jmvk7o7",
"type": "Email",
"groupId": "vvlecgglxadq0x2eg7ozr535",
"options": {
"body": "Hey {{Name}},\n\nHere is a link to download the community bundle:\n\nhttps://typebot.io\n\nI hope it will help you create the right community for your project 🚀\n\nBest,\nTypebot team.",
"replyTo": "",
"subject": "Here is your community bundle ✨",
"recipients": ["{{Email}}"],
"isCustomBody": true,
"credentialsId": "default"
},
"outgoingEdgeId": "qkrpdn1z0bv1xvsa3wrdyyn3"
}
],
"graphCoordinates": { "x": 901.6953125, "y": 180.0546875 }
},
{
"id": "k2sbuizycrpuyf44v9eebebr",
"title": "Win loyal fans video",
"blocks": [
{
"id": "dzcw0vwo23vhp2nwyxl99va8",
"type": "text",
"content": {
"html": "<div>Want to know how to win loyal fans?</div>",
"richText": [
{
"type": "p",
"children": [{ "text": "Want to know how to win loyal fans?" }]
}
],
"plainText": "Want to know how to win loyal fans?"
},
"groupId": "k2sbuizycrpuyf44v9eebebr"
},
{
"id": "yh8ueuio717ceybrcsqa1ekq",
"type": "text",
"content": {
"html": "<div>Check out this video:</div>",
"richText": [
{ "type": "p", "children": [{ "text": "Check out this video:" }] }
],
"plainText": "Check out this video:"
},
"groupId": "k2sbuizycrpuyf44v9eebebr"
},
{
"id": "z3ffqugex7gipsb4ke6ov874",
"type": "video",
"content": {
"id": "jp3ggg_42-M",
"url": "https://www.youtube.com/watch?v=jp3ggg_42-M&t=22s",
"type": "youtube"
},
"groupId": "k2sbuizycrpuyf44v9eebebr"
}
],
"graphCoordinates": { "x": 1969.18359375, "y": -205.76171875 }
},
{
"id": "v6s5yza7kgretdmbke7lg5u7",
"title": "Competitive advantage video",
"blocks": [
{
"id": "anu87wo53n3ihq4xl8smprwg",
"type": "text",
"content": {
"html": "<div>Want to know how to have a great competitive advantage with your community?</div>",
"richText": [
{
"type": "p",
"children": [
{
"text": "Want to know how to have a great competitive advantage with your community?"
}
]
}
],
"plainText": "Want to know how to have a great competitive advantage with your community?"
},
"groupId": "v6s5yza7kgretdmbke7lg5u7"
},
{
"id": "ku2scubf21eqnip3ig3rc7n9",
"type": "text",
"content": {
"html": "<div>Check out this video:</div>",
"richText": [
{ "type": "p", "children": [{ "text": "Check out this video:" }] }
],
"plainText": "Check out this video:"
},
"groupId": "v6s5yza7kgretdmbke7lg5u7"
},
{
"id": "rvdh4tk0ebg7t9tdga9aw8ao",
"type": "video",
"content": {
"id": "jp3ggg_42-M",
"url": "https://www.youtube.com/watch?v=jp3ggg_42-M&t=22s",
"type": "youtube"
},
"groupId": "v6s5yza7kgretdmbke7lg5u7"
}
],
"graphCoordinates": { "x": 1968.1484375, "y": 181.5703125 }
},
{
"id": "l3pc0992zp0hw8ea83b7aky3",
"title": "Better product",
"blocks": [
{
"id": "ysedrtj5q17usk5ezpa5g88e",
"type": "text",
"content": {
"html": "<div>Want to know how to improve your product by leveraging a community?</div>",
"richText": [
{
"type": "p",
"children": [
{
"text": "Want to know how to improve your product by leveraging a community?"
}
]
}
],
"plainText": "Want to know how to improve your product by leveraging a community?"
},
"groupId": "l3pc0992zp0hw8ea83b7aky3"
},
{
"id": "xy08sticb76u82sgcfaeqpe2",
"type": "text",
"content": {
"html": "<div>Check out this video:</div>",
"richText": [
{ "type": "p", "children": [{ "text": "Check out this video:" }] }
],
"plainText": "Check out this video:"
},
"groupId": "l3pc0992zp0hw8ea83b7aky3"
},
{
"id": "jiz2uvo89456jpy081hazkd4",
"type": "video",
"content": {
"id": "jp3ggg_42-M",
"url": "https://www.youtube.com/watch?v=jp3ggg_42-M&t=22s",
"type": "youtube"
},
"groupId": "l3pc0992zp0hw8ea83b7aky3"
}
],
"graphCoordinates": { "x": 1968.703125, "y": 600.07421875 }
},
{
"id": "f4hlh2oq8viwxrpl9ppq5d42",
"title": "Support",
"blocks": [
{
"id": "lu0bevnjfkor1ugbnbkev7t3",
"type": "text",
"content": {
"html": "<div>Want to offer better support with a community?</div>",
"richText": [
{
"type": "p",
"children": [
{ "text": "Want to offer better support with a community?" }
]
}
],
"plainText": "Want to offer better support with a community?"
},
"groupId": "f4hlh2oq8viwxrpl9ppq5d42"
},
{
"id": "jrhdfrdn4gdstpktq1q0gk1q",
"type": "text",
"content": {
"html": "<div>Check out this video:</div>",
"richText": [
{ "type": "p", "children": [{ "text": "Check out this video:" }] }
],
"plainText": "Check out this video:"
},
"groupId": "f4hlh2oq8viwxrpl9ppq5d42"
},
{
"id": "e3tlj1y4vyhtwcabzifv63q2",
"type": "video",
"content": {
"id": "jp3ggg_42-M",
"url": "https://www.youtube.com/watch?v=jp3ggg_42-M&t=22s",
"type": "youtube"
},
"groupId": "f4hlh2oq8viwxrpl9ppq5d42"
}
],
"graphCoordinates": { "x": 1970.0234375, "y": 1025.99609375 }
}
],
"variables": [
{ "id": "vyu4paeim4jcjgmxr26bdk286", "name": "Name" },
{ "id": "vf49immob0ih3kxn5b0nraqkq", "name": "Goal" },
{ "id": "vrhd0bug6b6dzgijevfoonvo2", "name": "Email" }
],
"edges": [
{
"id": "hfugjlwxkt5eqvxe5poimt6w",
"to": { "groupId": "gr9wedxcqxie11ki9yss1h5o" },
"from": {
"blockId": "fp82tc3nolkjpw38j60xxemb",
"groupId": "emejg92oa3743x6z556xi1ig"
}
},
{
"id": "rczh7k3r065okzax6za00lvh",
"to": { "groupId": "xaloto3qrrbtcdcrob013xcx" },
"from": {
"blockId": "uocaxxtg26btl2zytwy09jh9",
"groupId": "gr9wedxcqxie11ki9yss1h5o"
}
},
{
"id": "on3al6xuczmckpu3roboo9te",
"to": { "groupId": "cszciavjonb2qp0ga0pladoj" },
"from": {
"blockId": "wq7yofni4bqr9rt5qrzk6928",
"groupId": "tp9r95ay5vm9zlgzw8twtxn3"
}
},
{
"id": "x9hmtjizy3cl3kzyagf0ucnp",
"to": { "groupId": "vvlecgglxadq0x2eg7ozr535" },
"from": {
"blockId": "fu17h0e24vpplfnrhla0t5id",
"groupId": "xaloto3qrrbtcdcrob013xcx"
}
},
{
"id": "qkrpdn1z0bv1xvsa3wrdyyn3",
"to": { "groupId": "tp9r95ay5vm9zlgzw8twtxn3" },
"from": {
"blockId": "w53cmmn4iowq753r8jmvk7o7",
"groupId": "vvlecgglxadq0x2eg7ozr535"
}
},
{
"id": "yml7f2btr9q4hptk06cqn2xv",
"to": { "groupId": "k2sbuizycrpuyf44v9eebebr" },
"from": {
"itemId": "qn6w72jgckfz777e9ehb421v",
"blockId": "yxuk1bhfas07i4bxq64hi0vj",
"groupId": "cszciavjonb2qp0ga0pladoj"
}
},
{
"id": "qhpximatxzjmmm1njwoqzplw",
"to": { "groupId": "v6s5yza7kgretdmbke7lg5u7" },
"from": {
"itemId": "vuun8mijpfzcu0o9qk0vtift",
"blockId": "yxuk1bhfas07i4bxq64hi0vj",
"groupId": "cszciavjonb2qp0ga0pladoj"
}
},
{
"id": "xa5z7a7en5vfevqk5e5q05go",
"to": { "groupId": "l3pc0992zp0hw8ea83b7aky3" },
"from": {
"itemId": "dg28mo88efs00p8ech81qxmu",
"blockId": "yxuk1bhfas07i4bxq64hi0vj",
"groupId": "cszciavjonb2qp0ga0pladoj"
}
},
{
"id": "ogpmoxw3lrt12rgxnq0wajrj",
"to": { "groupId": "f4hlh2oq8viwxrpl9ppq5d42" },
"from": {
"itemId": "lrj50vf8c0cj46jrtxid5a60",
"blockId": "yxuk1bhfas07i4bxq64hi0vj",
"groupId": "cszciavjonb2qp0ga0pladoj"
}
}
],
"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" }
}
},
"selectedThemeTemplateId": null,
"settings": {
"general": {
"isBrandingEnabled": true,
"isInputPrefillEnabled": 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": "freeWorkspace",
"resultsTablePreferences": null,
"isArchived": false,
"isClosed": false
}

View File

@ -5,6 +5,12 @@ export const templates: TemplateProps[] = [
{ name: 'Customer Support', emoji: '😍', fileName: 'customer-support.json' },
{ name: 'Quiz', emoji: '🕹️', fileName: 'quiz.json' },
{ name: 'Lead Scoring', emoji: '🏆', fileName: 'lead-scoring.json' },
{
name: 'Lead magnet',
emoji: '🧲',
fileName: 'lead-magnet.json',
isNew: true,
},
{
name: 'NPS Survey',
emoji: '⭐',