✨ (templates) New "Hight ticket follow up" template
This commit is contained in:
631
apps/builder/public/templates/high-ticket-lead-follow-up.json
Normal file
631
apps/builder/public/templates/high-ticket-lead-follow-up.json
Normal file
@ -0,0 +1,631 @@
|
||||
{
|
||||
"version": "6",
|
||||
"id": "clvch0psb0001p9py1jx1e8wq",
|
||||
"name": "High ticket lead follow-up",
|
||||
"events": [
|
||||
{
|
||||
"id": "mb3o7c0khkqp5mzf1zifdc65",
|
||||
"outgoingEdgeId": "m77o21luo3uzqvgybje01yo1",
|
||||
"graphCoordinates": { "x": 0, "y": 0 },
|
||||
"type": "start"
|
||||
}
|
||||
],
|
||||
"groups": [
|
||||
{
|
||||
"id": "hemncfdck31b3l9urzs3djtm",
|
||||
"title": "Welcome",
|
||||
"graphCoordinates": { "x": 198.73, "y": 159.13 },
|
||||
"blocks": [
|
||||
{
|
||||
"id": "j4i5syifxmq7650xfz8bnd1o",
|
||||
"type": "text",
|
||||
"content": {
|
||||
"richText": [
|
||||
{ "type": "p", "children": [{ "text": "Hey there 👋" }] }
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "w0a7mlbjj0ryfbfpukf3yj89",
|
||||
"type": "text",
|
||||
"content": {
|
||||
"richText": [
|
||||
{
|
||||
"type": "p",
|
||||
"children": [{ "text": "Baptiste from AgenZ here." }]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "n9sc6rrsb49jqwzv7udqr4c9",
|
||||
"type": "text",
|
||||
"content": {
|
||||
"richText": [
|
||||
{
|
||||
"type": "p",
|
||||
"children": [{ "text": "Thank you for downloading the ebook!" }]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "le64m3unjanvtuchvc8q5k2g",
|
||||
"type": "text",
|
||||
"content": {
|
||||
"richText": [
|
||||
{
|
||||
"type": "p",
|
||||
"children": [
|
||||
{ "text": "I have a few questions, do you have a minute?" }
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "nq6t2hj5fnokmtjnse65hbtg",
|
||||
"type": "choice input",
|
||||
"items": [
|
||||
{
|
||||
"id": "g1g24q5d198iv7gtqm5ics7k",
|
||||
"outgoingEdgeId": "ybsw3vxq9dubcsfnlrf54a7p",
|
||||
"content": "Sure!"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "a3txw7jcd5qalxizrvqu0fqt",
|
||||
"title": "Business",
|
||||
"graphCoordinates": { "x": 576.4, "y": 154.56 },
|
||||
"blocks": [
|
||||
{
|
||||
"id": "rowpy0lwuecc83xecbb8tzcn",
|
||||
"type": "text",
|
||||
"content": {
|
||||
"richText": [{ "type": "p", "children": [{ "text": "Awesome!" }] }]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "jucfgkm87gptw5fbqkq6qk7d",
|
||||
"type": "text",
|
||||
"content": {
|
||||
"richText": [
|
||||
{
|
||||
"type": "p",
|
||||
"children": [{ "text": "What's your current business?" }]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "aaxyzry2gknzkb3n1vy19vh3",
|
||||
"type": "text input",
|
||||
"options": {
|
||||
"variableId": "vct90f8lq4uuyqupv6qco5jfq",
|
||||
"isLong": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "ikvrw5cy41k18ql2pwvzesqt",
|
||||
"type": "mistral",
|
||||
"options": {
|
||||
"action": "Create chat completion",
|
||||
"model": "mistral-medium",
|
||||
"messages": [
|
||||
{
|
||||
"role": "system",
|
||||
"content": "You are an assistant that generates JSON. You always return JSON with no additional description or context.\n\nYour answer should match this JSON schema:\n\n{\n \"business\": {\n \"type\": \"string\",\n \"description\": \"A summary of the business the user is in\"\n }\n}\n\nIf the information does not exists, provide an empty string."
|
||||
},
|
||||
{ "role": "user", "content": "{{last utterance}}" }
|
||||
],
|
||||
"responseMapping": [
|
||||
{
|
||||
"item": "Message content",
|
||||
"variableId": "vaut2rkwqv5gwwihthbk7uhqd"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "xwxh1vqghkhe9ipmdm07p3is",
|
||||
"type": "Set variable",
|
||||
"options": {
|
||||
"variableId": "vabp22hjq8st3roj9qo8lbub3",
|
||||
"expressionToEvaluate": "JSON.parse({{Assistant message}}).business"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "r860fira9zqst6vw5c83buh1",
|
||||
"type": "Condition",
|
||||
"items": [
|
||||
{
|
||||
"id": "fa4zr4att2d2p2uz98l7c9nj",
|
||||
"outgoingEdgeId": "kcj6a2ab3uzusl2adzl0xhsd",
|
||||
"content": {
|
||||
"comparisons": [
|
||||
{
|
||||
"id": "apfizejhjycfnwnrvrawknio",
|
||||
"variableId": "vabp22hjq8st3roj9qo8lbub3",
|
||||
"comparisonOperator": "Is set"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "fe9p6xxrj2lf2pg1675p35l3",
|
||||
"type": "mistral",
|
||||
"options": {
|
||||
"action": "Create chat completion",
|
||||
"model": "mistral-large-latest",
|
||||
"messages": [
|
||||
{
|
||||
"role": "system",
|
||||
"content": "Your job is to know the user current business.\n\nDo your best to collect that information.\n\nProvide short answers with a casual tone."
|
||||
},
|
||||
{
|
||||
"role": "assistant",
|
||||
"content": "What's your current business?"
|
||||
},
|
||||
{ "role": "user", "content": "{{last utterance}}" }
|
||||
],
|
||||
"responseMapping": [
|
||||
{
|
||||
"item": "Message content",
|
||||
"variableId": "vaut2rkwqv5gwwihthbk7uhqd"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "x7jrbbl5ria15ru7fsdpagzm",
|
||||
"outgoingEdgeId": "zzz5ucj2rzm24md4yvg80i0c",
|
||||
"type": "text",
|
||||
"content": {
|
||||
"richText": [
|
||||
{ "type": "p", "children": [{ "text": "{{Assistant message}}" }] }
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "iwhknwvhh53jbw83fu5wgfen",
|
||||
"title": "Revenue",
|
||||
"graphCoordinates": { "x": 969.61, "y": 149.26 },
|
||||
"blocks": [
|
||||
{
|
||||
"id": "qwjk8w0249ijb9x6hvna5vgo",
|
||||
"type": "mistral",
|
||||
"options": {
|
||||
"action": "Create chat completion",
|
||||
"model": "mistral-large-latest",
|
||||
"messages": [
|
||||
{
|
||||
"role": "system",
|
||||
"content": "The user provides a short description of the business is in.\n\nReply enthusiastically, with a casual tone a single sentence, without a follow up question"
|
||||
},
|
||||
{ "role": "user", "content": "{{last utterance}}" }
|
||||
],
|
||||
"responseMapping": [
|
||||
{
|
||||
"item": "Message content",
|
||||
"variableId": "vaut2rkwqv5gwwihthbk7uhqd"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "ytr05wecrwgwsikldha4qvf4",
|
||||
"type": "text",
|
||||
"content": {
|
||||
"richText": [
|
||||
{ "type": "p", "children": [{ "text": "{{Assistant message}}" }] }
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "io8uxdkwwetdj0pxhq17k5yl",
|
||||
"type": "text",
|
||||
"content": {
|
||||
"richText": [
|
||||
{
|
||||
"type": "p",
|
||||
"children": [
|
||||
{
|
||||
"text": "To give me an idea, what's your average revenue per year?"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "az31puebiu8jqql6g6goigox",
|
||||
"type": "text input",
|
||||
"options": { "variableId": "vct90f8lq4uuyqupv6qco5jfq" }
|
||||
},
|
||||
{
|
||||
"id": "r3qf1l12ml1zh9n6uikf6gp3",
|
||||
"type": "mistral",
|
||||
"options": {
|
||||
"action": "Create chat completion",
|
||||
"model": "mistral-medium",
|
||||
"messages": [
|
||||
{
|
||||
"role": "system",
|
||||
"content": "You are an assistant that generates JSON. You always return JSON with no additional description or context.\n\nYour answer should match this JSON schema:\n\n{\n \"average_revenue\": {\n \"type\": \"string\",\n \"description\": \"The user's average revenue\"\n }\n}\n\nIf the information does not exists, provide an empty string."
|
||||
},
|
||||
{ "role": "user", "content": "{{last utterance}}" }
|
||||
],
|
||||
"responseMapping": [
|
||||
{
|
||||
"item": "Message content",
|
||||
"variableId": "vaut2rkwqv5gwwihthbk7uhqd"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "u3iezgunlf653o66g6f61itx",
|
||||
"type": "Set variable",
|
||||
"options": {
|
||||
"variableId": "vuffpsxxfqujokeyh10hfm65p",
|
||||
"expressionToEvaluate": "JSON.parse({{Assistant message}}).average_revenue"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "ptei3e0lcwfpo1q8umygnga8",
|
||||
"type": "Condition",
|
||||
"items": [
|
||||
{
|
||||
"id": "t7k7vhajv1gxhthj5uike7eh",
|
||||
"outgoingEdgeId": "clc05hfm03m58po917zf9mum",
|
||||
"content": {
|
||||
"comparisons": [
|
||||
{
|
||||
"id": "apfizejhjycfnwnrvrawknio",
|
||||
"variableId": "vuffpsxxfqujokeyh10hfm65p",
|
||||
"comparisonOperator": "Is set"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "q53wqzj3y8ep8al67si34w15",
|
||||
"type": "mistral",
|
||||
"options": {
|
||||
"action": "Create chat completion",
|
||||
"model": "mistral-large-latest",
|
||||
"messages": [
|
||||
{
|
||||
"role": "system",
|
||||
"content": "Your job is to know the user average yearly revenue\n\nDo your best to collect that information.\n\nProvide short answers with a casual tone."
|
||||
},
|
||||
{
|
||||
"role": "assistant",
|
||||
"content": "What's your current business?"
|
||||
},
|
||||
{ "role": "user", "content": "{{last utterance}}" }
|
||||
],
|
||||
"responseMapping": [
|
||||
{
|
||||
"item": "Message content",
|
||||
"variableId": "vaut2rkwqv5gwwihthbk7uhqd"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "htbzhd7dzgh9ki2n2jzd6rf8",
|
||||
"outgoingEdgeId": "wmtlz288tgacj1h8q4wb3r96",
|
||||
"type": "text",
|
||||
"content": {
|
||||
"richText": [
|
||||
{ "type": "p", "children": [{ "text": "{{Assistant message}}" }] }
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "w1fxjymnv9v6zdvleaa0wts6",
|
||||
"title": "Interest in SEO",
|
||||
"graphCoordinates": { "x": 1349.17, "y": 155.47 },
|
||||
"blocks": [
|
||||
{
|
||||
"id": "w5x7e2m30y58586jpm1zra4j",
|
||||
"type": "mistral",
|
||||
"options": {
|
||||
"action": "Create chat completion",
|
||||
"model": "mistral-large-latest",
|
||||
"messages": [
|
||||
{
|
||||
"role": "system",
|
||||
"content": "The user provides his average yearly revenue with his business\n\nReply enthusiastically, with a casual tone a single sentence, without a follow up question"
|
||||
},
|
||||
{ "role": "user", "content": "{{last utterance}}" }
|
||||
],
|
||||
"responseMapping": [
|
||||
{
|
||||
"item": "Message content",
|
||||
"variableId": "vaut2rkwqv5gwwihthbk7uhqd"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "zjq6mhd46kjltwrthqpdsn1a",
|
||||
"type": "text",
|
||||
"content": {
|
||||
"richText": [
|
||||
{ "type": "p", "children": [{ "text": "{{Assistant message}}" }] }
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "qr8arjing6afyxfbwgru2qv7",
|
||||
"type": "text",
|
||||
"content": {
|
||||
"richText": [
|
||||
{
|
||||
"type": "p",
|
||||
"children": [
|
||||
{ "text": "So why are you interested in SEO right now?" }
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "cfrzcq8ik59r2ch1rn0vkacn",
|
||||
"type": "text input",
|
||||
"options": {
|
||||
"variableId": "vct90f8lq4uuyqupv6qco5jfq",
|
||||
"isLong": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "r20ryth0rugk6ysixpngj9c6",
|
||||
"type": "mistral",
|
||||
"options": {
|
||||
"action": "Create chat completion",
|
||||
"model": "mistral-medium",
|
||||
"messages": [
|
||||
{
|
||||
"role": "system",
|
||||
"content": "You are an assistant that generates JSON. You always return JSON with no additional description or context.\n\nYour answer should match this JSON schema:\n\n{\n \"seo_interest\": {\n \"type\": \"string\",\n \"description\": \"A summary of the reason why the user is interested in SEO\"\n }\n}\n\nIf the information does not exists, provide an empty string."
|
||||
},
|
||||
{ "role": "user", "content": "{{last utterance}}" }
|
||||
],
|
||||
"responseMapping": [
|
||||
{
|
||||
"item": "Message content",
|
||||
"variableId": "vaut2rkwqv5gwwihthbk7uhqd"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "zi7j7e5jm3dxjwkw3jagknyy",
|
||||
"outgoingEdgeId": "uqtn3tka6th5eh2gchevr5qn",
|
||||
"type": "Set variable",
|
||||
"options": {
|
||||
"variableId": "vvmh29a0tgn5ugzhnxzqth546",
|
||||
"expressionToEvaluate": "JSON.parse({{Assistant message}}).seo_interest"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "bndagu5imd89vi5kdvlpi8py",
|
||||
"title": "Booking",
|
||||
"graphCoordinates": { "x": 1741.11, "y": 152.18 },
|
||||
"blocks": [
|
||||
{
|
||||
"id": "ewu53md22e3izomzy7czqf4x",
|
||||
"type": "mistral",
|
||||
"options": {
|
||||
"action": "Create chat completion",
|
||||
"model": "mistral-large-latest",
|
||||
"messages": [
|
||||
{
|
||||
"role": "system",
|
||||
"content": "The user tells us the reason why he's interested in SEO\n\nReply enthusiastically, with a casual tone a single sentence, without a follow up question"
|
||||
},
|
||||
{ "role": "user", "content": "{{last utterance}}" }
|
||||
],
|
||||
"responseMapping": [
|
||||
{
|
||||
"item": "Message content",
|
||||
"variableId": "vaut2rkwqv5gwwihthbk7uhqd"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "m8rkhpa1qqhy79jappfseu86",
|
||||
"type": "text",
|
||||
"content": {
|
||||
"richText": [
|
||||
{ "type": "p", "children": [{ "text": "{{Assistant message}}" }] }
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "n8i5dsuppyls7gry3vv1ruzu",
|
||||
"type": "text",
|
||||
"content": {
|
||||
"richText": [
|
||||
{
|
||||
"type": "p",
|
||||
"children": [{ "text": "Would you be up for a quick meeting?" }]
|
||||
},
|
||||
{ "type": "p", "children": [{ "text": "" }] },
|
||||
{
|
||||
"type": "p",
|
||||
"children": [
|
||||
{ "text": "I can offer you a free consulting call." }
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "ouyz1d539vr5hck6cthmszg6",
|
||||
"type": "text",
|
||||
"content": {
|
||||
"richText": [
|
||||
{
|
||||
"type": "p",
|
||||
"children": [{ "text": "<INSERT YOUR CAL.COM BLOCK HERE>" }]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "s0h5ia9ntolcu58kduuwxl5p",
|
||||
"title": "",
|
||||
"graphCoordinates": { "x": 291.9, "y": -304.36 },
|
||||
"blocks": [
|
||||
{
|
||||
"id": "qrxehakom6ig3s1zg4n5mlt5",
|
||||
"type": "text",
|
||||
"content": {
|
||||
"richText": [
|
||||
{
|
||||
"type": "p",
|
||||
"children": [
|
||||
{
|
||||
"text": "You need to add your Mistral AI credentials to make this bot work. 🪄"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "mwe2voc2n4ioanai2auyrvzi",
|
||||
"type": "text",
|
||||
"content": {
|
||||
"richText": [
|
||||
{
|
||||
"type": "p",
|
||||
"children": [
|
||||
{
|
||||
"text": "You can also convert the Mistral blocks to any AI compatible blocks."
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "r5m1dsd7yjyzzmw017ce1syy",
|
||||
"outgoingEdgeId": "i71agoe5gvra0enfznfxvde6",
|
||||
"type": "text",
|
||||
"content": {
|
||||
"richText": [
|
||||
{
|
||||
"type": "p",
|
||||
"children": [
|
||||
{
|
||||
"text": "Once it's done, delete this group and connect the "
|
||||
},
|
||||
{ "bold": true, "text": "Start" },
|
||||
{ "text": " event with " },
|
||||
{ "bold": true, "text": "Intro" },
|
||||
{ "text": " 🚀" }
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"edges": [
|
||||
{
|
||||
"id": "ybsw3vxq9dubcsfnlrf54a7p",
|
||||
"from": {
|
||||
"blockId": "nq6t2hj5fnokmtjnse65hbtg",
|
||||
"itemId": "g1g24q5d198iv7gtqm5ics7k"
|
||||
},
|
||||
"to": { "groupId": "a3txw7jcd5qalxizrvqu0fqt" }
|
||||
},
|
||||
{
|
||||
"id": "kcj6a2ab3uzusl2adzl0xhsd",
|
||||
"from": {
|
||||
"blockId": "r860fira9zqst6vw5c83buh1",
|
||||
"itemId": "fa4zr4att2d2p2uz98l7c9nj"
|
||||
},
|
||||
"to": { "groupId": "iwhknwvhh53jbw83fu5wgfen" }
|
||||
},
|
||||
{
|
||||
"id": "wmtlz288tgacj1h8q4wb3r96",
|
||||
"from": { "blockId": "htbzhd7dzgh9ki2n2jzd6rf8" },
|
||||
"to": {
|
||||
"groupId": "iwhknwvhh53jbw83fu5wgfen",
|
||||
"blockId": "az31puebiu8jqql6g6goigox"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "zzz5ucj2rzm24md4yvg80i0c",
|
||||
"from": { "blockId": "x7jrbbl5ria15ru7fsdpagzm" },
|
||||
"to": {
|
||||
"groupId": "a3txw7jcd5qalxizrvqu0fqt",
|
||||
"blockId": "aaxyzry2gknzkb3n1vy19vh3"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "clc05hfm03m58po917zf9mum",
|
||||
"from": {
|
||||
"blockId": "ptei3e0lcwfpo1q8umygnga8",
|
||||
"itemId": "t7k7vhajv1gxhthj5uike7eh"
|
||||
},
|
||||
"to": { "groupId": "w1fxjymnv9v6zdvleaa0wts6" }
|
||||
},
|
||||
{
|
||||
"id": "uqtn3tka6th5eh2gchevr5qn",
|
||||
"from": { "blockId": "zi7j7e5jm3dxjwkw3jagknyy" },
|
||||
"to": { "groupId": "bndagu5imd89vi5kdvlpi8py" }
|
||||
},
|
||||
{
|
||||
"id": "m77o21luo3uzqvgybje01yo1",
|
||||
"from": { "eventId": "mb3o7c0khkqp5mzf1zifdc65" },
|
||||
"to": { "groupId": "s0h5ia9ntolcu58kduuwxl5p" }
|
||||
}
|
||||
],
|
||||
"variables": [
|
||||
{ "id": "vct90f8lq4uuyqupv6qco5jfq", "name": "last utterance" },
|
||||
{ "id": "vaut2rkwqv5gwwihthbk7uhqd", "name": "Assistant message" },
|
||||
{ "id": "voleiyma8rwvqi3hcn3axrij5", "name": "Global system prompt" },
|
||||
{ "id": "vm8s6oxkp7k3ikf9cmq80688u", "name": "JSON" },
|
||||
{ "id": "vabp22hjq8st3roj9qo8lbub3", "name": "Business" },
|
||||
{ "id": "vuffpsxxfqujokeyh10hfm65p", "name": "Average revenue" },
|
||||
{ "id": "vvmh29a0tgn5ugzhnxzqth546", "name": "SEO interest" }
|
||||
],
|
||||
"theme": {},
|
||||
"selectedThemeTemplateId": null,
|
||||
"settings": {},
|
||||
"createdAt": "2024-04-23T14:17:59.435Z",
|
||||
"updatedAt": "2024-04-23T14:20:53.922Z",
|
||||
"icon": "🤓",
|
||||
"folderId": null,
|
||||
"publicId": null,
|
||||
"customDomain": null,
|
||||
"workspaceId": "proWorkspace",
|
||||
"resultsTablePreferences": null,
|
||||
"isArchived": false,
|
||||
"isClosed": false,
|
||||
"whatsAppCredentialsId": null,
|
||||
"riskLevel": null
|
||||
}
|
Reference in New Issue
Block a user