"use strict";(self.webpackChunknewoaks_help=self.webpackChunknewoaks_help||[]).push([[3817],{4500:(e,n,i)=>{i.r(n),i.d(n,{assets:()=>r,contentTitle:()=>d,default:()=>g,frontMatter:()=>c,metadata:()=>t,toc:()=>l});const t=JSON.parse('{"id":"ghl-chat-integration","title":"GoHighLevel Chat Integration","description":"GoHighLevel Chat Message Webhook Integration with","source":"@site/Integration/007.ghl-chat-integration.md","sourceDirName":".","slug":"/ghl-chat-integration","permalink":"/guides/integration/ghl-chat-integration","draft":false,"unlisted":false,"tags":[],"version":"current","sidebarPosition":7,"frontMatter":{"sidebar_position":7},"sidebar":"sidebar","previous":{"title":"GoHighLevel Lead Integration","permalink":"/guides/integration/ghl-lead-integration"},"next":{"title":"Stripe Integration","permalink":"/guides/integration/stripe-active-pieces-integration"}}');var s=i(4848),o=i(8453),a=(i(9357),i(8175));const c={sidebar_position:7},d="GoHighLevel Chat Integration",r={},l=[{value:"1. Open GoHighLevel website",id:"1-open-gohighlevel-website",level:2},{value:"2. Create Workflow",id:"2-create-workflow",level:2},{value:"3. Add New Trigger",id:"3-add-new-trigger",level:2},{value:"4. \u201cInbound Webhook\u201d",id:"4-inbound-webhook",level:2},{value:"5. \u201cWebhooks API\u201d",id:"5-webhooks-api",level:2},{value:"6. Paste",id:"6-paste",level:2},{value:"7. Verify Webhook",id:"7-verify-webhook",level:2},{value:"8. Fetch Sample Requests",id:"8-fetch-sample-requests",level:2},{value:"9. Save Trigger",id:"9-save-trigger",level:2},{value:"10. Create Contact",id:"10-create-contact",level:2},{value:"11. Send Email",id:"11-send-email",level:2},{value:"12. Save",id:"12-save",level:2}];function h(e){const n={br:"br",code:"code",h1:"h1",h2:"h2",header:"header",img:"img",li:"li",p:"p",ul:"ul",...(0,o.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.header,{children:(0,s.jsx)(n.h1,{id:"gohighlevel-chat-integration",children:"GoHighLevel Chat Integration"})}),"\n",(0,s.jsxs)(n.p,{children:["GoHighLevel Chat Message Webhook Integration with ",(0,s.jsx)(a.A,{})]}),"\n",(0,s.jsx)(n.h2,{id:"1-open-gohighlevel-website",children:"1. Open GoHighLevel website"}),"\n",(0,s.jsx)(n.p,{children:"Open GoHighLevel website in your browser and login with your account credentials,"}),"\n",(0,s.jsx)(n.h2,{id:"2-create-workflow",children:"2. Create Workflow"}),"\n",(0,s.jsx)(n.p,{children:"On Workflows page, click \u201cCreate Workflow\u201d button, then choose \u201cStart from Scratch\u201d option"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.img,{src:i(6829).A+"",width:"975",height:"439"})}),"\n",(0,s.jsx)(n.h2,{id:"3-add-new-trigger",children:"3. Add New Trigger"}),"\n",(0,s.jsx)(n.p,{children:"On the new workflow window, click \u201cAdd New Trigger\u201d, find \u201cInbound Webhook\u201d event from Events list"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.img,{src:i(9348).A+"",width:"975",height:"509"})}),"\n",(0,s.jsx)(n.h2,{id:"4-inbound-webhook",children:"4. \u201cInbound Webhook\u201d"}),"\n",(0,s.jsx)(n.p,{children:"Click \u201cInbound Webhook\u201d and from Url section and copy Url showing as below screenshot"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.img,{src:i(1339).A+"",width:"975",height:"659"})}),"\n",(0,s.jsx)(n.h2,{id:"5-webhooks-api",children:"5. \u201cWebhooks API\u201d"}),"\n",(0,s.jsxs)(n.p,{children:["Open ",(0,s.jsx)(a.A,{})," website in another browser tab, login your account and select \u201cWorkspace\u201d section, On left Workspace Management panel, click \u201cWebhooks API\u201d button, find \u201cChat Message Webhook\u201d showing as below screenshot"]}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.img,{src:i(7682).A+"",width:"975",height:"570"})}),"\n",(0,s.jsx)(n.h2,{id:"6-paste",children:"6. Paste"}),"\n",(0,s.jsxs)(n.p,{children:["Paste Url that copied from GoHighLevel to ",(0,s.jsx)(a.A,{})," \u201cWebhook URL\u201d textbox in \u201cChat Message Webhook\u201d section"]}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.img,{src:i(1689).A+"",width:"974",height:"639"})}),"\n",(0,s.jsx)(n.h2,{id:"7-verify-webhook",children:"7. Verify Webhook"}),"\n",(0,s.jsx)(n.p,{children:"click \u201cVerify Webhook Success\u201d button, it will display \u201cURL verification successful!\u201d text, then click \u201cSave\u201d button"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.img,{src:i(5936).A+"",width:"974",height:"466"})}),"\n",(0,s.jsx)(n.h2,{id:"8-fetch-sample-requests",children:"8. Fetch Sample Requests"}),"\n",(0,s.jsxs)(n.p,{children:["Go back to GoHighLevel website, click \u201cFetch Sample Requests\u201d button to get ",(0,s.jsx)(a.A,{})," lead information"]}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.img,{src:i(9767).A+"",width:"974",height:"700"})}),"\n",(0,s.jsx)(n.h2,{id:"9-save-trigger",children:"9. Save Trigger"}),"\n",(0,s.jsxs)(n.p,{children:["It might take couple of seconds to fetch leads information from ",(0,s.jsx)(a.A,{}),", choose any lead from Mapping reference, the details of lead will show up in below section, then click \u201cSave Trigger\u201d"]}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.img,{src:i(6126).A+"",width:"974",height:"606"})}),"\n",(0,s.jsx)(n.h2,{id:"10-create-contact",children:"10. Create Contact"}),"\n",(0,s.jsxs)(n.p,{children:["Click \u201c+\u201d on the workflow builder to add an action, choose \u201cCreate Contact\u201d",(0,s.jsx)(n.br,{}),"\n","Click \u201cAdd field\u201d button, choose Fields \u201cEmail\u201d, and click the little icon, in the popupwindow, choose ",(0,s.jsx)(n.code,{children:"{{inboundWebhookRequest.Email}}"})]}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.img,{src:i(8260).A+"",width:"975",height:"430"})}),"\n",(0,s.jsx)(n.h2,{id:"11-send-email",children:"11. Send Email"}),"\n",(0,s.jsx)(n.p,{children:"Click \u201c+\u201d on the workflow builder panel to add an action, Find \u201cSend Email\u201d action and click \u201cSend Email\u201d"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.img,{src:i(1293).A+"",width:"974",height:"575"})}),"\n",(0,s.jsx)(n.p,{children:"In the Send Email window, Put any text on \u201cSubject\u201d textbox"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.img,{src:i(7916).A+"",width:"974",height:"609"})}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:"In \u201cMessage\u201d section, click \u201cCustom Values\u201d Button showing below, a window is popped up, choose \u201cInbound Webhook Trigger\u201d"}),"\n"]}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.img,{src:i(8551).A+"",width:"975",height:"559"})}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:"On the next window, select \u201cContent\u201d"}),"\n"]}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.img,{src:i(9182).A+"",width:"974",height:"486"})}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:"Add your email as \u201cTest Emails\u201d, click \u201cSend Test Mail\u201d, you should get a test email."}),"\n",(0,s.jsx)(n.li,{children:"Click \u201cSave Action\u201d"}),"\n"]}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.img,{src:i(1649).A+"",width:"974",height:"563"})}),"\n",(0,s.jsx)(n.h2,{id:"12-save",children:"12. Save"}),"\n",(0,s.jsx)(n.p,{children:"Click \u201cSave\u201d Button on the top right corner to finish the workflow setup"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.img,{src:i(9103).A+"",width:"975",height:"540"})})]})}function g(e={}){const{wrapper:n}={...(0,o.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(h,{...e})}):h(e)}},8175:(e,n,i)=>{i.d(n,{A:()=>o});i(6540);var t=i(5872),s=i(4848);function o(){let e=(0,t.K)()();return["newoaks.ai","www.newoaks.ai","eu.newoaks.ai"].includes(e)&&(e="NewOaks AI"),"appointify.ai"===e&&(e="Appointify AI"),(0,s.jsx)("code",{children:e})}},9357:(e,n,i)=>{i.d(n,{A:()=>a});i(6540);var t=i(5872),s=i(5363),o=i(4848);function a(e){let{children:n}=e;return(0,o.jsx)(s.A,{children:()=>{const e=(0,t.K)()();if("function"==typeof n){const i=n(e);return(0,o.jsx)("div",{className:"markdown markdown--section",children:i})}return(0,o.jsx)("code",{children:e})}})}},5872:(e,n,i)=>{function t(){return function(){return"undefined"==typeof window?"":window.location.hostname}}i.d(n,{K:()=>t})},8260:(e,n,i)=>{i.d(n,{A:()=>t});const t=i.p+"assets/images/step10-a15a4e2929ab3f17d85c8fa1c0ee106e.png"},1293:(e,n,i)=>{i.d(n,{A:()=>t});const t=i.p+"assets/images/step11-5820dbcaa824b1acc698bdab60e4388d.png"},7916:(e,n,i)=>{i.d(n,{A:()=>t});const t=i.p+"assets/images/step12-1-8c97a3f45ad6b14d4de6f02d0c29b4ec.png"},8551:(e,n,i)=>{i.d(n,{A:()=>t});const t=i.p+"assets/images/step12-2-a4433d704bc97b1f51cebc8891690912.png"},9182:(e,n,i)=>{i.d(n,{A:()=>t});const t=i.p+"assets/images/step12-3-1af506496ed435807896e8838d68c947.png"},1649:(e,n,i)=>{i.d(n,{A:()=>t});const t=i.p+"assets/images/step12-4-37705e3fcc4fadd066aa03ee63e927eb.png"},9103:(e,n,i)=>{i.d(n,{A:()=>t});const t=i.p+"assets/images/step13-5f75f75c78aa535cac182fef05a2f1f5.png"},6829:(e,n,i)=>{i.d(n,{A:()=>t});const t=i.p+"assets/images/step2-c823e7789c04a3e35ff7752e8fbd7bf0.png"},9348:(e,n,i)=>{i.d(n,{A:()=>t});const t=i.p+"assets/images/step3-77efd89c0c41ecd3474a3709612947b7.png"},1339:(e,n,i)=>{i.d(n,{A:()=>t});const t=i.p+"assets/images/step4-abd5d1198616da1d0d03be8c0ed51cda.png"},7682:(e,n,i)=>{i.d(n,{A:()=>t});const t=i.p+"assets/images/step5-f7ddb00984d505ab56b4e2802fb776ed.png"},1689:(e,n,i)=>{i.d(n,{A:()=>t});const t=i.p+"assets/images/step6-194cfded424424d7bc21303b4e941c2a.png"},5936:(e,n,i)=>{i.d(n,{A:()=>t});const t=i.p+"assets/images/step7-adc467dd9b1649d3f8e5dc06a442dded.png"},9767:(e,n,i)=>{i.d(n,{A:()=>t});const t=i.p+"assets/images/step8-3965c73ef01f452d4e3a409da9ac490d.png"},6126:(e,n,i)=>{i.d(n,{A:()=>t});const t=i.p+"assets/images/step9-5be0e224f7f941c11b4b0b7674da91d8.png"},8453:(e,n,i)=>{i.d(n,{R:()=>a,x:()=>c});var t=i(6540);const s={},o=t.createContext(s);function a(e){const n=t.useContext(o);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:a(e.components),t.createElement(o.Provider,{value:n},e.children)}}}]);