mirror of
https://github.com/cheveguerra/bot-whatsapp.git
synced 2026-04-17 19:26:23 +00:00
update readme
This commit is contained in:
39
README.md
39
README.md
@@ -2,14 +2,10 @@
|
||||
#### Actualizado Enero 2022
|
||||
|
||||
El siguiente proyecto se realizó con fines educativos para el canal de [Youtube (Leifer Mendez)](https://www.youtube.com/channel/UCgrIGp5QAnC0J8LfNJxDRDw?sub_confirmation=1) donde aprendemos como usando node.js podemos crear un chatbot increíble que además le agregamos inteligencia artificial gracias al servicio de dialogflow.
|
||||
<p align="center">
|
||||
<img src="https://i.giphy.com/media/OBDi3CXC83WkNeLEZP/giphy.webp">
|
||||
</p>
|
||||
|
||||
|
||||

|
||||
> Si tienes una cuenta en __heroku__ puedes desplegar este proyecto con 1 click
|
||||
|
||||
[](https://heroku.com/deploy?template=https://github.com/leifermendez/bot-whatsapp)
|
||||
[](https://heroku.com/deploy?template=https://github.com/leifermendez/bot-ventas)
|
||||
|
||||
> Comprarme un cafe!
|
||||
|
||||
@@ -20,14 +16,14 @@ El siguiente proyecto se realizó con fines educativos para el canal de [Youtube
|
||||
|
||||
#### Video Creación 🤖
|
||||
- [Ver Video 1](https://www.youtube.com/watch?v=A_Xu0OR_HkE)
|
||||
- [Ver Video 2 (Actulización)](https://www.youtube.com/watch?v=A_Xu0OR_HkE)
|
||||
- [¿Como instalarlo? (Actulización)](https://youtu.be/5lEMCeWEJ8o)
|
||||
|
||||
#### ¿Que puedo hacer con este chatbot?
|
||||
|
||||
Puedes crear tus flujos de trabajo, ya sea usando mysql, dialogflow o simplemente condiciones en el codigo.
|
||||
IMAGE
|
||||
|
||||
## Instruciones
|
||||
### Instruciones
|
||||
__Descargar o Clonar repositorio__
|
||||

|
||||
|
||||
@@ -54,7 +50,25 @@ Escanea el el código QR desde tu aplicación de Whatsapp
|
||||
> Cuando sale este mensaje tu BOT está __listo__ para trabajar!
|
||||

|
||||
|
||||
## ¿Como usarlo el chatbot de whatsapp?
|
||||
### Configurar
|
||||
Recuerda debes de crear tu archivo __.env__ basado en el archivo __.env.example__
|
||||
```
|
||||
######DATABASE: none, mysql, dialogflow
|
||||
|
||||
DEFAULT_MESSAGE=true
|
||||
SAVE_MEDIA=true
|
||||
PORT=3000
|
||||
DATABASE=none
|
||||
LANGUAGE=es
|
||||
SQL_HOST=
|
||||
SQL_USER=
|
||||
SQL_PASS=
|
||||
SQL_DATABASE=
|
||||
```
|
||||
|
||||
> Si quieres usar la conexion via _mysql_ puedes importar el archivo [sql-bot.sql](s)
|
||||
|
||||
### ¿Como usarlo el chatbot de whatsapp?
|
||||
> Escribe un mensaje al whatsapp que vinculaste con tu BOT
|
||||
|
||||

|
||||
@@ -65,8 +79,7 @@ con el historial de conversación con el número de tu cliente
|
||||

|
||||

|
||||
|
||||
## Preguntar al BOT
|
||||
> Puedes interactuar con el bot ejemplo escribele __Quieromeme__ y el bot debe responderte con la imagen
|
||||
|
||||

|
||||
### Preguntar al BOT
|
||||
> Puedes interactuar con el bot ejemplo escribele __hola__ y el bot debe responderte!
|
||||
|
||||

|
||||
Reference in New Issue
Block a user