Skip to content

Commit

Permalink
♻️ (templates) Update variables isSession props
Browse files Browse the repository at this point in the history
  • Loading branch information
baptisteArno committed May 13, 2024
1 parent e755f08 commit 218f689
Show file tree
Hide file tree
Showing 17 changed files with 362 additions and 72 deletions.
30 changes: 25 additions & 5 deletions apps/builder/public/templates/audio-chat-gpt.json
Original file line number Diff line number Diff line change
Expand Up @@ -177,11 +177,31 @@
}
],
"variables": [
{ "id": "vni6kwbch8zlq92dclgcivzyr", "name": "Assistant Message" },
{ "id": "vudksu3zyrat6s1bq6qne0rx3", "name": "User Message" },
{ "id": "vabkycu0qqff5d6ar2ama16pf", "name": "Chat history" },
{ "id": "vxw4quja426402hvhtm33tsp3", "name": "Welcome audio" },
{ "id": "vgr0iwg95npp7pztkmdyn89m1", "name": "Assistant audio message" }
{
"id": "vni6kwbch8zlq92dclgcivzyr",
"name": "Assistant Message",
"isSessionVariable": true
},
{
"id": "vudksu3zyrat6s1bq6qne0rx3",
"name": "User Message",
"isSessionVariable": true
},
{
"id": "vabkycu0qqff5d6ar2ama16pf",
"name": "Chat history",
"isSessionVariable": true
},
{
"id": "vxw4quja426402hvhtm33tsp3",
"name": "Welcome audio",
"isSessionVariable": true
},
{
"id": "vgr0iwg95npp7pztkmdyn89m1",
"name": "Assistant audio message",
"isSessionVariable": true
}
],
"theme": {},
"selectedThemeTemplateId": null,
Expand Down
18 changes: 15 additions & 3 deletions apps/builder/public/templates/basic-chat-gpt.json
Original file line number Diff line number Diff line change
Expand Up @@ -175,9 +175,21 @@
}
],
"variables": [
{ "id": "vni6kwbch8zlq92dclgcivzyr", "name": "Assistant Message" },
{ "id": "vudksu3zyrat6s1bq6qne0rx3", "name": "User Message" },
{ "id": "vabkycu0qqff5d6ar2ama16pf", "name": "Chat history" }
{
"id": "vni6kwbch8zlq92dclgcivzyr",
"name": "Assistant Message",
"isSessionVariable": true
},
{
"id": "vudksu3zyrat6s1bq6qne0rx3",
"name": "User Message",
"isSessionVariable": true
},
{
"id": "vabkycu0qqff5d6ar2ama16pf",
"name": "Chat history",
"isSessionVariable": true
}
],
"theme": {},
"selectedThemeTemplateId": null,
Expand Down
18 changes: 15 additions & 3 deletions apps/builder/public/templates/chat-gpt-personas.json
Original file line number Diff line number Diff line change
Expand Up @@ -684,9 +684,21 @@
}
],
"variables": [
{ "id": "vni6kwbch8zlq92dclgcivzyr", "name": "Assistant Message" },
{ "id": "vevnx5f5bojz0sv648x6ppcmv", "name": "User Message" },
{ "id": "vu9adij5penetej2xz89htfe6", "name": "Chat history" }
{
"id": "vni6kwbch8zlq92dclgcivzyr",
"name": "Assistant Message",
"isSessionVariable": true
},
{
"id": "vevnx5f5bojz0sv648x6ppcmv",
"name": "User Message",
"isSessionVariable": true
},
{
"id": "vu9adij5penetej2xz89htfe6",
"name": "Chat history",
"isSessionVariable": true
}
],
"theme": {},
"selectedThemeTemplateId": null,
Expand Down
12 changes: 10 additions & 2 deletions apps/builder/public/templates/customer-support.json
Original file line number Diff line number Diff line change
Expand Up @@ -325,8 +325,16 @@
}
],
"variables": [
{ "id": "t2k6cj3uYfNdJX13APA4b9", "name": "Email" },
{ "id": "v51BcuecnB6kRU1tsttaGyR", "name": "Content" }
{
"id": "t2k6cj3uYfNdJX13APA4b9",
"name": "Email",
"isSessionVariable": true
},
{
"id": "v51BcuecnB6kRU1tsttaGyR",
"name": "Content",
"isSessionVariable": true
}
],
"theme": {},
"selectedThemeTemplateId": null,
Expand Down
12 changes: 10 additions & 2 deletions apps/builder/public/templates/digital-product-payment.json
Original file line number Diff line number Diff line change
Expand Up @@ -398,8 +398,16 @@
}
],
"variables": [
{ "id": "vcl3u45hek000b2e6gkl05z1da", "name": "Name" },
{ "id": "vcl3u4n1vk00162e6gs6x59o2k", "name": "Email" }
{
"id": "vcl3u45hek000b2e6gkl05z1da",
"name": "Name",
"isSessionVariable": true
},
{
"id": "vcl3u4n1vk00162e6gs6x59o2k",
"name": "Email",
"isSessionVariable": true
}
],
"theme": {},
"selectedThemeTemplateId": null,
Expand Down
24 changes: 20 additions & 4 deletions apps/builder/public/templates/dog-insurance-offer.json
Original file line number Diff line number Diff line change
Expand Up @@ -591,10 +591,26 @@
}
],
"variables": [
{ "id": "vgl2m65vej3cjwqvkawnpih2l", "name": "Name" },
{ "id": "vhl1s7qoksnw7r8b1soocxwsd", "name": "Pronoun" },
{ "id": "vq61f8ykwadq1pj8389qf9h91", "name": "Estimated price" },
{ "id": "vzhkagzjqqa0amfc78jekl2gz", "name": "Email" }
{
"id": "vgl2m65vej3cjwqvkawnpih2l",
"name": "Name",
"isSessionVariable": true
},
{
"id": "vhl1s7qoksnw7r8b1soocxwsd",
"name": "Pronoun",
"isSessionVariable": true
},
{
"id": "vq61f8ykwadq1pj8389qf9h91",
"name": "Estimated price",
"isSessionVariable": true
},
{
"id": "vzhkagzjqqa0amfc78jekl2gz",
"name": "Email",
"isSessionVariable": true
}
],
"theme": {},
"selectedThemeTemplateId": null,
Expand Down
42 changes: 35 additions & 7 deletions apps/builder/public/templates/high-ticket-lead-follow-up.json
Original file line number Diff line number Diff line change
Expand Up @@ -605,13 +605,41 @@
}
],
"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" }
{
"id": "vct90f8lq4uuyqupv6qco5jfq",
"name": "last utterance",
"isSessionVariable": true
},
{
"id": "vaut2rkwqv5gwwihthbk7uhqd",
"name": "Assistant message",
"isSessionVariable": true
},
{
"id": "voleiyma8rwvqi3hcn3axrij5",
"name": "Global system prompt",
"isSessionVariable": true
},
{
"id": "vm8s6oxkp7k3ikf9cmq80688u",
"name": "JSON",
"isSessionVariable": true
},
{
"id": "vabp22hjq8st3roj9qo8lbub3",
"name": "Business",
"isSessionVariable": true
},
{
"id": "vuffpsxxfqujokeyh10hfm65p",
"name": "Average revenue",
"isSessionVariable": true
},
{
"id": "vvmh29a0tgn5ugzhnxzqth546",
"name": "SEO interest",
"isSessionVariable": true
}
],
"theme": {},
"selectedThemeTemplateId": null,
Expand Down
36 changes: 30 additions & 6 deletions apps/builder/public/templates/lead-gen-ai.json
Original file line number Diff line number Diff line change
Expand Up @@ -400,12 +400,36 @@
}
],
"variables": [
{ "id": "giiLFGw5xXBCHzvp1qAbdX", "name": "Company" },
{ "id": "v3VFChNVSCXQ2rXv4DrJ8Ah", "name": "Email" },
{ "id": "vi0mmx9o2m4s8z9cccsjcvpj5", "name": "Services" },
{ "id": "vpvkbogoj3rmogz0ssh5odmnn", "name": "AI reply" },
{ "id": "vhp0ymgwq4id82l97g0kliglf", "name": "Additional information" },
{ "id": "vi5ta5lktses2h6skf5ky2zs0", "name": "AI Dialogue" }
{
"id": "giiLFGw5xXBCHzvp1qAbdX",
"name": "Company",
"isSessionVariable": true
},
{
"id": "v3VFChNVSCXQ2rXv4DrJ8Ah",
"name": "Email",
"isSessionVariable": true
},
{
"id": "vi0mmx9o2m4s8z9cccsjcvpj5",
"name": "Services",
"isSessionVariable": true
},
{
"id": "vpvkbogoj3rmogz0ssh5odmnn",
"name": "AI reply",
"isSessionVariable": true
},
{
"id": "vhp0ymgwq4id82l97g0kliglf",
"name": "Additional information",
"isSessionVariable": true
},
{
"id": "vi5ta5lktses2h6skf5ky2zs0",
"name": "AI Dialogue",
"isSessionVariable": true
}
],
"theme": {},
"selectedThemeTemplateId": null,
Expand Down
12 changes: 10 additions & 2 deletions apps/builder/public/templates/lead-gen.json
Original file line number Diff line number Diff line change
Expand Up @@ -248,8 +248,16 @@
}
],
"variables": [
{ "id": "giiLFGw5xXBCHzvp1qAbdX", "name": "Name" },
{ "id": "v3VFChNVSCXQ2rXv4DrJ8Ah", "name": "Email" }
{
"id": "giiLFGw5xXBCHzvp1qAbdX",
"name": "Name",
"isSessionVariable": true
},
{
"id": "v3VFChNVSCXQ2rXv4DrJ8Ah",
"name": "Email",
"isSessionVariable": true
}
],
"theme": {},
"selectedThemeTemplateId": null,
Expand Down
18 changes: 15 additions & 3 deletions apps/builder/public/templates/lead-magnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -470,9 +470,21 @@
}
],
"variables": [
{ "id": "vyu4paeim4jcjgmxr26bdk286", "name": "Name" },
{ "id": "vf49immob0ih3kxn5b0nraqkq", "name": "Goal" },
{ "id": "vrhd0bug6b6dzgijevfoonvo2", "name": "Email" }
{
"id": "vyu4paeim4jcjgmxr26bdk286",
"name": "Name",
"isSessionVariable": true
},
{
"id": "vf49immob0ih3kxn5b0nraqkq",
"name": "Goal",
"isSessionVariable": true
},
{
"id": "vrhd0bug6b6dzgijevfoonvo2",
"name": "Email",
"isSessionVariable": true
}
],
"theme": {},
"selectedThemeTemplateId": null,
Expand Down
24 changes: 20 additions & 4 deletions apps/builder/public/templates/lead-scoring.json
Original file line number Diff line number Diff line change
Expand Up @@ -608,10 +608,26 @@
}
],
"variables": [
{ "id": "vcl1sezzln002b2e6e6ssxh9bf", "name": "Lead Score" },
{ "id": "vcl1sf1ko5002g2e6egjmyb16v", "name": "Team size" },
{ "id": "vcl1sf525q00362e6eoyosycte", "name": "Country" },
{ "id": "vcl1sf93s2003l2e6eojomb66g", "name": "Company" }
{
"id": "vcl1sezzln002b2e6e6ssxh9bf",
"name": "Lead Score",
"isSessionVariable": true
},
{
"id": "vcl1sf1ko5002g2e6egjmyb16v",
"name": "Team size",
"isSessionVariable": true
},
{
"id": "vcl1sf525q00362e6eoyosycte",
"name": "Country",
"isSessionVariable": true
},
{
"id": "vcl1sf93s2003l2e6eojomb66g",
"name": "Company",
"isSessionVariable": true
}
],
"theme": {},
"selectedThemeTemplateId": null,
Expand Down
Loading

0 comments on commit 218f689

Please sign in to comment.