Where/how did you learn what you needed to know to start your own agency? For some reason, you seem a lot more credible than others that are out there Would be cool if you could make a video about your agency, its health, how you grew it, and where you plan to take it
I am deeply appreciative of the comprehensive tutorial you've provided. The systematic approach you've taken makes it easy to follow along. However, the capabilities shown off in this video doesn't seem particularly new, such chatbots have been around for 10 years or so. It would be great if you could take some time to show off what's possible with current technology. How to build a system that leverages the current possibilities of chatbots, that invokes the same feeling as chatting with chatGPT. Looking forward to your future content.
Greetings from Brazil Alexander! I'm currently working on an ordering system for burger restaurant, I found your video at a good time! Let me ask you: How would you make the bot reply by continuing the chat in the detected language, without needing to ask user for this? If you leave the "Question to ask the user" field in "UserLang" (Raw Input) empty, the bot waits for the user to send a new message...
I love this video man, really good and you're teaching for real how to do this things, love it, ill try to do something like this for some pizza shop or something like that
Amazing video! I would be interested how can you edit the order instead of just deleting it. For example add one more, or get rid of another one. Also the part when you send the order to the team preparing the food would be great. Honesty your video is so clear and insightful! Keep it up!
Thanks! It would take a whole new video explaining how to edit the order. But the basic logic would be: Ask the user which number he would like to edit --> Check, if the array contains the number --> Ask, if he wan'ts to delete or edit this item --> If edit, Create a new order item based on the user's information --> Replace the users item If delete --> just remove the item from the array. Regarding sending the order: In the confirmation block: Make an axios / fetch request to the zapier webhook transmitting all the data from the bot to zapier --> save it somewhere, for example google sheets --> send an automated email containing the information to the team. Hope that could help!
Amazing video! I'm also making a bot for a high ticket client right now but I get stuck on JavaScript because I don't know much of it. Could I ask you a question about it... At the end, your bot says "Your order has been sent." Its similar for my bot, but the order is about renting Properties. I'd like that the client could immediately start a new order by the press of a button, but then when the second order is proccessed, the "foods" from the first one are not removed. All I have to write is a couple of JavaScript lines, but ChatGPT can't do that correctly for me. Could you maybe help me "remove the info stored under 3 variables: Bedrooms, Location, Budget" for the 2. round of ordering? Thank you so much for your time
I would create a type verification. After the user puts in the data, put in a custom code block. Then create an if statement where you check, if the type of the respective variable is correct.
great tips - thanks🙂 have you done anything similar where instead of hardcoding the menu items into the execute code section you use a text/csv file containing the items/products and sore in the KB?
Thanks! When working with variable data from a spreadsheet, you would: Scrape the data from the sheet (zapier), send the data via webhook to botpress and then save it in an array. From there, the logic stays the same.
Great stuff! ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-1ITRU7jbZL0.htmlsi=dgkYSkh2XNfViWQD&t=1179 But I have lost hours by getting errors on last line of code: workflow.orderArray.push(workflor.orderArray) orderArray is set to Type: Array and ArrayType: String orderItem is set to Type: Object That is what Botpress now complains about. "Argument of type Object is not assignable to parameter of type String" Advice please?
can you possibly publish the code so we can see it live? We have errors: workflow.orderArray.push(workflow.orderItem); Error:Type of object is not assignable to perameter of type string" Error: property price, name,amount does not exist on type string Calculate Order. let price = 0; let total = 0; workflow.userOrderPrint = "You have ordered "; // Corrected the line break character for (let i = 0; i < workflow.orderArray.length; i++) { // Used curly braces price = workflow.orderArray[i].amount * workflow.orderArray[i].price; total += price; workflow.userOrderPrint += workflow.orderArray[i].amount + "x" + workflow.orderArray[i].name + " for $" + price + " "; // Added space before "for $" } workflow.userTotal = "Your order costs a total of " + total;