docs: 📝 Update email doc
This commit is contained in:
@ -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.
|
||||
|
@ -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>
|
||||
|
BIN
apps/docs/static/img/integrations/default-email.png
vendored
Normal file
BIN
apps/docs/static/img/integrations/default-email.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 67 KiB |
Reference in New Issue
Block a user