Creating a Custom Ordering System in Botpress LIVE

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 พ.ย. 2024

ความคิดเห็น • 37

  • @LinuxerMC
    @LinuxerMC ปีที่แล้ว

    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

  • @thiago_saa
    @thiago_saa 4 หลายเดือนก่อน +1

    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...

  • @ilmor8430
    @ilmor8430 ปีที่แล้ว

    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.

  • @chase-jg2gu
    @chase-jg2gu ปีที่แล้ว +1

    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

  • @xPetkic
    @xPetkic ปีที่แล้ว

    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

  • @ramonlepageAI
    @ramonlepageAI 8 หลายเดือนก่อน

    Bro, super helpfull your video.

  • @Parvu_Stefan
    @Parvu_Stefan ปีที่แล้ว

    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!

    • @Alex-Innov8Agency
      @Alex-Innov8Agency  ปีที่แล้ว +2

      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!

    • @Parvu_Stefan
      @Parvu_Stefan ปีที่แล้ว

      Thanks, will also wait for the video, or another videos about chat bots!

  • @stussmith614
    @stussmith614 ปีที่แล้ว

    Great tutorial. Thanks very much for this. It would be good to have a copy of the code somewhere. Just a thought. Well done though :)

  • @Ale-cg8qw
    @Ale-cg8qw ปีที่แล้ว

    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?

    • @Alex-Innov8Agency
      @Alex-Innov8Agency  ปีที่แล้ว +1

      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.

    • @Ale-cg8qw
      @Ale-cg8qw ปีที่แล้ว

      cheers - and please continue the video series - very helpful!@@Alex-Innov8Agency

  • @Pazz0ne
    @Pazz0ne ปีที่แล้ว

    I really love the video, I would really appreciate if it had worked, very nice

  • @mahavishnuessakimuthu
    @mahavishnuessakimuthu ปีที่แล้ว

    Would love to see how to connect this to zapier
    Can you make a video about that

  • @awaistoor4276
    @awaistoor4276 9 หลายเดือนก่อน

    Customer has posted the order he will get the confirmation Now how will we get the order confirmation How to integrate it with email ?

  • @Tedsting82
    @Tedsting82 ปีที่แล้ว

    Where did you find out the codes to use? Do you have a background in code?

  • @Tedsting82
    @Tedsting82 ปีที่แล้ว

    Would you be able to explain what the code means as you enter it and why you do it and what it does?

  • @MrMwenesi
    @MrMwenesi ปีที่แล้ว

    How do you handle failures in the code for example, when a product is types in directly or an amount and it gives NaN results

    • @Alex-Innov8Agency
      @Alex-Innov8Agency  ปีที่แล้ว +1

      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.

    • @MrMwenesi
      @MrMwenesi ปีที่แล้ว

      @@Alex-Innov8Agency What about creating a orderID. How would that be implemented across users?

  • @just.call.me.kat_
    @just.call.me.kat_ 4 หลายเดือนก่อน

    Im having issues with pushing the object into the array, I see you left it as array type string but when I do the same it just gives an error

    • @stephaniericordel959
      @stephaniericordel959 3 หลายเดือนก่อน +1

      You need to add this before push on array :
      if (!Array.isArray(workflow.orderArray)) {
      workflow.orderArray = [];
      }

    • @just.call.me.kat_
      @just.call.me.kat_ 2 หลายเดือนก่อน

      @@stephaniericordel959 you godsent man

  • @PhiloTrend
    @PhiloTrend ปีที่แล้ว

    hey, can you make a tutorial on voiceflow for other niche ?

  • @Pazz0ne
    @Pazz0ne ปีที่แล้ว

    The codes are giving error messages

  • @Brick396
    @Brick396 5 หลายเดือนก่อน

    I have some problem with the code can u help me

  • @GameExperience.
    @GameExperience. ปีที่แล้ว

    Great stuff!
    th-cam.com/video/1ITRU7jbZL0/w-d-xo.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?

    • @cloak98
      @cloak98 8 หลายเดือนก่อน

      me too did you find any solution?

  • @stussmith614
    @stussmith614 ปีที่แล้ว +1

    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;

    • @Pazz0ne
      @Pazz0ne ปีที่แล้ว

      Same here

    • @nkhader6399
      @nkhader6399 11 หลายเดือนก่อน

      Got the same problem

    • @nkhader6399
      @nkhader6399 11 หลายเดือนก่อน

      Have you guys solved the problem or

    • @huika4d13
      @huika4d13 9 หลายเดือนก่อน

      I encountered the same problem, but found out I could ignore the error message and still work perfectly.