A client chat bot — menu, orders, status

A client writes in the messenger — the bot answers by menu, logs orders to a sheet, shows order status and hands complex cases to an agent.

  • Menu answers: prices, orders, status
  • Orders saved to a sheet
  • Order status on the client's request
  • Complex cases handed to an agent
WebhookGoogle SheetsAbout

How it works

To move data from Mautic to Webhook automatically, use a ready-made scenario — no manual exports.

  1. Starts when: Webhook
  2. Starts when: Verify Webhook2
  3. Check: If5
  4. If yes: استخراج البيانات
  5. Check: في وسائط؟
  6. If yes: Action in an app
  7. Then: HTTP Request
  8. Then: حفظ الميديا
  9. Then: Upsert row(s)
  10. Then: Code in JavaScript4
  11. Then: Code in JavaScript1
  12. Then: سجل الرسائل
  13. Then: Code in JavaScript2
  14. Check: bot on?
  15. If yes: اقرأ الحالة
  16. Check: رسالة جديدة؟
  17. If yes: Menu Cooldown Check
  18. Check: If3
  19. If yes: حضّر الإرسال – القائمة الرئيسية
  20. Then: سجل رسالة خارجة (عام)
  21. Then: إرسال القائمة الرئيسية
  22. Starts when: Respond to Webhook
  23. If no: sub route
  24. If yes: Get row(s)
  25. Check: If
  26. If yes: تحضير الإرسال - الأسعار
  27. Then: سجل رسالة خارجة4
  28. Then: رسالة الأسعار
  29. If no: السير
  30. Check: If1
  31. If yes: تحضير إرسال - رسالة السير الذاتية
  32. Then: سجل رسالة خارجة14
  33. Then: رسالة السير
  34. Then: إدخال طلب جديد
  35. Then: Wait
  36. Then: تحضير إرسال - رسالة السير الذاتية1
  37. Then: سجل رسالة خارجة10
  38. Then: رسالة تأكيد السيرة
  39. Then: Send a message
  40. If no: حضّر الإرسال – شكوى تم التسجيل
  41. Then: سجل رسالة خارجة3
  42. Then: الشكاوى - اطلب تفاصيل1
  43. Then: Send a message2
  44. Then: إدخال نقل خادمات1
  45. If no: menu route
  46. If yes: حضّر الإرسال – الأسعار
  47. Then: سجل رسالة خارجة (عام)1
  48. Then: الأسعار - اختر جنسية
  49. If no: حضّر الإرسال – طلب جديد
  50. Then: سجل رسالة خارجة1
  51. Then: طلب جديد - اختر جنسية
  52. If no: حضّر الإرسال – طلب متابعة
  53. Then: سجل رسالة خارجة5
  54. Then: متابعة - اطلب رقم
  55. Then: متابعة
  56. Then: Code in JavaScript
  57. Check: If2
  58. If yes: تحضير إرسال - رسالة المتابعة
  59. Then: سجل رسالة خارجة11
  60. Then: رسالة المتابعة
  61. If no: تحضير إرسال - رسالة المتابعة لا يوجد
  62. Then: سجل رسالة خارجة12
  63. Then: رسالة المتابعة1
  64. If no: حضّر الإرسال – نقل الخادمات
  65. Then: سجل رسالة خارجة6
  66. Then: نقل خادمات - اختر جنسية
  67. Then: نقل خادمات من الشيت
  68. Then: إدخال نقل خادمات
  69. Then: Wait1
  70. Then: حضر الارسال - نقل الخادمات
  71. Then: سجل رسالة خارجة13
  72. Then: رسالة تأكيد طلب النقل الخادمات
  73. Then: Send a message1
  74. If no: حضّر الإرسال – الترجمة
  75. Then: سجل رسالة خارجة7
  76. Then: الترجمة - رابط
  77. If no: حضّر الإرسال – شكوى
  78. Then: سجل رسالة خارجة2
  79. Then: الشكاوى - اطلب تفاصيل
  80. If no: حضّر الإرسال – لالمكتب
  81. Then: سجل رسالة خارجة8
  82. Then: عن المكتب
  83. If no: حضّر الإرسال – الموظف
  84. Then: سجل رسالة خارجة9
  85. Then: التحدث مع موظف
  86. Then: Send a message3
  87. If no: تنزيل الوسائط

You can launch this Mautic + Webhook integration in Scriptera: describe the task in plain words — the scenario is built, launched and monitored for you.