diff --git a/apps/docs/docs/integrations/email.mdx b/apps/docs/docs/integrations/email.mdx index 95335609e..e48fd7a61 100644 --- a/apps/docs/docs/integrations/email.mdx +++ b/apps/docs/docs/integrations/email.mdx @@ -6,20 +6,9 @@ If you want to receive an email notification each time a user completes the bot Email block example -By default the email will be send from notifications@typebot.io. But you can choose to use your own email (SMTP) account, using the "From:" dropdown and filling in your credentials. +By default, the email will be sent from notifications@typebot.io with a default content based on what your new lead has replied. It will look like this: -I've recorded a tutorial on how to connect your Gmail account ([even though this isn't recommended](https://nodemailer.com/usage/using-gmail/)): +Email block example - - -## Body configuration - -You can customize the email you want to send: - -Email block example - -The email will be sent each time the block is triggered. You can, of course, have multiple Email block in a the same flow. +You can choose to use your own email (SMTP) account, using the "From:" dropdown and filling in your credentials. +You can also customize the email content with your own text/HTML. diff --git a/apps/docs/docs/self-hosting/configuration.mdx b/apps/docs/docs/self-hosting/configuration.mdx index d4c0a1c35..59a2b1893 100644 --- a/apps/docs/docs/self-hosting/configuration.mdx +++ b/apps/docs/docs/self-hosting/configuration.mdx @@ -257,7 +257,8 @@ These can also be added to the `viewer` environment | ---------------------- | --------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | DATABASE_URL | postgresql://postgres:typebot@db:5432/typebot | The database URL | | ENCRYPTION_SECRET | SgVkYp2s5v8y/B?E(H+MbQeThWmZq4t6 | A 256-bit key used to encrypt sensitive data. It is strongly recommended to [generate](https://www.allkeysgenerator.com/Random/Security-Encryption-Key-Generator.aspx) a new one. | -| NEXT_PUBLIC_VIEWER_URL | http://localhost:3001 | The viewer base URL. Should be the publicly accessible URL (i.e. `https://typebot.io`) | +| NEXTAUTH_URL | http://localhost:3000 | The builder base URL. Should be the publicly accessible URL (i.e. `https://typebot.domain.com`) | +| NEXT_PUBLIC_VIEWER_URL | http://localhost:3001 | The viewer base URL. Should be the publicly accessible URL (i.e. `https://bot.domain.com`) |

Emails (Notifications)

diff --git a/apps/docs/static/img/integrations/default-email.png b/apps/docs/static/img/integrations/default-email.png new file mode 100644 index 000000000..160f18d31 Binary files /dev/null and b/apps/docs/static/img/integrations/default-email.png differ