"use strict";(self.webpackChunknewoaks_help=self.webpackChunknewoaks_help||[]).push([[4259],{1483:(e,n,i)=>{i.r(n),i.d(n,{assets:()=>r,contentTitle:()=>d,default:()=>p,frontMatter:()=>c,metadata:()=>t,toc:()=>l});const t=JSON.parse('{"id":"ghl-lead-integration","title":"GoHighLevel Lead Integration","description":"1. Automation","source":"@site/Integration/006.ghl-lead-integration.md","sourceDirName":".","slug":"/ghl-lead-integration","permalink":"/guides/integration/ghl-lead-integration","draft":false,"unlisted":false,"tags":[],"version":"current","sidebarPosition":6,"frontMatter":{"sidebar_position":6},"sidebar":"sidebar","next":{"title":"GoHighLevel Chat Integration","permalink":"/guides/integration/ghl-chat-integration"}}');var s=i(4848),o=i(8453),a=(i(9357),i(8175));const c={sidebar_position:6},d="GoHighLevel Lead Integration",r={},l=[{value:"1. Automation",id:"1-automation",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. Inbound Webhook",id:"4-inbound-webhook",level:2},{value:"5. Webhooks API",id:"5-webhooks-api",level:2},{value:"6. Verify Webhook",id:"6-verify-webhook",level:2},{value:"7. Fetch Sample Requests",id:"7-fetch-sample-requests",level:2},{value:"8. Save Trigger",id:"8-save-trigger",level:2},{value:"9. Create Contact",id:"9-create-contact",level:2},{value:"10. Send Email",id:"10-send-email",level:2},{value:"11. Save",id:"11-save",level:2}];function h(e){const n={br:"br",code:"code",h1:"h1",h2:"h2",header:"header",img:"img",li:"li",ol:"ol",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-lead-integration",children:"GoHighLevel Lead Integration"})}),"\n",(0,s.jsx)(n.h2,{id:"1-automation",children:"1. Automation"}),"\n",(0,s.jsx)(n.p,{children:"Open GoHighLevel website in your browser and login with your account credentials, on the left panel, click \u201cAutomation\u201d Tab."}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.img,{src:i(387).A+"",width:"1465",height:"669"})}),"\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(3528).A+"",width:"1402",height:"632"})}),"\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(3473).A+"",width:"1637",height:"855"})}),"\n",(0,s.jsx)(n.h2,{id:"4-inbound-webhook",children:"4. Inbound Webhook"}),"\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(7358).A+"",width:"1021",height:"690"})}),"\n",(0,s.jsx)(n.h2,{id:"5-webhooks-api",children:"5. Webhooks API"}),"\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 Workspace Management panel, click \u201cWebhooks API\u201d button"]}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.img,{src:i(8695).A+"",width:"1338",height:"536"})}),"\n",(0,s.jsxs)(n.ol,{children:["\n",(0,s.jsxs)(n.li,{children:["Paste Url that copied from GoHighLevel to ",(0,s.jsx)(a.A,{})," \u201cWebhook URL\u201d textbox"]}),"\n"]}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.img,{src:i(220).A+"",width:"1336",height:"573"})}),"\n",(0,s.jsx)(n.h2,{id:"6-verify-webhook",children:"6. 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(3109).A+"",width:"1383",height:"685"})}),"\n",(0,s.jsx)(n.h2,{id:"7-fetch-sample-requests",children:"7. 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(1106).A+"",width:"1067",height:"743"})}),"\n",(0,s.jsx)(n.h2,{id:"8-save-trigger",children:"8. 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 "Save Trigger"']}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.img,{src:i(6459).A+"",width:"1130",height:"712"})}),"\n",(0,s.jsx)(n.h2,{id:"9-create-contact",children:"9. Create Contact"}),"\n",(0,s.jsxs)(n.p,{children:['Click "+" on the workflow builder to add an action, choose "Create Contact"',(0,s.jsx)(n.br,{}),"\n",'Click "Add field" button, choose Fields "Email", 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(6971).A+"",width:"1176",height:"519"})}),"\n",(0,s.jsx)(n.h2,{id:"10-send-email",children:"10. Send Email"}),"\n",(0,s.jsxs)(n.ol,{children:["\n",(0,s.jsx)(n.li,{children:"Click \u201c+\u201d on the workflow builder panel to add an action, Find \u201cSend Email\u201d action and click \u201cSend Email\u201d"}),"\n"]}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.img,{src:i(5842).A+"",width:"1169",height:"716"})}),"\n",(0,s.jsxs)(n.ol,{start:"2",children:["\n",(0,s.jsx)(n.li,{children:"In the Send Email window, Put any text on \u201cSubject\u201d textbox"}),"\n"]}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.img,{src:i(4025).A+"",width:"1224",height:"696"})}),"\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(8307).A+"",width:"1200",height:"692"})}),"\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(1448).A+"",width:"1227",height:"708"})}),"\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(7694).A+"",width:"1158",height:"697"})}),"\n",(0,s.jsx)(n.h2,{id:"11-save",children:"11. 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(7120).A+"",width:"1345",height:"599"})})]})}function p(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})},387:(e,n,i)=>{i.d(n,{A:()=>t});const t=i.p+"assets/images/step1-6de3a592c2bb0a80db33fee779ac8a4f.png"},6971:(e,n,i)=>{i.d(n,{A:()=>t});const t=i.p+"assets/images/step10-5834b76e37a4d60bd1b6b93259078c53.png"},5842:(e,n,i)=>{i.d(n,{A:()=>t});const t=i.p+"assets/images/step11-149c831e063f521899967c95a0a7f3c3.png"},8307:(e,n,i)=>{i.d(n,{A:()=>t});const t=i.p+"assets/images/step12-1-a18ad54a33feb02d84d7c3151e222a7e.png"},1448:(e,n,i)=>{i.d(n,{A:()=>t});const t=i.p+"assets/images/step12-2-4ae3b87d6c7eb425141f46cf081a13c0.png"},7694:(e,n,i)=>{i.d(n,{A:()=>t});const t=i.p+"assets/images/step12-3-8f0374d51c74d4773deddf7fec8232fe.png"},4025:(e,n,i)=>{i.d(n,{A:()=>t});const t=i.p+"assets/images/step12-8c2f9abfd9e8ca2fe69ee4b25164e32e.png"},7120:(e,n,i)=>{i.d(n,{A:()=>t});const t=i.p+"assets/images/step13-9e2c47fdf159076353a502547e390378.png"},3528:(e,n,i)=>{i.d(n,{A:()=>t});const t=i.p+"assets/images/step2-b99dcf58f75a5353ba171ff7c2903ab9.png"},3473:(e,n,i)=>{i.d(n,{A:()=>t});const t=i.p+"assets/images/step3-77190c91787eab8c1d2d00eb1fb51707.png"},7358:(e,n,i)=>{i.d(n,{A:()=>t});const t=i.p+"assets/images/step4-ca3822522d23c9d0c00fb45134d11cd9.png"},8695:(e,n,i)=>{i.d(n,{A:()=>t});const t=i.p+"assets/images/step5-039048f0af72a6904c7d916800695334.png"},220:(e,n,i)=>{i.d(n,{A:()=>t});const t=i.p+"assets/images/step6-a3a6b117594ba0e7cffb621f62fe38aa.png"},3109:(e,n,i)=>{i.d(n,{A:()=>t});const t=i.p+"assets/images/step7-d89d185bdaf0858cef1dc7f47c860994.png"},1106:(e,n,i)=>{i.d(n,{A:()=>t});const t=i.p+"assets/images/step8-79c7933a96e2039d7cd991acdca453b3.png"},6459:(e,n,i)=>{i.d(n,{A:()=>t});const t=i.p+"assets/images/step9-be424a8c41270870d261e801984a5c4e.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)}}}]);