Integrando Evolution API com ChatWoot

Fabricando Sua Ideia - Tutoriais
23 Apr 202407:26

Summary

TLDRThis video tutorial by Walin demonstrates how to connect WhatsApp to the Chatwoot platform using the Evolution API. It walks through setting up the API, gathering necessary credentials like the Chatwoot account ID and access token, and configuring the webhook for message flow between the platforms. Viewers also learn how to create an inbox in Chatwoot, connect it with Evolution, and test the integration by sending messages from WhatsApp. The video also hints at future tutorials on managing lead data using a database like NoCase instead of Google Sheets for larger storage needs.

Takeaways

  • đŸ“Č The video is a tutorial on how to connect WhatsApp to Chatwoot using the Evolution API.
  • 💬 The presenter encourages viewers to leave comments to increase the video's visibility on YouTube and to help the channel reach 100,000 subscribers.
  • 🔗 The process involves obtaining the URL, account ID, and access token from the Chatwoot platform.
  • đŸ› ïž The video provides a step-by-step guide on how to set up the connection between Chatwoot and the Evolution API.
  • đŸ“± The presenter demonstrates that they have already set up an instance and connected it to their phone and Type bot.
  • 🔑 It's necessary to access Chatwoot's account settings to find the account ID and access token.
  • 🌐 The video explains how to create a conversation box or 'inbox' in Chatwoot to establish the connection with the Evolution API.
  • 🔗 The presenter shows how to use the Evolution API's webhook URL to connect Chatwoot.
  • 📝 The video mentions the need to match the instance name used in Evolution with the channel name in Chatwoot.
  • đŸŽ„ The presenter assures that the process is simple and that they will demonstrate it in detail.
  • 📈 The video also teases upcoming content about using NocoDB as a database management system for leads.

Q & A

  • What is the main goal of the video?

    -The main goal of the video is to teach viewers how to connect their WhatsApp to Chatwoot using Evolution API.

  • What tool does the tutorial use for connecting WhatsApp to Chatwoot?

    -The tutorial uses Evolution API to connect WhatsApp to Chatwoot.

  • What are the prerequisites for following the tutorial?

    -The prerequisites include having an instance created in Evolution API, a connected Type Bot, and a Chatwoot account installed and set up.

  • What information is needed to connect Evolution API with Chatwoot?

    -You need the URL for your hosted Chatwoot instance, the account ID from Chatwoot, and the access token.

  • How can you retrieve the account ID and token from Chatwoot?

    -You can find the account ID in the 'Account Settings' section of Chatwoot and the access token in the 'Profile Settings' section, by scrolling to the bottom of the page.

  • What is the next step after connecting Evolution API with Chatwoot?

    -After connecting, you need to create an inbox in Chatwoot, providing the instance name and Webhook URL from Evolution API.

  • How do you configure the Webhook URL in Chatwoot?

    -The Webhook URL should follow this format: 'https://your_evolution_domain/chat/webhook/instance_name'. You can find the instance name in the Evolution API dashboard.

  • What should you do if an error occurs while testing the connection?

    -If an error occurs, it's not a major issue for the tutorial. You can continue setting up and ensure the connection is working by verifying messages in the inbox.

  • How can you verify if the WhatsApp connection to Chatwoot is successful?

    -You can verify the connection by sending a message via WhatsApp and checking if it appears in Chatwoot’s inbox.

  • What additional feature is hinted at for future videos?

    -The video mentions that a future video will teach how to integrate a database, like NoCase, to manage lead information without limitations or additional API costs.

Outlines

00:00

đŸ“± Connecting WhatsApp to Chatwoot

The speaker, Walin, introduces a tutorial on how to connect WhatsApp to Chatwoot using the Evolution API. He emphasizes the importance of community engagement and comments to help the video reach a wider audience. The goal is to reach 100,000 subscribers. Walin explains that he will guide viewers through the process of connecting Chatwoot to their instance using the Evolution API. He mentions that viewers can find a detailed tutorial on creating an instance and connecting a Type bot in a previous video. The tutorial involves obtaining the URL, account ID, and access token for Chatwoot, which are required for the connection. Walin demonstrates how to find these details within the Chatwoot settings and how to input them into the Evolution API to establish the connection.

05:02

🔗 Setting Up Chatwoot Inbox with Evolution API

In the second paragraph, Walin continues the tutorial by guiding viewers on how to set up an inbox in Chatwoot that will act as a communication channel between Chatwoot and the Evolution API. He explains the process of creating an API channel in Chatwoot, which requires the channel name and a webhook URL. Walin provides a quick tip on how to easily copy the necessary information from the Evolution API settings. He then demonstrates how to add an agent to the inbox and confirms that the process is complete and functioning. Walin tests the setup by sending a message through Chatwoot, which is successfully received on WhatsApp. He then transitions to discussing the use of NocoDB for database management, as an alternative to Google Sheets, especially for managing a large number of leads without limitations. He encourages viewers to subscribe, comment, and share the video to help it reach more people.

Mindmap

Keywords

💡WhatsApp

WhatsApp is a widely used messaging, calling, and digital communication app. In the context of the video, it is used as one of the platforms to be integrated with Chatwoot, demonstrating how to connect it using the Evolution API. The script mentions using WhatsApp to send messages that are then received by the client through the connected Chatwoot inbox.

💡Chatwoot

Chatwoot is an open-source customer messaging platform. The video focuses on connecting Chatwoot to WhatsApp via the Evolution API, showcasing how to manage customer interactions from different channels in one place. The script describes the process of linking Chatwoot to the API and creating an inbox for messaging.

💡Evolution API

The Evolution API is a tool mentioned in the script for connecting different services, such as WhatsApp and Chatwoot. It is used to facilitate the integration process, allowing for seamless communication between platforms. The video provides a tutorial on how to use the API to establish this connection.

💡Integration

Integration in this context refers to the process of linking two or more systems or applications together so they work as one. The video script provides a step-by-step guide on integrating WhatsApp with Chatwoot using the Evolution API, which is crucial for统䞀 customer communication channels.

💡API

API stands for Application Programming Interface, which is a set of rules and protocols for building and interacting with software applications. The script discusses using the Evolution API to connect WhatsApp to Chatwoot, emphasizing the importance of APIs in modern software integration.

💡Webhook

A Webhook is a user-defined HTTP callback, triggered by an event in a web application. In the video, setting up a Webhook is part of the process to connect Chatwoot to the Evolution API, where it is used to receive messages from WhatsApp and route them to the appropriate inbox.

💡Instance

In the context of the video, an 'instance' refers to a specific setup or configuration of software, such as the Chatwoot account or the Evolution API setup. The script guides viewers on how to create and connect instances of these platforms.

💡Token

A token in this context is a security feature used to access an API or service. The video script instructs viewers on how to obtain and use an access token for the Chatwoot account to secure the connection with the Evolution API.

💡Inbox

An inbox in Chatwoot is where incoming messages are received and managed. The video explains how to create an inbox that acts as a bridge between WhatsApp and Chatwoot, allowing messages sent via WhatsApp to be managed within Chatwoot.

💡Community

The term 'community' is used in the script to refer to the group of people who follow and engage with the content creators' work. The video encourages viewers to join their community on WhatsApp, emphasizing the role of community in supporting the creators' goals.

💡Subscribers

Subscribers are individuals who have opted to follow a channel or service, such as a YouTube channel. The video mentions a goal of reaching 100,000 subscribers, highlighting the importance of audience growth and engagement in content creation.

Highlights

Learn how to connect your WhatsApp to Chatwoot using the Evolution API.

Instructions to transfer conversations into Chatwoot for seamless integration.

Explains how to create an Evolution API instance connected to your phone for automation.

Quick tutorial on setting up Evolution API with Chatwoot, for faster integration than previous methods.

Step-by-step guide to find and copy the Chatwoot URL, account ID, and token for API connection.

Process to integrate Chatwoot and Evolution API using the account settings and token access.

Walkthrough of creating a conversation inbox within Chatwoot and linking it to Evolution.

Instructions for setting up a webhook URL for connecting the Chatwoot instance to Evolution.

Creating an API channel in Chatwoot and adding the admin as the agent for message management.

Testing message flow between WhatsApp and Chatwoot to verify the integration is working.

Troubleshooting errors when sending messages between Evolution API and Chatwoot.

Using the NoSQL database for managing leads without the limitations of free tools like Google Sheets.

Steps for integrating a NoSQL database with Evolution API for better lead management.

Recommendation to use a self-hosted database for lead storage, avoiding API cost and limitations.

Encouragement to comment, share, and engage with the video to help it reach more viewers.

Transcripts

play00:00

como conectar o seu WhatsApp ao chat wo

play00:03

como transferir as pessoas para dentro

play00:05

do seu chat wo se vocĂȘ quer aprender a

play00:07

como fazer isso neste vĂ­deo eu vou te

play00:09

ensinar usando a Evolution api se vocĂȘ

play00:11

quer aprender como conectar com api

play00:13

oficial também deixe nos comentårios pra

play00:16

gente poder ensinar para vocĂȘs Lembrando

play00:18

que o campo de comentĂĄrios estĂĄ aberto

play00:20

quanto mais comentĂĄrios vocĂȘs colocarem

play00:22

maior a chance do YouTube divulgar esse

play00:24

vĂ­deo para outras pessoas e nĂłs temos

play00:26

uma meta audaciosa de ainda este ano

play00:29

chegar em 100.000 inscritos entĂŁo apoia

play00:32

o nosso trabalho ajuda a gente a chegar

play00:34

nos 100.000 inscritos e venha fazer

play00:35

parte da nossa comunidade no WhatsApp e

play00:37

aĂ­ galera quem tĂĄ falando aqui com vocĂȘs

play00:39

Ă© o walin e hoje eu vou fazer um

play00:42

tutorial mais rĂĄpido ainda do que o

play00:44

Ășltimo para ensinar vocĂȘs a conectar a

play00:46

Evolution api ao chatwood Bom

play00:49

primeiramente eu jĂĄ tĂŽ aqui na InstĂąncia

play00:51

que a gente criou no Ășltimo vĂ­deo ela jĂĄ

play00:53

tĂĄ conectada no meu celular o Type bot

play00:55

jĂĄ tĂĄ conectado nela e hoje eu realmente

play00:58

sĂł vou fazer a conexĂŁo entre ela e o

play01:00

chatwood se vocĂȘ quiser saber como fazer

play01:03

a criação dessa Instùncia como conectar

play01:05

o seu celular e o seu Type bot a

play01:07

InstĂąncia na Evolution Eu recomendo que

play01:09

vocĂȘ entre no nosso canal e assista o

play01:11

Ășltimo vĂ­deo que eu ensinei a fazer isso

play01:13

do zero para vocĂȘs de uma maneira bem

play01:15

simples EntĂŁo vamos lĂĄ primeiramente eu

play01:18

jĂĄ tenho a InstĂąncia criada e o que a

play01:20

gente vai fazer é usar a própria opção

play01:22

da Evolution API de conectar o shat wot

play01:25

a a InstĂąncia que vocĂȘ criou o que ela

play01:29

vai pedir para vocĂȘ Ă© o URL do que vocĂȘ

play01:31

usou para hospedar o seu chatwoot o ID

play01:33

da sua conta do chatwoot e o token de

play01:35

acesso dessa conta a gente consegue isso

play01:37

de maneira bem rĂĄpida eu vou ensinar

play01:39

para vocĂȘs como fazer isso primeiramente

play01:41

eu jĂĄ tĂŽ com meu chat criado aqui eu jĂĄ

play01:43

fiz a instalação completa que também

play01:45

temos vĂ­deo no canal sobre como fazer a

play01:47

instalação se vocĂȘ quiser saber vocĂȘ

play01:49

pode entrar no canal e ver esse vĂ­deo

play01:51

como meu shat jĂĄ tĂĄ instalado Eu JĂĄ

play01:53

criei a minha conta jĂĄ tĂĄ tudo aqui

play01:55

primeiramente o que nĂłs vamos precisar

play01:56

para fazer a conexĂŁo Ă© do nosso link de

play02:00

acesso da nossa URL correspondente ao

play02:03

chatwood eu consigo isso bem aqui em

play02:05

cima no prĂłprio navegador vou copiar

play02:08

aqui a URL que se refere ao meu chatwood

play02:12

vou colar ela aqui pra gente conseguir o

play02:14

ID da conta a gente precisa vir nas

play02:16

configuraçÔes aqui do chatwood a gente

play02:18

vem aqui pela barra lateral esquerda a

play02:20

gente consegue vir aqui na settings a

play02:22

gente vai em account settings que Ă© a

play02:24

primeira opção que ele vai abrir direto

play02:25

e aqui a gente jĂĄ tem o ID da conta eu

play02:28

vou copiar aqui o ID e vou colar ele no

play02:31

nosso Evolution api agora o token da

play02:34

conta a gente vai vir aqui no token de

play02:36

acesso da conta pra gente chega a gente

play02:38

vem aqui novamente pela barra lateral

play02:40

esquerda a gente vai em profile settings

play02:43

vai em profile a gente vai clicar no no

play02:46

seu perfil a gente vai em profile

play02:47

settings clicando nela e descendo até o

play02:50

fim da pĂĄgina a gente vai achar o token

play02:51

de acesso a gente vai copiar esse token

play02:53

de acesso voltar na Evolution e colar

play02:56

ele aqui pronto É só isso que a gente

play02:58

precisa para fazer a a conexĂŁo entre o

play03:01

chatwood e a Evolution api eu vou

play03:05

habilitar aqui a conexĂŁo entre os dois e

play03:07

vou salvar esse processo Ăłtimo agora a

play03:11

gente vai voltar pro chatwood porque

play03:13

antes de a gente conseguir fazer esse

play03:14

processo todo funcionar a gente precisa

play03:15

criar uma uma caixa de conversa uma

play03:18

caixa de entrada entre o chatwood e o

play03:21

seu Evolution a gente acabou de conectar

play03:23

o Evolution chatwood agora nĂłs vamos

play03:24

conectar o chatwood ao evolution a gente

play03:27

vai vir aqui em configuraçÔes novamente

play03:30

pela barra lateral esquerda vai em inbox

play03:32

que sĂŁo as caixas de entrada a gente vai

play03:34

em add inbox ou Caso esteja em portuguĂȘs

play03:37

em adicionar caixa de entrada Zoom em

play03:40

API e ele vai pedir o nome do canal e

play03:43

uma web uma url de web Hook o nome do

play03:47

canal nĂłs vamos ter Obrigatoriamente que

play03:49

usar o nome da instĂąncia que foi usado

play03:52

para criar aqui no na Evolution eu vou

play03:54

copiar aqui o nome da minha InstĂąncia eu

play03:56

vou colar ele aqui e a gente vai

play03:58

precisar da web H url que que Ă© a web

play04:02

Hook URL a gente precisa do do domĂ­nio

play04:06

do seu Evolution api barra o chw bar

play04:11

webook bar o nome da sua InstĂąncia a

play04:13

gente vou fazer isso aqui de uma maneira

play04:15

bem simples aqui Ăł

play04:16

https 2 bar Evolution

play04:22

Evolution

play04:24

api confirir se tĂĄ tudo certo ponto

play04:28

aula

play04:32

fabricando pon

play04:36

online bar

play04:40

chat bar

play04:44

webhook

play04:46

bar o nome da instĂąncia que tĂĄ logo aqui

play04:49

em cima

play04:51

integração integração

play04:54

Evolution api pronto É só isso que a

play04:58

gente precisa sĂł antes de criar o canal

play05:01

vou fazer passar um Mazinho bem rĂĄpido

play05:03

para vocĂȘs Caso vocĂȘs estejam na mesma

play05:05

versĂŁo aqui do painel de controler da

play05:07

Evolution que eu clicando aqui em como

play05:09

configurar o shw vocĂȘ consegue ver um

play05:11

tutorial rĂĄpido sobre essa parte que eu

play05:13

acabei de fazer e aqui ele jĂĄ dĂĄ o nome

play05:16

da instĂąncia para vocĂȘ copiar e colar

play05:18

aqui em Channel name e a web Hook url

play05:21

que eu acabei de fazer aqui eu vou

play05:23

copiar ela e colar para ter certeza que

play05:24

tĂĄ tudo certinho Ăł eu poderia ter eu

play05:27

tinha que ter colocado o nome da

play05:28

instĂąncia exatamente igual ele jĂĄ

play05:30

corrigiu PR mim entĂŁo agora nĂłs vamos

play05:32

aqui Create api Channel a gente vai

play05:35

adicionar um a gente que no caso aqui Ă©

play05:36

o admin que Ă© o a conta que eu t

play05:38

utilizando eu vou adicionar o a gente e

play05:41

pronto a conta o inbox criado a gente

play05:45

pode ir para lĂĄ tĂĄ tudo funcionando

play05:47

agora como todo o resto do processo

play05:49

combot jĂĄ tĂĄ criado por mim eu vou abrir

play05:51

aqui o meu WhatsApp eu vou mandar uma

play05:54

mensagem o meu chat que funcionando com

play05:58

oot começar a enviar o fluxo de

play06:01

mensagens deu algum errinho aqui nĂŁo sei

play06:04

bem o que aconteceu mas essa parte nĂŁo Ă©

play06:06

importante pra gente agora eu posso

play06:09

fechar aqui e ele jĂĄ vai ter

play06:10

automaticamente criado aqui no inbox que

play06:12

a gente acabou de conectar uma conexĂŁo

play06:15

direta entre o chat da Evolution que Ă©

play06:18

aquele nĂșmero que eu acabei de usar ali

play06:19

no WhatsApp para vocĂȘ poder mandar uma

play06:22

mensagem eu posso agora enviar qualquer

play06:23

tipo de mensagem aqui e o meu cliente

play06:27

deve receber isso no WhatsApp dele sem

play06:31

muitos problemas pronto eu jĂĄ recebi

play06:33

aqui a mensagem que eu enviei ali pelo

play06:35

pelo chatwood e dĂĄ para ver que tĂĄ tudo

play06:37

funcionando tudo conectado bonitinho

play06:39

agora nesse vĂ­deo que tĂĄ aparecendo na

play06:40

sua tela eu vou te ensinar a instalar o

play06:43

nocase vocĂȘ vai usar ele como gestĂŁo de

play06:45

banco de dados para salvar essas

play06:48

informaçÔes o Google planilhas tem

play06:50

limitaçÔes na versão gratuita

play06:52

principalmente para quem vai salvar

play06:53

muitos leads Que tal vocĂȘ ter a sua base

play06:56

de leads salva dentro de um banco de

play06:58

dados que vocĂȘ controla sem limitaçÔes

play07:01

sem custo de api rodando no mesmo

play07:04

servidor que estĂĄ a sua Evolution seu

play07:06

Type bot e outras soluçÔes esse tipo de

play07:09

coisa eu trago como tema deste vĂ­deo que

play07:11

tå aparecendo na tela mas não se esqueça

play07:13

de se inscrever e deixar um comentĂĄrio o

play07:16

comentĂĄrio ajuda muito a espalhar esse

play07:18

vĂ­deo para outras pessoas Compartilhe o

play07:20

vídeo também em todos os grupos de

play07:21

WhatsApp que vocĂȘ tiver e bora lĂĄ

play07:24

assistir o prĂłximo vĂ­deo

Rate This
★
★
★
★
★

5.0 / 5 (0 votes)

Related Tags
Chatwoot IntegrationWhatsApp APIEvolution APIMessaging TutorialDigital CommunicationTech TutorialSocial Media ToolsCustomer EngagementAPI ConnectionWebhook Setup