{
  "version": "6",
  "id": "clpnu8xj800071abop3o19y02",
  "name": "ChatGPT personas",
  "events": [
    {
      "id": "w99qhdr20tw02sfrfwkfc1tg",
      "outgoingEdgeId": "k5bj58emklqfqv3hemko4u23",
      "graphCoordinates": { "x": -95.29, "y": -267.02 },
      "type": "start"
    }
  ],
  "groups": [
    {
      "id": "bofjp88arodr4k0btv2esyqy",
      "title": "",
      "graphCoordinates": { "x": 188.44, "y": -308.74 },
      "blocks": [
        {
          "id": "s6eky7dd3md9hto9y4wsuj7h",
          "type": "text",
          "content": {
            "richText": [
              {
                "type": "p",
                "children": [
                  {
                    "text": "You need to add your OpenAI credentials to make this bot work. 🪄"
                  }
                ]
              }
            ]
          }
        },
        {
          "id": "nqsu9f13q5j8tt56bcbuto62",
          "type": "text",
          "content": {
            "richText": [
              {
                "type": "p",
                "children": [
                  {
                    "text": "Once it's done, delete this group and connect the "
                  },
                  { "bold": true, "text": "Start" },
                  { "text": " block with " },
                  { "bold": true, "text": "Intro" },
                  { "text": " 🚀" }
                ]
              }
            ]
          }
        }
      ]
    },
    {
      "id": "dmg57mgick51p8l5pnyqtyf9",
      "title": "Explainer AI reply",
      "graphCoordinates": { "x": 1053.297810684862, "y": 919.9658659364646 },
      "blocks": [
        {
          "id": "qqlv6ikxqh2l7wjibjqk3j93",
          "type": "openai",
          "options": {
            "action": "Create chat completion",
            "messages": [
              {
                "role": "user",
                "content": "Starting from now, I want you to explain things with simple words, as if I'm 11 years old."
              },
              {
                "role": "Dialogue",
                "dialogueVariableId": "vu9adij5penetej2xz89htfe6"
              }
            ],
            "responseMapping": [
              {
                "item": "Message content",
                "variableId": "vni6kwbch8zlq92dclgcivzyr"
              }
            ]
          }
        },
        {
          "id": "myldn1l1nfdwwm8qvza71rwv",
          "type": "text",
          "content": {
            "richText": [
              { "type": "p", "children": [{ "text": "{{Assistant Message}}" }] }
            ]
          },
          "groupId": "dmg57mgick51p8l5pnyqtyf9"
        },
        {
          "id": "kftq9x1wnrcefzc268ydmqkn",
          "type": "Set variable",
          "options": {
            "variableId": "vu9adij5penetej2xz89htfe6",
            "type": "Append value(s)",
            "item": "{{Assistant Message}}"
          }
        },
        {
          "id": "jz9mklagfikyukzs7n3kmlcf",
          "type": "choice input",
          "items": [
            {
              "id": "x18iwzwmbzi9jjpnwij1861i",
              "outgoingEdgeId": "mxl8lftsj3pbmj4g24ymxajo",
              "content": "Continue"
            },
            {
              "id": "imx7otsonvm0takr02b4ulyo",
              "outgoingEdgeId": "ny44r5sp69gne7obgshidhph",
              "content": "Menu"
            }
          ]
        }
      ]
    },
    {
      "id": "fj5z2nx488htv0843kq6qeyk",
      "title": "Professor AI reply",
      "graphCoordinates": { "x": 1052.26, "y": -56.02 },
      "blocks": [
        {
          "id": "itiwmw62ml38rmeawxxawkub",
          "type": "openai",
          "options": {
            "action": "Create chat completion",
            "messages": [
              {
                "role": "user",
                "content": "I want you to act as an English translator, spelling corrector and improver. I will speak to you in any language and you will detect the language, translate it and answer in the corrected and improved version of my text, in English. I want you to replace my simplified A0-level words and sentences with more beautiful and elegant, upper level English words and sentences. Keep the meaning same, but make them more literary. I want you to only reply the correction, the improvements and nothing else, do not write explanations."
              },
              {
                "role": "Dialogue",
                "dialogueVariableId": "vu9adij5penetej2xz89htfe6"
              }
            ],
            "responseMapping": [
              {
                "item": "Message content",
                "variableId": "vni6kwbch8zlq92dclgcivzyr"
              }
            ]
          }
        },
        {
          "id": "sei88rrjcmpgm3vhxjvkofyt",
          "type": "text",
          "content": {
            "richText": [
              { "type": "p", "children": [{ "text": "{{Assistant Message}}" }] }
            ]
          },
          "groupId": "fj5z2nx488htv0843kq6qeyk"
        },
        {
          "id": "dyfigmu4095x8p99qe461zbh",
          "type": "Set variable",
          "options": {
            "variableId": "vu9adij5penetej2xz89htfe6",
            "type": "Append value(s)",
            "item": "{{Assistant Message}}"
          }
        },
        {
          "id": "h3qetbhcpxhawnqoymo0v3hw",
          "type": "choice input",
          "items": [
            {
              "id": "zaylo8bstqx0wp6bpdbd1rak",
              "outgoingEdgeId": "q6o0cbyzxtvgls3jtz7rpdgw",
              "content": "Continue"
            },
            {
              "id": "d5jv3sjpzobsrnhcp055mxkv",
              "outgoingEdgeId": "xjv7pkpgpwh169448t8pepg4",
              "content": "Back to menu"
            }
          ]
        }
      ]
    },
    {
      "id": "csbysu8dr08zxr4i6hzvzjdf",
      "title": "Copywriter AI reply",
      "graphCoordinates": { "x": 1055.63, "y": 436.9 },
      "blocks": [
        {
          "id": "w2y6tl8mggplu8vsc9hu2080",
          "type": "openai",
          "options": {
            "action": "Create chat completion",
            "messages": [
              {
                "role": "user",
                "content": "I want you to act as a copywriter. You will come up with copywriting advices that are engaging, imaginative, and captivating for the audience."
              },
              {
                "role": "Dialogue",
                "dialogueVariableId": "vu9adij5penetej2xz89htfe6"
              }
            ],
            "responseMapping": [
              {
                "item": "Message content",
                "variableId": "vni6kwbch8zlq92dclgcivzyr"
              }
            ]
          }
        },
        {
          "id": "h96lile0evtqa0jx24gmfo25",
          "type": "text",
          "content": {
            "richText": [
              { "type": "p", "children": [{ "text": "{{Assistant Message}}" }] }
            ]
          },
          "groupId": "csbysu8dr08zxr4i6hzvzjdf"
        },
        {
          "id": "usolgxcte60rin18ccygzbdu",
          "type": "Set variable",
          "options": {
            "variableId": "vu9adij5penetej2xz89htfe6",
            "type": "Append value(s)",
            "item": "{{Assistant Message}}"
          }
        },
        {
          "id": "u4jdl0gwv8965o2etxjk12w0",
          "type": "choice input",
          "items": [
            {
              "id": "b6zif4xxe2cuiddc2oqayaxi",
              "outgoingEdgeId": "jwydpoxngp2gvwanaruphe6s",
              "content": "Continue"
            },
            {
              "id": "ooib3mqlfkazta6iol1ocloe",
              "outgoingEdgeId": "gfrpgowch879p1qaj9jzsh01",
              "content": "Back to menu"
            }
          ]
        }
      ]
    },
    {
      "id": "u6nm47oyneidmsebszp60t0m",
      "title": "Menu",
      "graphCoordinates": { "x": -6.082566623728974, "y": 37.78518756228981 },
      "blocks": [
        {
          "id": "rzlhl61q6dmh8n93usvqgyij",
          "type": "Set variable",
          "options": {
            "variableId": "vu9adij5penetej2xz89htfe6",
            "type": "Empty"
          }
        },
        {
          "id": "gphm5wy1md9cunwkdtbzg6nq",
          "type": "text",
          "content": {
            "richText": [
              {
                "type": "p",
                "children": [{ "text": "Who would you want to talk to?" }]
              }
            ]
          }
        },
        {
          "id": "ohh19koa7up0nbke3146hnjp",
          "type": "choice input",
          "items": [
            {
              "id": "rn0lqz1wvsg9lmc0jcl6ps8j",
              "outgoingEdgeId": "ry7l8wcaidxw5izm7zoy83kj",
              "content": "English professor"
            },
            {
              "id": "le84cls9vkmrxquvqw8bhp7h",
              "outgoingEdgeId": "iy2htkuup0l908fsosg6d2qz",
              "content": "Copywriter"
            },
            {
              "id": "mx4kgfgena53mxf87piwu1j2",
              "outgoingEdgeId": "kmex71jzzzekni4louuy3xbf",
              "content": "Concept explainer"
            }
          ],
          "options": { "variableId": "vs7wwz29yyd21pfl4syeptdgi" }
        }
      ]
    },
    {
      "id": "oemwa82xy3yt74gzilrojogl",
      "title": "Jumps",
      "graphCoordinates": { "x": 1431.381871940994, "y": 1083.626261828848 },
      "blocks": [
        {
          "id": "nnzp5mle206cl3nnqlkqjau1",
          "type": "Jump",
          "options": { "groupId": "irnu2zu8m2i4fu6485hxtra5" }
        },
        {
          "id": "nm6vp6ifbjq7mttohwhibjvj",
          "type": "Jump",
          "options": { "groupId": "u6nm47oyneidmsebszp60t0m" }
        }
      ]
    },
    {
      "id": "p1fh0e2y8sq4lhrskc4rb5z2",
      "title": "Jumps",
      "graphCoordinates": { "x": 1436.545931193238, "y": 679.7247165284323 },
      "blocks": [
        {
          "id": "kyuvkruakbxjvxwgtjqti3gc",
          "type": "Jump",
          "options": { "groupId": "h4mcrr5x6lvy1mz96k0ey3do" }
        },
        {
          "id": "vywm4h8yz87ew4gjy4l6nmm3",
          "type": "Jump",
          "options": { "groupId": "u6nm47oyneidmsebszp60t0m" }
        }
      ]
    },
    {
      "id": "ow2g8fv93xxrgpcabnx8uod8",
      "title": "Jumps",
      "graphCoordinates": { "x": 1419.568721793131, "y": 169.5335644029076 },
      "blocks": [
        {
          "id": "qxgl1cscs38pfwzaj4pqsd46",
          "type": "Jump",
          "options": { "groupId": "m84gejzvl08ky6ynruiuszpc" }
        },
        {
          "id": "m94q879l9yr1vx5xrbxlsj6q",
          "type": "Jump",
          "options": { "groupId": "u6nm47oyneidmsebszp60t0m" }
        }
      ]
    },
    {
      "id": "py719ungczkgz5f40zkw3tr2",
      "title": "EN professor intro",
      "graphCoordinates": { "x": 339.814926172369, "y": 9.945652574763692 },
      "blocks": [
        {
          "id": "qm3v36qb93ijnghdjgy9mcwf",
          "type": "text",
          "content": {
            "richText": [{ "type": "p", "children": [{ "text": "Hi 👋" }] }]
          }
        },
        {
          "id": "ln8d3vdq4shclzrxcy9rmxfg",
          "type": "text",
          "content": {
            "richText": [
              {
                "type": "p",
                "children": [
                  {
                    "text": "I can help you translate things and perfect your English."
                  }
                ]
              }
            ]
          }
        },
        {
          "id": "r7yu488ugfif8hxy3e4sospb",
          "outgoingEdgeId": "ripf74t9yicdze8xr2yrklyx",
          "type": "text",
          "content": {
            "richText": [
              { "type": "p", "children": [{ "text": "How can I help?" }] }
            ]
          }
        }
      ]
    },
    {
      "id": "uyry49c9bm1pvk6t8i471l2d",
      "title": "Copywriter intro",
      "graphCoordinates": { "x": 335.3081238025464, "y": 468.3681191076254 },
      "blocks": [
        {
          "id": "bbeedootn9m8eass0mqu3w4t",
          "type": "text",
          "content": {
            "richText": [{ "type": "p", "children": [{ "text": "Hi 👋" }] }]
          }
        },
        {
          "id": "chdghb0k27c4okwu9yky4ox4",
          "type": "text",
          "content": {
            "richText": [
              {
                "type": "p",
                "children": [{ "text": "I'm an expert in copywriting." }]
              }
            ]
          }
        },
        {
          "id": "idp7w8c8zbkvl95oa1vquiml",
          "outgoingEdgeId": "v0tfmbt8tpwwrieftvzg8lti",
          "type": "text",
          "content": {
            "richText": [
              { "type": "p", "children": [{ "text": "How can I help?" }] }
            ]
          }
        }
      ]
    },
    {
      "id": "zfa8oj0a0tnlho9a67llulst",
      "title": "Explainer intro",
      "graphCoordinates": { "x": 326.9849960884654, "y": 928.6632806049557 },
      "blocks": [
        {
          "id": "n96j3pf3m87aufcapx2ulr2n",
          "type": "text",
          "content": {
            "richText": [{ "type": "p", "children": [{ "text": "Hi 👋" }] }]
          }
        },
        {
          "id": "wxk5z9yyiojkk9u3b5m6shax",
          "type": "text",
          "content": {
            "richText": [
              {
                "type": "p",
                "children": [
                  { "text": "I can explain concept with very simple terms." }
                ]
              }
            ]
          }
        },
        {
          "id": "ileqgg2r2kyh2zovpivr775s",
          "outgoingEdgeId": "v5bki4h7m1lnryhgzudnvvpx",
          "type": "text",
          "content": {
            "richText": [
              {
                "type": "p",
                "children": [
                  { "text": "What concept would you like me to explain?" }
                ]
              }
            ]
          }
        }
      ]
    },
    {
      "id": "m84gejzvl08ky6ynruiuszpc",
      "title": "EN professor question",
      "graphCoordinates": { "x": 692.86, "y": -14.84 },
      "blocks": [
        {
          "id": "ovgk70u0kfxrbtz9dy4e040o",
          "type": "text input",
          "options": {
            "labels": {
              "placeholder": "Type your answer...",
              "button": "Send"
            },
            "variableId": "vevnx5f5bojz0sv648x6ppcmv",
            "isLong": true
          }
        },
        {
          "id": "nx6v1ogcp9x9o6regjopvff8",
          "outgoingEdgeId": "cplyootzgqo5jpmhntgz4shm",
          "type": "Set variable",
          "options": {
            "variableId": "vu9adij5penetej2xz89htfe6",
            "type": "Append value(s)",
            "item": "{{User Message}}"
          }
        }
      ]
    },
    {
      "id": "h4mcrr5x6lvy1mz96k0ey3do",
      "title": "Copywriter question",
      "graphCoordinates": { "x": 692.3449852228088, "y": 462.3858990822391 },
      "blocks": [
        {
          "id": "emii43mtihiuy35gpp6b91d8",
          "type": "text input",
          "options": {
            "labels": {
              "placeholder": "Type your answer...",
              "button": "Send"
            },
            "variableId": "vevnx5f5bojz0sv648x6ppcmv",
            "isLong": true
          }
        },
        {
          "id": "h0cgmv6q61s3yhuq6u2pb5p0",
          "outgoingEdgeId": "za1pwdunrlwgfu1kz7dnsb3m",
          "type": "Set variable",
          "options": {
            "variableId": "vu9adij5penetej2xz89htfe6",
            "type": "Append value(s)",
            "item": "{{User Message}}"
          }
        }
      ]
    },
    {
      "id": "irnu2zu8m2i4fu6485hxtra5",
      "title": "Explainer question",
      "graphCoordinates": { "x": 686.3012488543691, "y": 924.2085365228105 },
      "blocks": [
        {
          "id": "e6rovxwxlizr54iy8nyi84pi",
          "type": "text input",
          "options": {
            "labels": {
              "placeholder": "Type your answer...",
              "button": "Send"
            },
            "variableId": "vevnx5f5bojz0sv648x6ppcmv",
            "isLong": false
          }
        },
        {
          "id": "b937909x86r3wzbn4mzxmw25",
          "outgoingEdgeId": "fz77htstfb4jig82k66pl0vt",
          "type": "Set variable",
          "options": {
            "variableId": "vu9adij5penetej2xz89htfe6",
            "type": "Append value(s)",
            "item": "{{User Message}}"
          }
        }
      ]
    }
  ],
  "edges": [
    {
      "id": "ny44r5sp69gne7obgshidhph",
      "from": {
        "blockId": "jz9mklagfikyukzs7n3kmlcf",
        "itemId": "imx7otsonvm0takr02b4ulyo"
      },
      "to": {
        "groupId": "oemwa82xy3yt74gzilrojogl",
        "blockId": "nm6vp6ifbjq7mttohwhibjvj"
      }
    },
    {
      "id": "mxl8lftsj3pbmj4g24ymxajo",
      "from": {
        "blockId": "jz9mklagfikyukzs7n3kmlcf",
        "itemId": "x18iwzwmbzi9jjpnwij1861i"
      },
      "to": {
        "groupId": "oemwa82xy3yt74gzilrojogl",
        "blockId": "nnzp5mle206cl3nnqlkqjau1"
      }
    },
    {
      "id": "ry7l8wcaidxw5izm7zoy83kj",
      "from": {
        "blockId": "ohh19koa7up0nbke3146hnjp",
        "itemId": "rn0lqz1wvsg9lmc0jcl6ps8j"
      },
      "to": { "groupId": "py719ungczkgz5f40zkw3tr2" }
    },
    {
      "id": "ripf74t9yicdze8xr2yrklyx",
      "from": { "blockId": "r7yu488ugfif8hxy3e4sospb" },
      "to": { "groupId": "m84gejzvl08ky6ynruiuszpc" }
    },
    {
      "id": "q6o0cbyzxtvgls3jtz7rpdgw",
      "from": {
        "blockId": "h3qetbhcpxhawnqoymo0v3hw",
        "itemId": "zaylo8bstqx0wp6bpdbd1rak"
      },
      "to": {
        "groupId": "ow2g8fv93xxrgpcabnx8uod8",
        "blockId": "qxgl1cscs38pfwzaj4pqsd46"
      }
    },
    {
      "id": "xjv7pkpgpwh169448t8pepg4",
      "from": {
        "blockId": "h3qetbhcpxhawnqoymo0v3hw",
        "itemId": "d5jv3sjpzobsrnhcp055mxkv"
      },
      "to": {
        "groupId": "ow2g8fv93xxrgpcabnx8uod8",
        "blockId": "m94q879l9yr1vx5xrbxlsj6q"
      }
    },
    {
      "id": "v0tfmbt8tpwwrieftvzg8lti",
      "from": { "blockId": "idp7w8c8zbkvl95oa1vquiml" },
      "to": { "groupId": "h4mcrr5x6lvy1mz96k0ey3do" }
    },
    {
      "id": "iy2htkuup0l908fsosg6d2qz",
      "from": {
        "blockId": "ohh19koa7up0nbke3146hnjp",
        "itemId": "le84cls9vkmrxquvqw8bhp7h"
      },
      "to": { "groupId": "uyry49c9bm1pvk6t8i471l2d" }
    },
    {
      "id": "kmex71jzzzekni4louuy3xbf",
      "from": {
        "blockId": "ohh19koa7up0nbke3146hnjp",
        "itemId": "mx4kgfgena53mxf87piwu1j2"
      },
      "to": { "groupId": "zfa8oj0a0tnlho9a67llulst" }
    },
    {
      "id": "v5bki4h7m1lnryhgzudnvvpx",
      "from": { "blockId": "ileqgg2r2kyh2zovpivr775s" },
      "to": { "groupId": "irnu2zu8m2i4fu6485hxtra5" }
    },
    {
      "id": "gfrpgowch879p1qaj9jzsh01",
      "from": {
        "blockId": "u4jdl0gwv8965o2etxjk12w0",
        "itemId": "ooib3mqlfkazta6iol1ocloe"
      },
      "to": {
        "groupId": "p1fh0e2y8sq4lhrskc4rb5z2",
        "blockId": "vywm4h8yz87ew4gjy4l6nmm3"
      }
    },
    {
      "id": "jwydpoxngp2gvwanaruphe6s",
      "from": {
        "blockId": "u4jdl0gwv8965o2etxjk12w0",
        "itemId": "b6zif4xxe2cuiddc2oqayaxi"
      },
      "to": {
        "groupId": "p1fh0e2y8sq4lhrskc4rb5z2",
        "blockId": "kyuvkruakbxjvxwgtjqti3gc"
      }
    },
    {
      "id": "cplyootzgqo5jpmhntgz4shm",
      "from": { "blockId": "nx6v1ogcp9x9o6regjopvff8" },
      "to": { "groupId": "fj5z2nx488htv0843kq6qeyk" }
    },
    {
      "id": "za1pwdunrlwgfu1kz7dnsb3m",
      "from": { "blockId": "h0cgmv6q61s3yhuq6u2pb5p0" },
      "to": { "groupId": "csbysu8dr08zxr4i6hzvzjdf" }
    },
    {
      "id": "fz77htstfb4jig82k66pl0vt",
      "from": { "blockId": "b937909x86r3wzbn4mzxmw25" },
      "to": { "groupId": "dmg57mgick51p8l5pnyqtyf9" }
    },
    {
      "id": "k5bj58emklqfqv3hemko4u23",
      "from": { "eventId": "w99qhdr20tw02sfrfwkfc1tg" },
      "to": { "groupId": "bofjp88arodr4k0btv2esyqy" }
    }
  ],
  "variables": [
    { "id": "vni6kwbch8zlq92dclgcivzyr", "name": "Assistant Message" },
    { "id": "vevnx5f5bojz0sv648x6ppcmv", "name": "User Message" },
    { "id": "vu9adij5penetej2xz89htfe6", "name": "Chat history" }
  ],
  "theme": {},
  "selectedThemeTemplateId": null,
  "settings": {},
  "createdAt": "2023-12-02T09:15:31.652Z",
  "updatedAt": "2023-12-02T09:18:34.891Z",
  "icon": "🎭",
  "folderId": null,
  "publicId": null,
  "customDomain": null,
  "workspaceId": "proWorkspace",
  "resultsTablePreferences": null,
  "isArchived": false,
  "isClosed": false,
  "whatsAppCredentialsId": null
}
