2
0

docs: 📝 Update email doc

This commit is contained in:
Baptiste Arnaud
2022-06-12 09:12:48 +02:00
parent 97980f42ca
commit 6657a85573
3 changed files with 6 additions and 16 deletions

View File

@ -6,20 +6,9 @@ If you want to receive an email notification each time a user completes the bot
<img src="/img/integrations/email.png" width="400" alt="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/)):
<img src="/img/integrations/default-email.png" alt="Email block example" />
<YoutubeEmbed videoId="C_LXt5SbP6w" />
## Body configuration
You can customize the email you want to send:
<img
src="/img/integrations/email-body.png"
width="400"
alt="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.

View File

@ -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`) |
<details><summary><h3>Emails (Notifications)</h3></summary>
<p>

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB