diff --git a/apps/builder/public/images/emails/V2dot26Update/chatContainerThemeOptions.gif b/apps/builder/public/images/emails/V2dot26Update/chatContainerThemeOptions.gif new file mode 100644 index 000000000..f1a8ffb8b Binary files /dev/null and b/apps/builder/public/images/emails/V2dot26Update/chatContainerThemeOptions.gif differ diff --git a/apps/builder/public/images/emails/V2dot26Update/nocodb.jpg b/apps/builder/public/images/emails/V2dot26Update/nocodb.jpg new file mode 100644 index 000000000..0411ecbad Binary files /dev/null and b/apps/builder/public/images/emails/V2dot26Update/nocodb.jpg differ diff --git a/apps/builder/public/images/emails/V2dot26Update/variablesPanel.gif b/apps/builder/public/images/emails/V2dot26Update/variablesPanel.gif new file mode 100644 index 000000000..06cdc09d3 Binary files /dev/null and b/apps/builder/public/images/emails/V2dot26Update/variablesPanel.gif differ diff --git a/packages/transactional/templates/marketing/V2dot26Update.tsx b/packages/transactional/templates/marketing/V2dot26Update.tsx new file mode 100644 index 000000000..3bb88a892 --- /dev/null +++ b/packages/transactional/templates/marketing/V2dot26Update.tsx @@ -0,0 +1,98 @@ +import { Text, Hr } from '@react-email/components' +import * as React from 'react' +import { env } from '@typebot.io/env' +import { text, hr } from './styles' +import { NewsletterLayout } from './components/NewsletterLayout' +import { NewsletterSection } from './components/NewsletterSection' + +const imagesBaseUrl = `${env.NEXTAUTH_URL}/images/emails/V2dot26Update` + +export const V2dot26Update = () => ( + + + Heya,
+
+ Typebot v2.26 was just released. It comes with cool new stuff. +
+
+ Let's dive into what's new! 🔥 +
+ + + The NocoDB block is a new block that allows you to store and retrieve data + from a NocoDB database. It's a powerful tool for building applications + that require data storage and retrieval. +
+
+ Finally, a great open-source alternative to existing Google Sheets block. +
+ + + Allows you to see all your variables at a glance and edit them with much + more comfort 💆 + + + + The "Set variable" block now has a "Transcript" value option. This injects + the entire conversation transcript in a variable. This is useful if you + need to provide context for an AI block.
+
+ For example you could add in a system prompt: +
+
+ "Your answer should be based on the context inside the <context> XML + element: +
+ <context>{'{{'}Transcript{'}}'}</context>" +
+ + + You can now customize the chat window theme with the new container theme + options. This allows you to change the background color, border color, and + text color of the chat window. + + + + 🏃 Quick Carb Calculator - Designed specifically for athlete fueling + brands looking to attract and engage active audiences, this chatbot serves + as an effective lead magnet by providing instant, customized carbohydrate + intake recommendations based on user input. +
+
+ 💆‍♀️ Skin Typology - A skin typology expert bot designed as a lead magnet + for Typology, this bot asks a series of personalized questions to + determine the user's unique skin type. He then receives a detailed + diagnosis and tailored skincare AI-based recommendations. +
+ +
+ + + As always, your feedback is invaluable, so please don't hesitate to share + your thoughts. +
+
+ Baptiste. +
+
+) + +export default V2dot26Update diff --git a/packages/transactional/templates/marketing/components/NewsletterLayout.tsx b/packages/transactional/templates/marketing/components/NewsletterLayout.tsx new file mode 100644 index 000000000..885d37c8d --- /dev/null +++ b/packages/transactional/templates/marketing/components/NewsletterLayout.tsx @@ -0,0 +1,55 @@ +import { + Html, + Head, + Preview, + Body, + Container, + Img, + Link, + Text, +} from '@react-email/components' +import { main, container, footer, link } from '../styles' +import { env } from '@typebot.io/env' + +type Props = { + children: React.ReactNode + preview: string +} +export const NewsletterLayout = ({ preview, children }: Props) => ( + + + {preview} + + + Typebot's Logo + {children} + Typebot's Logo + + Typebot.io - Powering Conversations at Scale + + Unsubscribe + + + + +) diff --git a/packages/transactional/templates/marketing/components/NewsletterSection.tsx b/packages/transactional/templates/marketing/components/NewsletterSection.tsx new file mode 100644 index 000000000..46af42515 --- /dev/null +++ b/packages/transactional/templates/marketing/components/NewsletterSection.tsx @@ -0,0 +1,18 @@ +import { Img, Text, Heading, Section } from '@react-email/components' +import { featureSection, heading, text, image as imageStyle } from '../styles' + +type Props = { + title: string + children: React.ReactNode + image?: { + src: string + alt: string + } +} +export const NewsletterSection = ({ title, image, children }: Props) => ( +
+ {title} + {children} + {image && {image.alt}} +
+)