(window.webpackJsonp=window.webpackJsonp||[]).push([[104],{160:function(t,e,n){"use strict";n.r(e),n.d(e,"frontMatter",(function(){return r})),n.d(e,"metadata",(function(){return b})),n.d(e,"rightToc",(function(){return l})),n.d(e,"default",(function(){return h}));var c=n(2),a=n(6),o=(n(0),n(456)),r={id:"chatbot-tu-vi-hang-ngay",title:"C\xe1ch t\u1ea1o Chatbot t\u1eed vi h\u1eb1ng ng\xe0y",sidebar_label:"Chatbot t\u1eed vi h\u1eb1ng ng\xe0y"},b={unversionedId:"chatbot-tu-vi-hang-ngay",id:"chatbot-tu-vi-hang-ngay",isDocsHomePage:!1,title:"C\xe1ch t\u1ea1o Chatbot t\u1eed vi h\u1eb1ng ng\xe0y",description:"1. B\xf3i theo cung ho\xe0ng \u0111\u1ea1o",source:"@site/docs/chatbot-tu-vi-hang-ngay.md",slug:"/chatbot-tu-vi-hang-ngay",permalink:"/help/docs/chatbot-tu-vi-hang-ngay",version:"current",sidebar_label:"Chatbot t\u1eed vi h\u1eb1ng ng\xe0y",sidebar:"docs",previous:{title:"C\xe1ch t\u1ea1o Chatbot b\xf3i s\u1ed1 \u0111i\u1ec7n tho\u1ea1i",permalink:"/help/docs/chatbot-boi-so-dien-thoai"},next:{title:"C\xe1ch t\u1ea1o Chatbot b\u1ea3o hi\u1ec3m",permalink:"/help/docs/chatbot-bao-hiem"}},l=[{value:"1. B\xf3i theo cung ho\xe0ng \u0111\u1ea1o",id:"1-b\xf3i-theo-cung-ho\xe0ng-\u0111\u1ea1o",children:[{value:"S\u1eeda n\u1ed9i dung c\xe1c block",id:"s\u1eeda-n\u1ed9i-dung-c\xe1c-block",children:[]},{value:"Test v\xe0 xem k\u1ebft qu\u1ea3",id:"test-v\xe0-xem-k\u1ebft-qu\u1ea3",children:[]}]},{value:"2. B\xf3i theo tu\u1ed5i 12 con gi\xe1p",id:"2-b\xf3i-theo-tu\u1ed5i-12-con-gi\xe1p",children:[{value:"S\u1eeda n\u1ed9i dung c\xe1c block",id:"s\u1eeda-n\u1ed9i-dung-c\xe1c-block-1",children:[]},{value:"Test v\xe0 xem k\u1ebft qu\u1ea3",id:"test-v\xe0-xem-k\u1ebft-qu\u1ea3-1",children:[]}]}],i={rightToc:l};function h(t){var e=t.components,n=Object(a.a)(t,["components"]);return Object(o.b)("wrapper",Object(c.a)({},i,n,{components:e,mdxType:"MDXLayout"}),Object(o.b)("h2",{id:"1-b\xf3i-theo-cung-ho\xe0ng-\u0111\u1ea1o"},"1. B\xf3i theo cung ho\xe0ng \u0111\u1ea1o"),Object(o.b)("p",null,"Demo: ",Object(o.b)("a",Object(c.a)({parentName:"p"},{href:"https://m.me/ahachatter?ref=boicunghoangdao"}),"https://m.me/ahachatter?ref=boicunghoangdao")),Object(o.b)("p",null,"Copy k\u1ecbch b\u1ea3n: ",Object(o.b)("a",Object(c.a)({parentName:"p"},{href:"https://app.ahachat.com/share-story-to-bot/a9094299b3691ad78173745d672d28cae0Cb6U14FI1420380"}),"https://app.ahachat.com/share-story-to-bot/a9094299b3691ad78173745d672d28cae0Cb6U14FI1420380")),Object(o.b)("p",null,"Ch\u1ec9 c\u1ea7n nh\u1eadp ng\xe0y sinh, chatbot c\u1ee7a AhaChat s\u1ebd g\u1eedi b\u1ea1n qu\u1ebb b\xf3i \u0111\u1ea7y \u0111\u1ee7 v\u1ec1 cung ho\xe0ng \u0111\u1ea1o c\u1ee7a m\xecnh trong h\xf4m nay ;)"),Object(o.b)("p",null,"Sau khi copy n\xf3 s\u1ebd g\u1ed3m 3 block nh\u01b0 th\u1ebf n\xe0y:"),Object(o.b)("p",null,Object(o.b)("img",Object(c.a)({parentName:"p"},{src:"https://lh5.googleusercontent.com/QLFzLnmIyBaUOImDPYOVy3cQXdPRvqQ6AHhCPBH3pRomO7gmKZwG1KoGWkmrT6yft3X3jdtvqJwazLLlou04ooqcON5dC-cv1F6GZZ2m5_ThqICgY1vJt2fyFkceYxyiiFWgiZBd",alt:null}))),Object(o.b)("h3",{id:"s\u1eeda-n\u1ed9i-dung-c\xe1c-block"},"S\u1eeda n\u1ed9i dung c\xe1c block"),Object(o.b)("p",null,"(Block cunghoangdao)"),Object(o.b)("p",null,Object(o.b)("img",Object(c.a)({parentName:"p"},{src:"https://lh6.googleusercontent.com/TT818m9wuR3J4OQ0b70Yk6Jr1o8OkwrhfB3uPBNxf42HxxbTH04qB0DOX10uNXj2uP3S_VfFWHzZNJ0bS2y1hngnI-N1C1mdwrALrdgJ_BnoUyWb_LxMI4YAnVN4ThI6-eBMvMbs",alt:null}))),Object(o.b)("p",null,"(Block ket_qua)"),Object(o.b)("p",null,Object(o.b)("img",Object(c.a)({parentName:"p"},{src:"https://lh3.googleusercontent.com/3nKjqU6hMtY3dHcqsSShIBdOTyNv-WMIbSmZLdmWrn5o70OuWQ-BT2KfCtvyj1XZm60SOS0G1_rvTBQPsG3818AK1cT5S7g9RHqowWl1HaEF76M-zdvsNmsYAO5SOPwKVTemz0eG",alt:null}))),Object(o.b)("p",null,"Ch\xfa \xfd \u1edf \u0111\xe2y {{api.cunghoangdao.data.result}} ch\xednh l\xe0 k\u1ebft qu\u1ea3 \u1edf block cunghoangdao tr\u1ea3 v\u1ec1."),Object(o.b)("h3",{id:"test-v\xe0-xem-k\u1ebft-qu\u1ea3"},"Test v\xe0 xem k\u1ebft qu\u1ea3"),Object(o.b)("p",null,Object(o.b)("img",Object(c.a)({parentName:"p"},{src:"https://lh5.googleusercontent.com/Ogp8_1Qlgvb_LhqwgkjQU5ist-R_0oHVq0Io_tlOd3MSxEwke4EFAlvZQ1SkhqWcOYrl6UrBgNJBAqaaTnEvIe3gpbc35hpCKbc2m6HnaShzvmiwLC3RxOiui-d_LyFXaFG1yRGW",alt:null}))),Object(o.b)("h2",{id:"2-b\xf3i-theo-tu\u1ed5i-12-con-gi\xe1p"},"2. B\xf3i theo tu\u1ed5i 12 con gi\xe1p"),Object(o.b)("p",null,"Demo: ",Object(o.b)("a",Object(c.a)({parentName:"p"},{href:"https://m.me/ahachatter?ref=boi12congiap"}),"https://m.me/ahachatter?ref=boi12congiap")),Object(o.b)("p",null,"Copy k\u1ecbch b\u1ea3n: ",Object(o.b)("a",Object(c.a)({parentName:"p"},{href:"https://app.ahachat.com/share-story-to-bot/25271e8b7b7e8005629af7802ccafc787T0IhSvhM11420609"}),"https://app.ahachat.com/share-story-to-bot/25271e8b7b7e8005629af7802ccafc787T0IhSvhM11420609")),Object(o.b)("p",null,"Ch\u1ec9 c\u1ea7n nh\u1eadp ng\xe0y sinh, chatbot c\u1ee7a AhaChat s\u1ebd g\u1eedi b\u1ea1n qu\u1ebb b\xf3i \u0111\u1ea7y \u0111\u1ee7 v\u1ec1 t\u1eed vi 12 con gi\xe1p c\u1ee7a m\xecnh trong h\xf4m nay ;)"),Object(o.b)("p",null,"Sau khi copy n\xf3 s\u1ebd g\u1ed3m 2 block nh\u01b0 th\u1ebf n\xe0y:"),Object(o.b)("p",null,Object(o.b)("img",Object(c.a)({parentName:"p"},{src:"https://lh3.googleusercontent.com/6ZwccQ6L5CkQqH76rjMlICdcUJ-NgrAtx7RYnlnRqpgup8STPognEBPrt6Fe5Am8uUxAUlbMKs7L4P7Q-sJwraVrEa6phEkPEnpOWNVdhRamOUrKnCdTLJLQ4yJ9f5v43DaHYQFD",alt:null}))),Object(o.b)("h3",{id:"s\u1eeda-n\u1ed9i-dung-c\xe1c-block-1"},"S\u1eeda n\u1ed9i dung c\xe1c block"),Object(o.b)("p",null,"(Block ket_qua)"),Object(o.b)("p",null,Object(o.b)("img",Object(c.a)({parentName:"p"},{src:"https://lh3.googleusercontent.com/Fzgv1OutSuUY74lqi_iogywu1oECssVYGcwcq8TyE2SQjsAGNkYItixYluxQpGAI2PrJlrmTWM1WRL4E0dwVYJZ0p_BnT57nE0o0rjm8eUPKflWkWo8KZjk1dYRdJzlXNxVDxmLi",alt:null}))),Object(o.b)("p",null,"Ch\xfa \xfd s\u1eed d\u1ee5ng ph\u01b0\u01a1ng th\u1ee9c POST."),Object(o.b)("h3",{id:"test-v\xe0-xem-k\u1ebft-qu\u1ea3-1"},"Test v\xe0 xem k\u1ebft qu\u1ea3"),Object(o.b)("p",null,Object(o.b)("img",Object(c.a)({parentName:"p"},{src:"https://lh5.googleusercontent.com/kWapN6GkRtooBQMS2LMywyIgRs-diq3RdBTwkiJbglDaFv0qy3IFu_P1JdBTYMJdmTNv1NdnAMcZNJ4ZC3so2UlJY3mwm7elXG_QjIFWmS_Mf8HlxgpWwrpnnG8bbyos-2JFNoUy",alt:null}))))}h.isMDXComponent=!0},456:function(t,e,n){"use strict";n.d(e,"a",(function(){return u})),n.d(e,"b",(function(){return s}));var c=n(0),a=n.n(c);function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);e&&(c=c.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,c)}return n}function b(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r(Object(n),!0).forEach((function(e){o(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function l(t,e){if(null==t)return{};var n,c,a=function(t,e){if(null==t)return{};var n,c,a={},o=Object.keys(t);for(c=0;c<o.length;c++)n=o[c],e.indexOf(n)>=0||(a[n]=t[n]);return a}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(c=0;c<o.length;c++)n=o[c],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(a[n]=t[n])}return a}var i=a.a.createContext({}),h=function(t){var e=a.a.useContext(i),n=e;return t&&(n="function"==typeof t?t(e):b(b({},e),t)),n},u=function(t){var e=h(t.components);return a.a.createElement(i.Provider,{value:e},t.children)},p={inlineCode:"code",wrapper:function(t){var e=t.children;return a.a.createElement(a.a.Fragment,{},e)}},g=a.a.forwardRef((function(t,e){var n=t.components,c=t.mdxType,o=t.originalType,r=t.parentName,i=l(t,["components","mdxType","originalType","parentName"]),u=h(n),g=c,s=u["".concat(r,".").concat(g)]||u[g]||p[g]||o;return n?a.a.createElement(s,b(b({ref:e},i),{},{components:n})):a.a.createElement(s,b({ref:e},i))}));function s(t,e){var n=arguments,c=e&&e.mdxType;if("string"==typeof t||c){var o=n.length,r=new Array(o);r[0]=g;var b={};for(var l in e)hasOwnProperty.call(e,l)&&(b[l]=e[l]);b.originalType=t,b.mdxType="string"==typeof t?t:c,r[1]=b;for(var i=2;i<o;i++)r[i]=n[i];return a.a.createElement.apply(null,r)}return a.a.createElement.apply(null,n)}g.displayName="MDXCreateElement"}}]);