​​​​​✅ Aprenda como agendar o envio de mensagens automáticas usando a Api do WhatsApp

📁​ Arquivos prontos para download nessa aula.


​👉 ​INSTRUÇÕES BÁSICAS:

  1. DOWNLOAD GIT: https://git-scm.com/downloads
  2. DOWNLOAD NODE: https://nodejs.org/pt-br/download/
  3. DOWNLOAD Notepad++: https://notepad-plus-plus.org/downloads/

2- ABRIR O GIT CMD

a. git clone https://github.com/pedroherpeto/bot-zdg.git

b. cd bot-zdg

c. npm install

d. npm start

3- CRIAR BANCO DE DADOS ZDG e TABELA AGENDAMENTO

4- CRIAR ARQUIVO zdgAgendamento.php

a. copiar a solução


AMOSTRA DE DADOS

INSERT INTO `agendamento` (`id`, `user`, `mensagem`, `data`, `status`) VALUES (NULL, '550000000000', 'Olá, tudo bem? 

Como vai você?', '2021-12-05', '');

INSERT INTO `agendamento` (`id`, `user`, `mensagem`, `data`, `status`) VALUES (NULL, '553599888649', 'Olá, tudo bem? 

Como vai você?', '2021-12-05', '');

INSERT INTO `agendamento` (`id`, `user`, `mensagem`, `data`, `status`) VALUES (NULL, '553598514027', 'Olá, tudo bem? 

Como vai você?', '2021-12-05', '');

INSERT INTO `agendamento` (`id`, `user`, `mensagem`, `data`, `status`) VALUES (NULL, '553599771831', 'Olá, tudo bem? 

Como vai você?', '2021-12-05', '');

INSERT INTO `agendamento` (`id`, `user`, `mensagem`, `data`, `status`) VALUES (NULL, '553598432888', 'Olá, tudo bem? 

Como vai você?', '2021-12-05', '');

INSERT INTO `agendamento` (`id`, `user`, `mensagem`, `data`, `status`) VALUES (NULL, '550000000000', 'Olá, tudo bem? 

Como vai você?', '2021-12-05', '');

INSERT INTO `agendamento` (`id`, `user`, `mensagem`, `data`, `status`) VALUES (NULL, '553597550727', 'Olá, tudo bem? 

Como vai você?', '2021-12-05', '');

INSERT INTO `agendamento` (`id`, `user`, `mensagem`, `data`, `status`) VALUES (NULL, '553599905062', 'Olá, tudo bem? 

Como vai você?', '2021-12-05', '');

INSERT INTO `agendamento` (`id`, `user`, `mensagem`, `data`, `status`) VALUES (NULL, '550000000000', 'Olá, tudo bem? 

Como vai você?', '2021-12-05', '');

INSERT INTO `agendamento` (`id`, `user`, `mensagem`, `data`, `status`) VALUES (NULL, '553588754197', 'Olá, tudo bem? 

Como vai você?', '2021-12-05', '');

INSERT INTO `agendamento` (`id`, `user`, `mensagem`, `data`, `status`) VALUES (NULL, '5515998566622', 'Olá, tudo bem? 

Como vai você?', '2021-12-05', '');

INSERT INTO `agendamento` (`id`, `user`, `mensagem`, `data`, `status`) VALUES (NULL, '553598630497', 'Olá, tudo bem? 

Como vai você?', '2021-12-05', '');