const e={data:{edges:[{id:"edge-1",selected:!1,source:"9-1",sourceHandle:"right",target:"9-3",targetHandle:"left"},{id:"edge-4",selected:!1,source:"9-3",sourceHandle:"right",target:"9-5",targetHandle:"left"}],nodes:[{connectable:!0,data:[],dragging:!1,height:70,id:"9-1",position:{x:50,y:137.5},positionAbsolute:{x:117,y:110},selected:!1,sourcePosition:"right",targetPosition:"left",type:"trigger",width:240},{connectable:!0,data:[],dragging:!1,height:70,id:"9-3",position:{x:407.92467389450303,y:136.33814073128963},positionAbsolute:{x:407.92467389450303,y:136.33814073128963},selected:!1,sourcePosition:"right",targetPosition:"left",type:"action",width:240},{connectable:!0,data:[],dragging:!1,height:70,id:"9-5",position:{x:756.6985119027429,y:137.50000000000003},positionAbsolute:{x:756.6985119027429,y:137.50000000000003},selected:!0,sourcePosition:"right",targetPosition:"left",type:"action",width:240},{connectable:!0,data:{color:"blue",text:`## Leave Request Form

Starts the flow when an employee submits a leave request with name, email, leave type, dates, and reason.`},dragging:!1,height:150,id:"9-6",position:{x:49.71778598468143,y:-54.62346131014981},positionAbsolute:{x:49.71778598468143,y:-54.62346131014981},resizing:!1,selected:!1,sourcePosition:"right",style:{height:150,width:240},targetPosition:"left",type:"stickyNote",width:240,zIndex:-1},{connectable:!0,data:{color:"purple",text:`## HR Approval

Sends the leave request to HR or the manager and waits for an approve or decline response.`},dragging:!1,height:150,id:"9-7",position:{x:398.6746112407093,y:-56.94717984757056},positionAbsolute:{x:398.6746112407093,y:-56.94717984757056},resizing:!1,selected:!1,sourcePosition:"right",style:{height:150,width:252},targetPosition:"left",type:"stickyNote",width:252,zIndex:-1},{connectable:!0,data:{color:"red",text:`## Employee Result Email

Sends the final leave request result to the employee based on the approval decision.`},dragging:!1,height:143,id:"9-8",position:{x:752.0416881973716,y:-53.46160204143942},positionAbsolute:{x:752.0416881973716,y:-53.46160204143942},resizing:!1,selected:!1,sourcePosition:"right",style:{height:143,width:245},targetPosition:"left",type:"stickyNote",width:245,zIndex:-1}],viewport:{x:0,y:0,zoom:1}},map:{id:"9-1",next:{id:"9-3",next:{id:"9-5",previous:"9-3",type:"action"},previous:"9-1",type:"action"},previous:null,type:"trigger"},nodes:[{app_slug:"bitForm",data:{db:{formId:"2"}},field_mapping:{configs:{"form-id":{value:"2"},"hook-listener":{value:""}},data:[],repeaters:[]},machine_slug:"submitSuccess",node_id:"9-1",variables:[{key:"form_id",type:"string",value:"2"},{key:"entry_id",type:"integer",value:5},{key:"form_data",type:"collection",value:[{key:"b2-2",type:"collection",value:[{key:"first_name",type:"string",value:"Arif"},{key:"last_name",type:"string",value:"Hasnat"}]},{key:"b2-6",type:"string",value:"arifhasnatpial7@gmail.com"},{key:"b2-8",type:"array",value:[{key:0,type:"string",value:"Sick Leave"}]},{key:"b2-9",type:"string",value:"2026-06-05T14:54"},{key:"b2-10",type:"string",value:"2026-06-06T14:54"},{key:"b2-12",type:"string",value:"I am not feeling well today"}]},{key:"files",type:"collection",value:[]}]},{app_slug:"humanInTheLoopGmail",data:{db:{approvalType:"approveAndDisapprove",connectionId:8,fromEmail:[{type:"string",value:"hr@yourcompany.com"}],message:[{type:"string",value:"Hi,  "},{type:"string",value:`
`},{type:"string",value:"A new leave request has been submitted.  "},{type:"string",value:`
`},{type:"string",value:"Employee: "},{dType:"string",label:"1. first_name",mixInputId:"violet-clowns-search",nodeId:"9-1",path:"form_data.b2-2.first_name",type:"variable"},{type:"string",value:" "},{dType:"string",label:"1. last_name",mixInputId:"sour-vans-help",nodeId:"9-1",path:"form_data.b2-2.last_name",type:"variable"},{type:"string",value:`
`},{type:"string",value:"Leave type: "},{dType:"string",label:"1. 0",mixInputId:"vast-zebras-accept",nodeId:"9-1",path:"form_data.b2-8.0",type:"variable"},{type:"string",value:`
`},{type:"string",value:"Dates: "},{dType:"string",label:"1. b2-9",mixInputId:"floppy-colts-act",nodeId:"9-1",path:"form_data.b2-9",type:"variable"},{type:"string",value:" → "},{dType:"string",label:"1. b2-10",mixInputId:"fluffy-melons-sit",nodeId:"9-1",path:"form_data.b2-10",type:"variable"},{type:"string",value:`
`},{type:"string",value:"Reason: "},{dType:"string",label:"1. b2-12",mixInputId:"solid-chairs-fry",nodeId:"9-1",path:"form_data.b2-12",type:"variable"},{type:"string",value:`
`},{type:"string",value:"Please review and respond via the approval link below."}],subject:[{type:"string",value:"Leave request — "},{dType:"string",label:"1. first_name",mixInputId:"floppy-plants-repair",nodeId:"9-1",path:"form_data.b2-2.first_name",type:"variable"},{type:"string",value:" "},{dType:"string",label:"1. last_name",mixInputId:"wet-plums-hunt",nodeId:"9-1",path:"form_data.b2-2.last_name",type:"variable"}],timeoutAction:"stop",toEmail:[{type:"string",value:"manager@yourcompany.com"}]}},field_mapping:{configs:{"approval-type":{value:"approveAndDisapprove"},"approve-label":{value:[{type:"string",value:"Approve"}]},"approve-style":{value:"primary"},"connection-id":{value:8},"disapprove-label":{value:[{type:"string",value:"Decline"}]},"disapprove-style":{value:"secondary"},"limit-amount":{value:1},"limit-specific-time":{value:""},"limit-type":{value:"interval"},"limit-unit":{value:"hours"},"rejection-action":{value:"stop"},"timeout-action":{value:"stop"}},data:[{path:"fromEmail",value:[{type:"string",value:"hr@yourcompany.com"}]},{path:"toEmail",value:[{type:"string",value:"manager@yourcompany.com"}]},{path:"subject",value:[{type:"string",value:"Leave request — "},{dType:"string",label:"1. first_name",mixInputId:"floppy-plants-repair",nodeId:"9-1",path:"form_data.b2-2.first_name",type:"variable"},{type:"string",value:" "},{dType:"string",label:"1. last_name",mixInputId:"wet-plums-hunt",nodeId:"9-1",path:"form_data.b2-2.last_name",type:"variable"}]},{path:"message",value:[{type:"string",value:"Hi,  "},{type:"string",value:`
`},{type:"string",value:"A new leave request has been submitted.  "},{type:"string",value:`
`},{type:"string",value:"Employee: "},{dType:"string",label:"1. first_name",mixInputId:"violet-clowns-search",nodeId:"9-1",path:"form_data.b2-2.first_name",type:"variable"},{type:"string",value:" "},{dType:"string",label:"1. last_name",mixInputId:"sour-vans-help",nodeId:"9-1",path:"form_data.b2-2.last_name",type:"variable"},{type:"string",value:`
`},{type:"string",value:"Leave type: "},{dType:"string",label:"1. 0",mixInputId:"vast-zebras-accept",nodeId:"9-1",path:"form_data.b2-8.0",type:"variable"},{type:"string",value:`
`},{type:"string",value:"Dates: "},{dType:"string",label:"1. b2-9",mixInputId:"floppy-colts-act",nodeId:"9-1",path:"form_data.b2-9",type:"variable"},{type:"string",value:" → "},{dType:"string",label:"1. b2-10",mixInputId:"fluffy-melons-sit",nodeId:"9-1",path:"form_data.b2-10",type:"variable"},{type:"string",value:`
`},{type:"string",value:"Reason: "},{dType:"string",label:"1. b2-12",mixInputId:"solid-chairs-fry",nodeId:"9-1",path:"form_data.b2-12",type:"variable"},{type:"string",value:`
`},{type:"string",value:"Please review and respond via the approval link below."}]}],repeaters:[]},machine_slug:"sendAndWait",node_id:"9-3",variables:[{key:"status",type:"string",value:"waiting"}]},{app_slug:"gmail",data:{db:{bodyDb:[{type:"string",value:"Hi "},{dType:"string",label:"1. first_name",mixInputId:"old-dragons-jam",nodeId:"9-1",path:"form_data.b2-2.first_name",type:"variable"},{type:"string",value:" "},{dType:"string",label:"1. last_name",mixInputId:"three-rice-trade",nodeId:"9-1",path:"form_data.b2-2.last_name",type:"variable"},{type:"string",value:",  "},{type:"string",value:`
`},{type:"string",value:"Great news — your leave request has been approved.  "},{type:"string",value:`
`},{type:"string",value:"Leave type: "},{dType:"string",label:"1. 0",mixInputId:"sharp-oranges-crash",nodeId:"9-1",path:"form_data.b2-8.0",type:"variable"},{type:"string",value:" "},{type:"string",value:`
`},{type:"string",value:"Approved dates: "},{dType:"string",label:"1. b2-9",mixInputId:"sixty-apes-lose",nodeId:"9-1",path:"form_data.b2-9",type:"variable"},{type:"string",value:" to "},{dType:"string",label:"1. b2-10",mixInputId:"thick-bikes-vanish",nodeId:"9-1",path:"form_data.b2-10",type:"variable"},{type:"string",value:`
`},{type:"string",value:"Enjoy your time off. If anything changes, please let HR know in advance. "},{type:"string",value:`
`},{type:"string",value:" — HR Team"}],connectionId:4,emailTo:[[{name:"email",value:[{dType:"string",label:"1. b2-6",mixInputId:"clean-insects-pump",nodeId:"9-1",path:"form_data.b2-6",type:"variable"}]}]],fromEmail:[{type:"string",value:"manager@yourcompany.com"}],fromName:[{type:"string",value:"Example"}],subjectDb:[{type:"string",value:"Your leave request has been approved"}]}},field_mapping:{configs:{"connection-id":{value:4}},data:[{path:"subject",value:[{type:"string",value:"Your leave request has been approved"}]},{path:"body",value:[{type:"string",value:"Hi "},{dType:"string",label:"1. first_name",mixInputId:"old-dragons-jam",nodeId:"9-1",path:"form_data.b2-2.first_name",type:"variable"},{type:"string",value:" "},{dType:"string",label:"1. last_name",mixInputId:"three-rice-trade",nodeId:"9-1",path:"form_data.b2-2.last_name",type:"variable"},{type:"string",value:",  "},{type:"string",value:`
`},{type:"string",value:"Great news — your leave request has been approved.  "},{type:"string",value:`
`},{type:"string",value:"Leave type: "},{dType:"string",label:"1. 0",mixInputId:"sharp-oranges-crash",nodeId:"9-1",path:"form_data.b2-8.0",type:"variable"},{type:"string",value:" "},{type:"string",value:`
`},{type:"string",value:"Approved dates: "},{dType:"string",label:"1. b2-9",mixInputId:"sixty-apes-lose",nodeId:"9-1",path:"form_data.b2-9",type:"variable"},{type:"string",value:" to "},{dType:"string",label:"1. b2-10",mixInputId:"thick-bikes-vanish",nodeId:"9-1",path:"form_data.b2-10",type:"variable"},{type:"string",value:`
`},{type:"string",value:"Enjoy your time off. If anything changes, please let HR know in advance. "},{type:"string",value:`
`},{type:"string",value:" — HR Team"}]},{path:"body_type",value:"plain"},{path:"label",value:null},{path:"from_email",value:[{type:"string",value:"manager@yourcompany.com"}]},{path:"from_name",value:[{type:"string",value:"Example"}]},{path:"reply_to",value:null}],repeaters:{attachment:{value:[]},"bcc-email":{value:[[{key:"email",value:[]}]]},"cc-email":{value:[[{key:"email",value:[]}]]},"email-to":{value:[[{key:"email",value:[{dType:"string",label:"1. b2-6",mixInputId:"clean-insects-pump",nodeId:"9-1",path:"form_data.b2-6",type:"variable"}]}]]}}},machine_slug:"sendEmail",node_id:"9-5",variables:[{key:"id",type:"string",value:"19e970436185842c"},{key:"threadId",type:"string",value:"19e970436185842c"},{key:"labelIds",type:"array",value:[{key:0,type:"string",value:"SENT"}]}]}]};export{e as default};
