​✅ Chatbot + DialogFlow (Respondendo e ouvindo as intents de texto e áudio pelo WhatsApp)

📁​ Arquivos prontos para download nessa aula.


​👉 ​INSTRUÇÕES BÁSICAS:

Parte 3:

  1. Criar credenciais
  2. Baixar o JSON
  3. Instalar a API: Instalar a API
  4. Rodar os comandos:
    $npm install @google-cloud/dialogflow
    $npm install actions-on-google
    $npm install body-parser
    $npm install dialogflow-fulfillment
  5. Copiar o JSON para pasta do respositório
  6. Configurar o APP.JS
  7. TESTAR

Parte 4:

  1. Criar credenciais
  2. Baixar o JSON
  3. Instalar a API: Instalar a API
  4. Rodar os comandos:
    $npm install @google-cloud/dialogflow
    $npm install actions-on-google
    $npm install body-parser
    $npm install dialogflow-fulfillment
    $npm install util
    $npm i --save pb-util
  5. Copiar o JSON para pasta do respositório
  6. Configurar o APP.JS (alterar linhas 58, 123 e 208)
  7. TESTAR

Parte 5:

  1. Criar credenciais
  2. Baixar o JSON
  3. Instalar a API: Instalar a API
  4. Rodar os comandos:
    $npm install @google-cloud/dialogflow
    $npm install actions-on-google
    $npm install body-parser
    $npm install dialogflow-fulfillment
    $npm install util
    $npm i --save pb-util
  5. Copiar o JSON para pasta do respositório
  6. Configurar o APP.JS (alterar linhas 58, 123 e 208)
  7. TESTAR