const e={data:{edges:[{id:"edge-2",selected:!1,source:"8-2",sourceHandle:"right",target:"8-3",targetHandle:"left"},{id:"edge-4",selected:!1,source:"8-1",sourceHandle:"right",target:"8-5",targetHandle:"left"},{className:"edge",id:"edge-5",selected:!1,source:"8-5",sourceHandle:"8-5-1",target:"8-2",targetHandle:"left"},{className:"edge",id:"edge-6",selected:!1,source:"8-5",sourceHandle:"8-5-2",target:"8-4",targetHandle:"left"},{id:"edge-7",selected:!1,source:"8-2",sourceHandle:"right",target:"8-6",targetHandle:"left"}],nodes:[{connectable:!0,data:[],dragging:!1,height:70,id:"8-1",position:{x:63.91875219208822,y:157.26207266517065},positionAbsolute:{x:63.91875219208822,y:157.26207266517065},selected:!1,sourcePosition:"right",targetPosition:"left",type:"trigger",width:240},{connectable:!0,data:[],dragging:!1,height:75,id:"8-2",position:{x:810,y:152.5},positionAbsolute:{x:834.3158266109294,y:77.80666199021178},selected:!1,sourcePosition:"right",targetPosition:"left",type:"router",width:75},{connectable:!0,data:[],dragging:!1,height:70,id:"8-3",position:{x:1025,y:85},positionAbsolute:{x:1088.2883327487766,y:77.11667251223525},selected:!1,sourcePosition:"right",targetPosition:"left",type:"action",width:240},{connectable:!0,data:[],dragging:!1,height:70,id:"8-4",position:{x:810,y:365},positionAbsolute:{x:1070.6579133054647,y:250.52167777324698},selected:!1,sourcePosition:"right",targetPosition:"left",type:"action",width:240},{connectable:!0,data:[],dragging:!1,height:211,id:"8-5",position:{x:430,y:154.5},positionAbsolute:{x:497,y:107.5},selected:!1,sourcePosition:"right",targetPosition:"left",type:"condition",width:240},{connectable:!0,data:[],dragging:!1,height:70,id:"8-6",position:{x:1025,y:225},positionAbsolute:{x:1060.4508283645998,y:102.9829045371118},selected:!1,sourcePosition:"right",targetPosition:"left",type:"action",width:240},{connectable:!0,data:{color:"purple",text:`## Form Submission

Starts the flow when a visitor submits the contact form successfully.`},dragging:!1,height:150,id:"8-7",position:{x:65.19706228008664,y:-31.437155643226177},positionAbsolute:{x:65.19706228008664,y:-31.437155643226177},resizing:!1,selected:!1,sourcePosition:"right",style:{height:150,width:236},targetPosition:"left",type:"stickyNote",width:236,zIndex:-1},{connectable:!0,data:{color:"blue",text:`## Department Filter

Checks the dropdown value and sends the submission to the correct path, such as Sales or Support.`},dragging:!1,height:157,id:"8-8",position:{x:428.01253608718633,y:-35.148822894449715},positionAbsolute:{x:428.01253608718633,y:-35.148822894449715},resizing:!1,selected:!1,sourcePosition:"right",style:{height:157,width:244},targetPosition:"left",type:"stickyNote",width:244,zIndex:-1},{connectable:!0,data:{color:"red",text:`## Sales Actions

Splits the Sales path so the lead can be saved in Google Sheets and sent to the team by Telegram.`},dragging:!1,height:150,id:"8-9",position:{x:1033.9422148494273,y:-104.74258385489087},positionAbsolute:{x:1033.9422148494273,y:-104.74258385489087},selected:!1,sourcePosition:"right",style:{height:150,width:220},targetPosition:"left",type:"stickyNote",width:220,zIndex:-1},{connectable:!0,data:{color:"yellow",text:`## Notify Support Team

Sends a Telegram alert when the contact form submission is related to support.`},dragging:!1,height:130,id:"8-10",position:{x:809.8634345986098,y:465.9262560207265},positionAbsolute:{x:841.8634345986098,y:465.9262560207265},resizing:!1,selected:!1,sourcePosition:"right",style:{height:130,width:252},targetPosition:"left",type:"stickyNote",width:252,zIndex:-1}],viewport:{x:0,y:0,zoom:1}},map:{id:"8-1",next:{conditionIds:["8-5-0","8-5-1","8-5-2"],id:"8-5",next:[{id:"8-5-0",next:null,previous:"8-5",type:"default-condition-logic"},{id:"8-5-1",next:{id:"8-2",next:[{id:"8-3",previous:"8-2",type:"action"},{id:"8-6",previous:"8-2",type:"action"}],previous:"8-5-1",type:"router"},previous:"8-5",type:"condition-logic"},{id:"8-5-2",next:{id:"8-4",previous:"8-5-2",type:"action"},previous:"8-5",type:"condition-logic"}],previous:"8-1",type:"condition"},previous:null,type:"trigger"},nodes:[{app_slug:"bitForm",data:{db:{formId:"1"}},field_mapping:{configs:{"form-id":{value:"1"},"hook-listener":{value:""}},data:[],repeaters:[]},machine_slug:"submitSuccess",node_id:"8-1",variables:[{key:"form_id",type:"string",value:"1"},{key:"entry_id",type:"integer",value:4},{key:"form_data",type:"collection",value:[{key:"b1-2",type:"collection",value:[{key:"first_name",type:"string",value:"Arif"},{key:"last_name",type:"string",value:"Hasnat"}]},{key:"b1-6",type:"string",value:"arif.bitcode@gmail.com"},{key:"b1-8",type:"array",value:[{key:0,type:"string",value:"Support"}]},{key:"b1-9",type:"string",value:"need support"}]},{key:"files",type:"collection",value:[]}]},{app_slug:"googleSheet",data:{db:{connectionId:7,rowData:[[{name:"column",value:"A"},{name:"value",value:[{dType:"string",label:"date",mixInputId:"brave-meteors-tap",slug:"date",type:"common-variable"}]}],[{name:"column",value:"B"},{name:"value",value:[{dType:"string",label:"1. first_name",mixInputId:"icy-sails-lie",nodeId:"8-1",path:"form_data.b1-2.first_name",type:"variable"},{type:"string",value:" "},{dType:"string",label:"1. last_name",mixInputId:"funny-points-return",nodeId:"8-1",path:"form_data.b1-2.last_name",type:"variable"}]}],[{name:"column",value:"C"},{name:"value",value:[{dType:"string",label:"1. b1-6",mixInputId:"hot-sloths-wonder",nodeId:"8-1",path:"form_data.b1-6",type:"variable"}]}],[{name:"column",value:"D"},{name:"value",value:[{dType:"string",label:"1. 0",mixInputId:"tough-baboons-bow",nodeId:"8-1",path:"form_data.b1-8.0",type:"variable"}]}],[{name:"column",value:"E"},{name:"value",value:[{dType:"string",label:"1. b1-9",mixInputId:"bright-eggs-visit",nodeId:"8-1",path:"form_data.b1-9",type:"variable"}]}]],sheetTitle:"Sheet1",spreadsheetId:"1iGt_RH6M4cRgHZiblNFzQ19ziX0PJWe6ufHcyYQTqhE"}},field_mapping:{configs:{"connection-id":{value:7},"insert-data-option":{value:"INSERT_ROWS"},"sheet-title":{value:"Sheet1"},"spreadsheet-id":{value:"1iGt_RH6M4cRgHZiblNFzQ19ziX0PJWe6ufHcyYQTqhE"},"value-input-option":{value:"USER_ENTERED"}},data:[{value:""}],repeaters:{"row-data":{path:"rowData",value:[[{key:"column",value:"A"},{key:"value",value:[{dType:"string",label:"date",mixInputId:"brave-meteors-tap",slug:"date",type:"common-variable"}]}],[{key:"column",value:"B"},{key:"value",value:[{dType:"string",label:"1. first_name",mixInputId:"icy-sails-lie",nodeId:"8-1",path:"form_data.b1-2.first_name",type:"variable"},{type:"string",value:" "},{dType:"string",label:"1. last_name",mixInputId:"funny-points-return",nodeId:"8-1",path:"form_data.b1-2.last_name",type:"variable"}]}],[{key:"column",value:"C"},{key:"value",value:[{dType:"string",label:"1. b1-6",mixInputId:"hot-sloths-wonder",nodeId:"8-1",path:"form_data.b1-6",type:"variable"}]}],[{key:"column",value:"D"},{key:"value",value:[{dType:"string",label:"1. 0",mixInputId:"tough-baboons-bow",nodeId:"8-1",path:"form_data.b1-8.0",type:"variable"}]}],[{key:"column",value:"E"},{key:"value",value:[{dType:"string",label:"1. b1-9",mixInputId:"bright-eggs-visit",nodeId:"8-1",path:"form_data.b1-9",type:"variable"}]}]]}}},machine_slug:"addRow",node_id:"8-3",variables:[{key:"spreadsheetId",type:"string",value:"1iGt_RH6M4cRgHZiblNFzQ19ziX0PJWe6ufHcyYQTqhE"},{key:"updates",type:"collection",value:[{key:"spreadsheetId",type:"string",value:"1iGt_RH6M4cRgHZiblNFzQ19ziX0PJWe6ufHcyYQTqhE"},{key:"updatedRange",type:"string",value:"Sheet1!A2:E2"},{key:"updatedRows",type:"integer",value:1},{key:"updatedColumns",type:"integer",value:5},{key:"updatedCells",type:"integer",value:5}]}]},{app_slug:"telegram",data:{db:{connection:1,text:[{type:"string",value:"Name:  "},{dType:"string",label:"1. first_name",mixInputId:"clear-forks-ring",nodeId:"8-1",path:"form_data.b1-2.first_name",type:"variable"},{type:"string",value:" "},{type:"string",value:`
`},{type:"string",value:"Email: "},{dType:"string",label:"1. b1-6",mixInputId:"ready-cooks-tease",nodeId:"8-1",path:"form_data.b1-6",type:"variable"},{type:"string",value:`
`},{type:"string",value:"Type: "},{dType:"string",label:"1. 0",mixInputId:"icy-zoos-go",nodeId:"8-1",path:"form_data.b1-8.0",type:"variable"},{type:"string",value:`
`},{type:"string",value:"Message: "},{dType:"string",label:"1. b1-9",mixInputId:"every-results-teach",nodeId:"8-1",path:"form_data.b1-9",type:"variable"}]}},field_mapping:{configs:{"connection-id":{value:1},"message-reply":{path:"advance-feature",value:"false"}},data:[{path:"chat_id",value:[]},{path:"text",value:[{type:"string",value:"Name:  "},{dType:"string",label:"1. first_name",mixInputId:"clear-forks-ring",nodeId:"8-1",path:"form_data.b1-2.first_name",type:"variable"},{type:"string",value:" "},{type:"string",value:`
`},{type:"string",value:"Email: "},{dType:"string",label:"1. b1-6",mixInputId:"ready-cooks-tease",nodeId:"8-1",path:"form_data.b1-6",type:"variable"},{type:"string",value:`
`},{type:"string",value:"Type: "},{dType:"string",label:"1. 0",mixInputId:"icy-zoos-go",nodeId:"8-1",path:"form_data.b1-8.0",type:"variable"},{type:"string",value:`
`},{type:"string",value:"Message: "},{dType:"string",label:"1. b1-9",mixInputId:"every-results-teach",nodeId:"8-1",path:"form_data.b1-9",type:"variable"}]},{path:"message_thread_id",value:[]},{path:"parse_mode",value:"HTML"},{path:"disable_notification",value:"true"},{path:"disable_web_page_preview",value:"true"},{path:"protect_content",value:"false"},{path:"reply_to_message_id",value:[]}],repeaters:{"reply-markup":{path:"data",value:[]}}},machine_slug:"sendOrReplyMessage",node_id:"8-4",variables:[{key:"ok",type:"boolean",value:!1},{key:"error_code",type:"integer",value:400},{key:"description",type:"string",value:"Bad Request: chat_id is empty"}]},{app_slug:"tools",data:{conditions:[{id:"8-5-0",title:"Default Condition",type:"default-condition-logic"},{condition:[{id:"5268a21d-3dbd-4a0c-b2c8-6285fb512779",leftExp:[{dType:"string",label:"1. 0",mixInputId:"late-papayas-cut",nodeId:"8-1",path:"form_data.b1-8.0",type:"variable"}],operator:"text:equal",rightExp:[{type:"string",value:"Sales"}],type:"logic"}],id:"8-5-1",title:"Sales Condition",type:"condition-logic"},{condition:[{id:"5268a21d-3dbd-4a0c-b2c8-6285fb512779",leftExp:[{dType:"string",label:"1. 0",mixInputId:"chilly-singers-fall",nodeId:"8-1",path:"form_data.b1-8.0",type:"variable"}],operator:"text:equal",rightExp:[{type:"string",value:"Support"}],type:"logic"}],id:"8-5-2",title:"Support Condition",type:"condition-logic"}]},field_mapping:null,machine_slug:"condition",node_id:"8-5",variables:null},{app_slug:"telegram",data:{db:{connection:1,text:[{type:"string",value:"Name: "},{dType:"string",label:"1. first_name",mixInputId:"humble-lizards-crash",nodeId:"8-1",path:"form_data.b1-2.first_name",type:"variable"},{type:"string",value:" "},{dType:"string",label:"1. last_name",mixInputId:"tall-forks-ask",nodeId:"8-1",path:"form_data.b1-2.last_name",type:"variable"},{type:"string",value:`
`},{type:"string",value:"Email: "},{dType:"string",label:"1. b1-6",mixInputId:"silver-pets-repair",nodeId:"8-1",path:"form_data.b1-6",type:"variable"},{type:"string",value:`
`},{type:"string",value:"Type: "},{dType:"string",label:"1. 0",mixInputId:"rich-candles-double",nodeId:"8-1",path:"form_data.b1-8.0",type:"variable"},{type:"string",value:`
`},{type:"string",value:"Message: "},{dType:"string",label:"1. b1-9",mixInputId:"wide-geese-jump",nodeId:"8-1",path:"form_data.b1-9",type:"variable"}]}},field_mapping:{configs:{"connection-id":{value:1},"message-reply":{path:"advance-feature",value:"false"}},data:[{path:"chat_id",value:[]},{path:"text",value:[{type:"string",value:"Name: "},{dType:"string",label:"1. first_name",mixInputId:"humble-lizards-crash",nodeId:"8-1",path:"form_data.b1-2.first_name",type:"variable"},{type:"string",value:" "},{dType:"string",label:"1. last_name",mixInputId:"tall-forks-ask",nodeId:"8-1",path:"form_data.b1-2.last_name",type:"variable"},{type:"string",value:`
`},{type:"string",value:"Email: "},{dType:"string",label:"1. b1-6",mixInputId:"silver-pets-repair",nodeId:"8-1",path:"form_data.b1-6",type:"variable"},{type:"string",value:`
`},{type:"string",value:"Type: "},{dType:"string",label:"1. 0",mixInputId:"rich-candles-double",nodeId:"8-1",path:"form_data.b1-8.0",type:"variable"},{type:"string",value:`
`},{type:"string",value:"Message: "},{dType:"string",label:"1. b1-9",mixInputId:"wide-geese-jump",nodeId:"8-1",path:"form_data.b1-9",type:"variable"}]},{path:"message_thread_id",value:[]},{path:"parse_mode",value:"HTML"},{path:"disable_notification",value:"true"},{path:"disable_web_page_preview",value:"true"},{path:"protect_content",value:"false"},{path:"reply_to_message_id",value:[]}],repeaters:{"reply-markup":{path:"data",value:[]}}},machine_slug:"sendOrReplyMessage",node_id:"8-6",variables:null}]};export{e as default};
