Please remember to use my link if you're planning to sign up for Flowise cloud 🙏. flowiseai.com/auth/signup?referralCode=LEONVZ Let me know what sort of chatbots you have running on Whatsapp!
Awesome video Leon! You inspired me to go and make my own video about how to build a similar system with n8n running completely locally for free. Love your content man, you are the Flowise guru! Taught me everything I know about the system.
For those who are having trouble with the receiver number, what worked for me was to add the 'Phone Number' module between the 'Send a Message' module. Then, in the receiver field, delete the sender and replace it with ' ]: ', followed by the number in E.164 format.
Leon! absolutelly amazing thank you, I was going through the sequential agent videos earlier and loved it too, I absolutelly love your FW videos. I wanted to know if members of your channel can get access to the FW models you have created more than happy to compensate for that?
These videos are really next level, thanks Leon! PS: is it possible to add action buttons in the chat and then respond to the user based on which button they click on?
8:18: Unfortunately, I can't see a test number. There is only a field with "receive new test number," but if I click it, the error message "Error Account does not exist in the Cloud API, please use the API or register to create an account first" pops up. Where do I need an account? 😅
That's a lot of steps. I think there's a simpler way to do it, but it's still a great tutorial for training. I saw a video about using WhatsApp with vectorshift. It seemed much simpler.
Great tutorial but I'm really struggling here. When I get to using the "send button" (At about 08:50) Watsapp just doesn't send anything. It gave me a bunch of "having to upload payment methods etc" which I did. Completed everything I could. But stuck here. Any way to reach out to you to help?
Congratulations on the content, I am developing a flow of sequential agents that will chat via WhatsApp, how do I record the phone as the user ID and maintain the context of the conversation?
I'm currently integrating Flowise with WhatsApp Cloud API using Make (formerly Integromat). I'm facing an issue with maintaining a persistent session. I'm passing the "sessionId" as part of the request, but Flowise keeps generating a new one each time. According to the documentation, I believe it should be included inside the "overrideConfig" object. Could you confirm if this is correct, or if there's anything else I need to adjust to ensure the session remains consistent across requests? Thanks
Can you help me with something? When the chatbot enters the page, it still continues to show old data. How can I ensure that every time the page is opened, a clean chatbot is displayed?
Can you please explain difference between tool agent and others? I saw here we dont need to specify Context parameters like previous videos. why? thank you!
in flowise when i load a document it only loads it's text and when prompted returns text but i want to embed text as well as image associated with it and when prompted about lets say a product X it should return me whats in the document return about X and the image associated with it
Glad you enjoyed it! I couldn't show the process of obtaining a permanent token as you need to verify your business with Meta. Unfortunately I don't have a registered business that I can use in a tutorial like this. There are plenty of videos on YT going over this process though, and it really wasn't the focus of my video anyway.
Hi, great tutorial. But how do you integrate the responses given by Make via Flowise in client for whatsapp API (for example Chatwoot or any other), because by default on the latter only the user's responses appear.
I believe so 👍. You can extend the automation to first check the type if message that was received. If it contains a file, then use the relevant FW API to load the file to a document store and Upsert it.
When you send an image via WhatsApp, you will receive a URL to that image in Make. You can the pass the image to the Flowise API. It's a bit too much to cover in detail in a comment, but the Flowise API documentation shows exactly how to pass in an image via their API
Thank you! I'm not sure what your use case is, but you could use a sequential agent flow. You could use a conditional agent to determine which agent to call.
Unfortunately you, or your client, needs a verified business. If you simply want a personal chatbot then I'd suggest you use Telegram. I've got a video on it in my channel.
@leonvanzyl yeah, I understand that I need a verified business, but I'm asking you for an idea, what could be done if I want to run an automated auto responder on my personal WhatsApp, abot that can talk on my behalf.
In the WhatsApp module you can change the type from text to audio. This should send audio as a voice message. I don't think there's a way to return audio from Flowise using they're API (I could be wrong). I would simply add a module after the Flowise / HTTP module which will take the text from Flowise, run it through a TTS service like Ellevenlabs, and send the audio from Ellevenlabs via WhatsApp.
@@leonvanzyl Ah okay, I'll give that a go. I think just allowing the user to send a VN is enough, its still best to receive a response in text in my opinion. That's 100s;-) Thanks for the guidance!
@@leonvanzyl This is working like a charm, you do need to use Base64 encoding on the audio though to send it into Flowise. The next interesting challenge is getting a multi-agent flow to give a chain of responses in Whatsapp rather than just the initial response from the supervisor.
@@T33KS Hey there! So long as you've got the STT activated in your flow's Configuration it will automatically transcribe the audio in the Messages History within the Flow. Are you wanting to return the transcribed audio back to the whatsapp user?
Hi Leo, it's a pleasure to greet you again! I want to thank you for this video and for the passion you put into your work. I really appreciate you introducing the new Flowise cloud feature. I subscribed using your code, but I couldn't find the pricing details anywhere. Do you happen to know how much it costs or how much it will be after the 14-day trial? Also, congratulations on the great content in the video! I wanted to ask if it's possible to have an interface where we can view and track WhatsApp conversations, so our clients can review them. And do you know if this method can be done through WhatsApp Web with something similar to Twilio to avoid the issue with Facebook authentication and the 24-hour response limit? Sending you greetings from Colombia!
Great video, Leon! Did anyone else have a problem getting a WhatsApp Business Account ID? I am able to generate the token and I have gone through the process of linking my App to WhatApp but it's blank where it says Whatsapp Business Account ID?
One quick question I have is, if we are building a chatbot for a client, and want to integrate it with WhatsApp, as part of creating the business profile on Meta, do we need access to their business page or profile? Or can we set it up within our own account and have their phone number verified for WhatsApp?
I didn't cover it on purpose, as managing Meta accounts, especially for clients, can be a subject within itself. There are tons of videos on YT on that topic. Perhaps someone in the comments can point you in the right direction.
While your application is in development mode, I think you can only send messages to one of the added numbers. When you switch it to production mode then there's no limit.
The video you commented on is on Whatsapp AI Agents 😝. I'm guessing you're referring to tool agents. This exact same progress will work with tool agents, or even multi-agent flows as well.
You can self host it on Render for like $7pm. Their cloud service is about $35pm, but you get a lot of value for that price, especially if you're planning on building projects for clients.
Leon, thank you for the excellent content! I'm having trouble integrating the Make request. I'm using Flowise locally (localhost:3000). When I initialize Make and send a message on WhatsApp, I get the error: "The operation failed with an error. IP address is not valid." Could you guide me on how to resolve this issue?
Thank you! Localhost won't work. Make and Whatsapp would have no way of accessing something that's running on your local machine. You need to either self-host Flowise or use their cloud service :-) . I have a video on self-hosting that you'll find useful. ruclips.net/video/OMNC8MQKosU/видео.html
Hi there! I did explain in the video that I do not have a registered company that I can use just for a tutorial. There are other tutorials out there that explain the process, but because you need to verify an actual business with Meta it's more admin and paperwork than a technical tutorial 😜
Hi Leon, When I click on 'Get new test number', I get an error message as 'Error WhatsApp test numbers are currently unavailable. Contact support.' Also there are some additional steps as 'add phone number' and 'add payment method'. Are they necessary?
hey @leonvanzyl Great videos and all of them are very insightful. I wanted to check with you about a workflow which take a video file from the local file directory, extracts audio from it and then converts it to text. Do you think this is possible with Flowise?
hey @leonvanzyl i get this error : Error: vectorsService.upsertVector - Error: Error: Credentials could not be decrypted. when i try to press te green icon and upsert to the vector store. what is the problem ? and solution ? thanks for all these awesome tutorials ! i'm a huuuuge fan :)
Which embedding module are you using? OpenAI? I haven't seen that error myself, but my guess is that there might be a problem with your credentials. If you're using OpenAI, then check if you have credit, etc. Let me know if you get it working 😊
What is likely causing this error when I try to chat to the bot before connecting WA?400 Invalid 'tools[0].function.name': "400 Invalid 'tools[0].function.name': string does not match pattern. Expected a string that matches the pattern '^[a-zA-Z0-9_-]+$'."
Please remember to use my link if you're planning to sign up for Flowise cloud 🙏.
flowiseai.com/auth/signup?referralCode=LEONVZ
Let me know what sort of chatbots you have running on Whatsapp!
Ive Done it!
It is amazing to see how flowise is growing up with new functionalities
It's a really good platform with some seriously talented developers behind it.
Thank you so much for this wonderful tutorial Leon!
You're welcome!
Awesome video Leon! You inspired me to go and make my own video about how to build a similar system with n8n running completely locally for free. Love your content man, you are the Flowise guru! Taught me everything I know about the system.
Thank you very much!
You need a love option ❤…another awesome video! Thanks..especially the FB/meta setup as they don’t like to make that easy ha ha
Hehe, thanks ❤️.
Yeah, the Meta side of things can be really frustrating.
this video was good, i wanted to learn how to end session with customer. and start a new session after 20 min for example.
For those who are having trouble with the receiver number, what worked for me was to add the 'Phone Number' module between the 'Send a Message' module. Then, in the receiver field, delete the sender and replace it with ' ]: ', followed by the number in E.164 format.
Thanks, Leon, it's another excellent video.
Thank you!
Always the best. Many thanks 👍🏼
You're welcome 🤗
bhai sb, kamal hai. i learned lot of new things today. thanks again . cheers.
You're welcome
Started today wondering how the heck to do this. Dankie man!
Perfect timing then 😊
Leon! absolutelly amazing thank you, I was going through the sequential agent videos earlier and loved it too, I absolutelly love your FW videos. I wanted to know if members of your channel can get access to the FW models you have created more than happy to compensate for that?
I'll see what I can do. Perhaps I should just upload the flows to a GitHub repo or something.
This was good, what i need, hope more video about flowise thank you :)
Thank you
These videos are really next level, thanks Leon!
PS: is it possible to add action buttons in the chat and then respond to the user based on which button they click on?
that's gold, thanks so much
You're welcome
8:18: Unfortunately, I can't see a test number. There is only a field with "receive new test number," but if I click it, the error message "Error Account does not exist in the Cloud API, please use the API or register to create an account first" pops up. Where do I need an account? 😅
That's a lot of steps. I think there's a simpler way to do it, but it's still a great tutorial for training. I saw a video about using WhatsApp with vectorshift. It seemed much simpler.
Haha, this was the easiest solution I could find.
Flowise does not offer native integration with Whatsapp like VectorShift does.
That's great, nice video. Thanks.
Can you create one for integrating Facebook/Instagram messenger into Flowise, just like WhatsApp?
Great idea. Will see what I can do
@@leonvanzyl Please make this suggestion in the next video, you are the best so far.😍
Excellent video, thank you! Does it support Teams?
Yes!
Make offers integration with Teams
Can you make it automatically start a conversation with incoming Facebook leads (lead form) ?
Holly molly, each time I'm sure you can't blow my mind even more you prove me wrong...
It was fun until I got banned from Facebook 😅
Great tutorial but I'm really struggling here. When I get to using the "send button" (At about 08:50) Watsapp just doesn't send anything. It gave me a bunch of "having to upload payment methods etc" which I did. Completed everything I could. But stuck here. Any way to reach out to you to help?
Congratulations on the content, I am developing a flow of sequential agents that will chat via WhatsApp, how do I record the phone as the user ID and maintain the context of the conversation?
I'm currently integrating Flowise with WhatsApp Cloud API using Make (formerly Integromat). I'm facing an issue with maintaining a persistent session. I'm passing the "sessionId" as part of the request, but Flowise keeps generating a new one each time. According to the documentation, I believe it should be included inside the "overrideConfig" object. Could you confirm if this is correct, or if there's anything else I need to adjust to ensure the session remains consistent across requests? Thanks
Can you help me with something?
When the chatbot enters the page, it still continues to show old data. How can I ensure that every time the page is opened, a clean chatbot is displayed?
Can you please explain difference between tool agent and others? I saw here we dont need to specify Context parameters like previous videos. why?
thank you!
in flowise when i load a document it only loads it's text and when prompted returns text but i want to embed text as well as image associated with it and when prompted about lets say a product X it should return me whats in the document return about X and the image associated with it
Great Video as all of your series. How can I get a not temporally token?
Glad you enjoyed it!
I couldn't show the process of obtaining a permanent token as you need to verify your business with Meta.
Unfortunately I don't have a registered business that I can use in a tutorial like this.
There are plenty of videos on YT going over this process though, and it really wasn't the focus of my video anyway.
Thanks!!
Hi, great tutorial. But how do you integrate the responses given by Make via Flowise in client for whatsapp API (for example Chatwoot or any other), because by default on the latter only the user's responses appear.
Hello! Can you make this in N8N too?
For sure!
thank you and bro, build ai cold call tool in hours using flowise
Great. This is what I would like to try. Can we upload a document from whatsapp? For RAG applications
I believe so 👍.
You can extend the automation to first check the type if message that was received.
If it contains a file, then use the relevant FW API to load the file to a document store and Upsert it.
Hi, I have a question, how do you pass the image into the input when you enabled the image upload feature
When you send an image via WhatsApp, you will receive a URL to that image in Make. You can the pass the image to the Flowise API.
It's a bit too much to cover in detail in a comment, but the Flowise API documentation shows exactly how to pass in an image via their API
Awesome job 🎉🎉🎉 thanks.
Question is it possible to provide multiple chatbot for the same number ?
Thank you!
I'm not sure what your use case is, but you could use a sequential agent flow. You could use a conditional agent to determine which agent to call.
We need one for we hook creation and cRm update with make
Leon, what about non WhatsAPP business accounts, do you have any idea what could be done to create a WhatsApp AI Chatbot for personal accounts?
Unfortunately you, or your client, needs a verified business.
If you simply want a personal chatbot then I'd suggest you use Telegram. I've got a video on it in my channel.
@leonvanzyl yeah, I understand that I need a verified business, but I'm asking you for an idea, what could be done if I want to run an automated auto responder on my personal WhatsApp, abot that can talk on my behalf.
Any ideas on how to enable voice notes in Whatsapp to run through to the TTS engine in Flowise?
In the WhatsApp module you can change the type from text to audio. This should send audio as a voice message.
I don't think there's a way to return audio from Flowise using they're API (I could be wrong).
I would simply add a module after the Flowise / HTTP module which will take the text from Flowise, run it through a TTS service like Ellevenlabs, and send the audio from Ellevenlabs via WhatsApp.
@@leonvanzyl Ah okay, I'll give that a go. I think just allowing the user to send a VN is enough, its still best to receive a response in text in my opinion. That's 100s;-) Thanks for the guidance!
@@leonvanzyl This is working like a charm, you do need to use Base64 encoding on the audio though to send it into Flowise. The next interesting challenge is getting a multi-agent flow to give a chain of responses in Whatsapp rather than just the initial response from the supervisor.
@@THESMOKINGHANDBAG how would you transcribe then im Flowise? I was trying a different approach. Would love your thoughts.
@@T33KS Hey there! So long as you've got the STT activated in your flow's Configuration it will automatically transcribe the audio in the Messages History within the Flow. Are you wanting to return the transcribed audio back to the whatsapp user?
Hi Leo, it's a pleasure to greet you again! I want to thank you for this video and for the passion you put into your work. I really appreciate you introducing the new Flowise cloud feature. I subscribed using your code, but I couldn't find the pricing details anywhere. Do you happen to know how much it costs or how much it will be after the 14-day trial?
Also, congratulations on the great content in the video! I wanted to ask if it's possible to have an interface where we can view and track WhatsApp conversations, so our clients can review them. And do you know if this method can be done through WhatsApp Web with something similar to Twilio to avoid the issue with Facebook authentication and the 24-hour response limit?
Sending you greetings from Colombia!
Is this only possibly through cloud or can I host from my own local server(if port forwarding is done, any 3rd party apps etc)?
As long as Flowise is accessible from outside your own network this will work.
Hi! why use Make instead of n8n to integrate with WhatsApp?
I actually have a dedicated n8n series in the works and will create an n8n WhatsApp video then 👍.
Can build companion chatbot too right? I mean with multiple agent that view image, generate image and add some personality. Also have audio reply.
I love using this for personality chatbots. It's my top use case for clients funny enough 😊
@@leonvanzyl Do you have any previous example or something? I just found your channel.
Signed up through your link. Got a message saying my dashboard is ready but when I try to login it’s says I’m not on the waitlist?
I've sent the Flowise team a message. They better give my audience excellent service 😊.
Great video, Leon! Did anyone else have a problem getting a WhatsApp Business Account ID? I am able to generate the token and I have gone through the process of linking my App to WhatApp but it's blank where it says Whatsapp Business Account ID?
Thank you!
I think I've been that before actually, and simply refreshing the page helped 😅.
I'm personally not a fan of Meta's UI.
One quick question I have is, if we are building a chatbot for a client, and want to integrate it with WhatsApp, as part of creating the business profile on Meta, do we need access to their business page or profile? Or can we set it up within our own account and have their phone number verified for WhatsApp?
I didn't cover it on purpose, as managing Meta accounts, especially for clients, can be a subject within itself.
There are tons of videos on YT on that topic.
Perhaps someone in the comments can point you in the right direction.
@@leonvanzyl Yeah, even I feel the same, it's a topic in itself.
Thank you so much!
Can we pass the message from Flowise to a different WA number?
While your application is in development mode, I think you can only send messages to one of the added numbers. When you switch it to production mode then there's no limit.
do u have videos on whatsapp ai agent
The video you commented on is on Whatsapp AI Agents 😝.
I'm guessing you're referring to tool agents. This exact same progress will work with tool agents, or even multi-agent flows as well.
Cool....
Hi Leon, quick question, does this use your existing number? I know it might sound like a silly question!!
You have to use a new phone number. In other words, a number not currently linked to a WhatsApp account.
@@leonvanzyl Thanks Boet, much appreciated
@leon why is that? so I mean my already existing business whatsapp cant be linked? why
Just one question. What is the monthly fee for flowise?
You can self host it on Render for like $7pm.
Their cloud service is about $35pm, but you get a lot of value for that price, especially if you're planning on building projects for clients.
Thank god for dark mode🤘
I know, right 🤣
You are 👌
Thanks 😊
Teach Us how to make app with Flutter Flow + Flowise
Leon, thank you for the excellent content!
I'm having trouble integrating the Make request. I'm using Flowise locally (localhost:3000). When I initialize Make and send a message on WhatsApp, I get the error: "The operation failed with an error. IP address is not valid." Could you guide me on how to resolve this issue?
Thank you!
Localhost won't work. Make and Whatsapp would have no way of accessing something that's running on your local machine. You need to either self-host Flowise or use their cloud service :-) . I have a video on self-hosting that you'll find useful.
ruclips.net/video/OMNC8MQKosU/видео.html
Please do you know how to get a permanent token please? Your method means the token expires less than 24 hrs after generating it
Hi there! I did explain in the video that I do not have a registered company that I can use just for a tutorial.
There are other tutorials out there that explain the process, but because you need to verify an actual business with Meta it's more admin and paperwork than a technical tutorial 😜
can use gemini ai?
Yes
@@leonvanzyl can you make a tutorial for a zapier chatbot version?
😎
I use this without flowise. All fully local. Just one python script and one go script.
I think I know the solution you're using.
It's not practical if you want to build projects for clients though.
Hi Leon, When I click on 'Get new test number', I get an error message as 'Error WhatsApp test numbers are currently unavailable. Contact support.' Also there are some additional steps as 'add phone number' and 'add payment method'. Are they necessary?
hey @leonvanzyl
Great videos and all of them are very insightful.
I wanted to check with you about a workflow which take a video file from the local file directory, extracts audio from it and then converts it to text. Do you think this is possible with Flowise?
hey @leonvanzyl i get this error : Error: vectorsService.upsertVector - Error: Error: Credentials could not be decrypted. when i try to press te green icon and upsert to the vector store. what is the problem ? and solution ? thanks for all these awesome tutorials ! i'm a huuuuge fan :)
Which embedding module are you using? OpenAI?
I haven't seen that error myself, but my guess is that there might be a problem with your credentials. If you're using OpenAI, then check if you have credit, etc.
Let me know if you get it working 😊
What is likely causing this error when I try to chat to the bot before connecting WA?400 Invalid 'tools[0].function.name': "400 Invalid 'tools[0].function.name': string does not match pattern. Expected a string that matches the pattern '^[a-zA-Z0-9_-]+$'."