const e={data:{edges:[{className:"edge",id:"edge-1",selected:!1,source:"20-1",sourceHandle:"right",target:"20-2",targetHandle:"left"},{className:"edge",id:"edge-2",selected:!1,source:"20-2",sourceHandle:"20-2-1",target:"20-3",targetHandle:"left"},{id:"edge-3",selected:!1,source:"20-3",sourceHandle:"chatModel",target:"20-4",targetHandle:"top"},{id:"edge-4",selected:!1,source:"20-3",sourceHandle:"memory",target:"20-5",targetHandle:"top"},{id:"edge-5",selected:!1,source:"20-7",sourceHandle:"right",target:"20-6",targetHandle:"left"},{id:"edge-6",selected:!1,source:"20-3",sourceHandle:"right",target:"20-7",targetHandle:"left"}],nodes:[{connectable:!0,data:[],dragging:!1,height:70,id:"20-1",position:{x:50,y:137},positionAbsolute:{x:125.33333333333331,y:113.33333333333334},selected:!1,sourcePosition:"right",targetPosition:"left",type:"trigger",width:240},{connectable:!0,data:[],dragging:!1,height:174,id:"20-2",position:{x:430,y:94.50090252707582},positionAbsolute:{x:430,y:94.50090252707582},selected:!1,sourcePosition:"right",targetPosition:"left",type:"condition",width:240},{connectable:!0,data:[],dragging:!1,height:70,id:"20-3",position:{x:810,y:137},positionAbsolute:{x:787.3279006808186,y:156.85602086202212},selected:!1,sourcePosition:"right",targetPosition:"left",type:"aiAgent",width:240},{connectable:!0,data:{subNodeType:"chatModel"},height:75,id:"20-4",position:{x:835,y:347},positionAbsolute:{x:747.3279006808186,y:366.8560208620221},selected:!1,sourcePosition:"top",targetPosition:"top",type:"subNode",width:75},{connectable:!0,data:{subNodeType:"memory"},dragging:!1,height:75,id:"20-5",position:{x:950,y:347},positionAbsolute:{x:855.3279006808186,y:366.8560208620221},selected:!1,sourcePosition:"top",targetPosition:"top",type:"subNode",width:75},{connectable:!0,data:[],dragging:!1,height:70,id:"20-6",position:{x:1405,y:137},positionAbsolute:{x:1167.3279006808186,y:156.85602086202212},selected:!1,sourcePosition:"right",targetPosition:"left",type:"action",width:240},{connectable:!0,data:[],dragging:!1,height:75,id:"20-7",position:{x:1190,y:134.5},positionAbsolute:{x:1167.3279006808186,y:156.85602086202212},selected:!1,sourcePosition:"right",targetPosition:"left",type:"jsonParser",width:75},{connectable:!0,data:{color:"blue",text:`## AI Reply Writer

Creates a short welcome confirmation email from the submitted website form data.`},dragging:!1,height:150,id:"20-8",position:{x:787.9909552970769,y:-55.173300792592116},positionAbsolute:{x:787.9909552970769,y:-55.173300792592116},resizing:!1,selected:!1,sourcePosition:"right",style:{height:150,width:267},targetPosition:"left",type:"stickyNote",width:267,zIndex:-1},{connectable:!0,data:{color:"purple",text:`## Incoming Website Form

Receives user details and message from the external website form through webhook.`},dragging:!1,height:158,id:"20-9",position:{x:57.574180914434464,y:-55.1733007925921},positionAbsolute:{x:57.574180914434464,y:-55.1733007925921},resizing:!1,selected:!1,sourcePosition:"right",style:{height:158,width:237},targetPosition:"left",type:"stickyNote",width:237,zIndex:-1},{connectable:!0,data:{color:"yellow",text:`## Email Check

Continues only when the submitted form includes an email address and message.`},dragging:!1,height:150,id:"20-10",position:{x:439.08651396251094,y:-92.67237626312955},selected:!1,sourcePosition:"right",style:{height:150,width:220},targetPosition:"left",type:"stickyNote",width:220,zIndex:-1},{connectable:!0,data:{color:"yellow",text:`## Welcome Reply Email

Sends an automatic confirmation email telling the user that the team will review the message and get back soon.`},dragging:!1,height:150,id:"20-11",position:{x:1400.5183949816173,y:-53.54290620691658},resizing:!1,selected:!1,sourcePosition:"right",style:{height:150,width:258},targetPosition:"left",type:"stickyNote",width:258,zIndex:-1}],viewport:{x:0,y:0,zoom:1}},map:{id:"20-1",next:{conditionIds:["20-2-0","20-2-1"],id:"20-2",next:[{id:"20-2-0",next:null,previous:"20-2",type:"default-condition-logic"},{id:"20-2-1",next:{id:"20-3",next:{id:"20-7",next:{id:"20-6",previous:"20-7",type:"action"},previous:"20-3",type:"jsonParser"},previous:"20-2-1",subNode:{chatModel:"20-4",memory:"20-5",tools:[]},type:"aiAgent"},previous:"20-2",type:"condition-logic"}],previous:"20-1",type:"condition"},previous:null,type:"trigger"},nodes:[{app_slug:"webhook",data:{db:{webhookId:4}},field_mapping:{configs:{"webhook-id":{value:4}},data:[],repeaters:[]},machine_slug:"customWebhook",node_id:"20-1",variables:[{key:"email",type:"string",value:"hiwov@mailinator.com"},{key:"first_name",type:"string",value:"Martha"},{key:"last_name",type:"string",value:"Fernandez"},{key:"message",type:"string",value:"Repellendus Id et"},{key:"username",type:"string",value:"welyhody"},{key:"entry_id",type:"string",value:"16"}]},{app_slug:"tools",data:{conditions:[{id:"20-2-0",title:"Default Condition",type:"default-condition-logic"},{condition:[{id:"99a384a5-3a08-4e6c-8057-f261c98ed638",leftExp:[{dType:"string",label:"1. username",mixInputId:"fuzzy-bats-smoke",nodeId:"20-1",path:"username",type:"variable"}],operator:"basic:exist",rightExp:[],type:"logic"},{id:"a54f4a3d-2b6d-4473-a1eb-d16397967cf7",type:"logical-operator",value:"and"},{id:"b0a24874-0a4e-49b0-a225-6302952fe128",leftExp:[{dType:"string",label:"1. email",mixInputId:"famous-plums-lead",nodeId:"20-1",path:"email",type:"variable"}],operator:"basic:exist",rightExp:[],type:"logic"}],id:"20-2-1",title:"User exist",type:"condition-logic"}]},field_mapping:null,machine_slug:"condition",node_id:"20-2",variables:null},{app_slug:"tools",data:{aiAgent:{maxIterations:[{type:"string",value:"10"}],prompt:[{type:"string",value:"Form submission data:"},{type:"string",value:`
`},{type:"string",value:"First Name: "},{dType:"string",label:"1. first_name",mixInputId:"thick-ants-relate",nodeId:"20-1",path:"first_name",type:"variable"},{type:"string",value:`
`},{type:"string",value:"Last Name: "},{dType:"string",label:"1. last_name",mixInputId:"fluffy-poets-marry",nodeId:"20-1",path:"last_name",type:"variable"},{type:"string",value:`
`},{type:"string",value:"Username: "},{dType:"string",label:"1. username",mixInputId:"violet-cooks-brake",nodeId:"20-1",path:"username",type:"variable"},{type:"string",value:`
`},{type:"string",value:"Email: "},{dType:"string",label:"1. email",mixInputId:"lovely-cougars-speak",nodeId:"20-1",path:"email",type:"variable"},{type:"string",value:`
`},{type:"string",value:"Message:"},{dType:"string",label:"1. message",mixInputId:"ninety-signs-deny",nodeId:"20-1",path:"message",type:"variable"},{type:"string",value:`
`},{type:"string",value:"Rules:"},{type:"string",value:`
`},{type:"string",value:"- Write a polite and friendly confirmation email."},{type:"string",value:`
`},{type:"string",value:"- Thank the user for contacting us."},{type:"string",value:`
`},{type:"string",value:"- Say that our team will examine their message and get back to them soon."},{type:"string",value:`
`},{type:"string",value:"- Mention their submitted message briefly."},{type:"string",value:`
`},{type:"string",value:"- Do not promise an exact response time."},{type:"string",value:`
`},{type:"string",value:"- Do not add extra offers, links, discounts, or fake details."},{type:"string",value:`
`},{type:"string",value:"- Keep the email short and professional."},{type:"string",value:`
`},{type:"string",value:"- Return only valid JSON."},{type:"string",value:`
`},{type:"string",value:"- Do not add markdown."},{type:"string",value:`
`},{type:"string",value:"- Do not add explanation."},{type:"string",value:`
`},{type:"string",value:"Output format:"},{type:"string",value:`
`},{type:"string",value:"{"},{type:"string",value:`
`},{type:"string",value:'  "email_to": "'},{dType:"string",label:"1. email",mixInputId:"orange-memes-hunt",nodeId:"20-1",path:"email",type:"variable"},{type:"string",value:'",'},{type:"string",value:`
`},{type:"string",value:'  "email_subject": "We received your message",'},{type:"string",value:`
`},{type:"string",value:'  "email_body": "Hi '},{dType:"string",label:"1. first_name",mixInputId:"clean-months-crash",nodeId:"20-1",path:"first_name",type:"variable"},{type:"string",value:String.raw`,\n\nThank you for contacting us.\n\nWe have received your message, and our team will examine it and get back to you soon.\n\nYour message:\n\n\nThank you,\nSupport Team",`},{type:"string",value:`
`},{type:"string",value:'  "status": "ready"'},{type:"string",value:`
`},{type:"string",value:"}"}],promptSource:"prompt",responseFormat:"text",systemPrompt:[{type:"string",value:"You are a professional customer support email assistant."},{type:"string",value:`
`},{type:"string",value:"Create a short welcome confirmation email for a user who submitted an external website form."}]}},field_mapping:null,machine_slug:"aiAgent",node_id:"20-3",variables:[{key:"status",type:"string",value:"success"},{key:"response",type:"collection",value:[{key:"email_to",type:"string",value:"hiwov@mailinator.com"},{key:"email_subject",type:"string",value:"We received your message"},{key:"email_body",type:"string",value:`Hi Martha,

Thank you for contacting us.

We have received your message, and our team will examine it and get back to you soon.

Your message:
Repellendus Id et

Thank you,
Support Team`},{key:"status",type:"string",value:"ready"}]},{key:"iterations",type:"integer",value:1},{key:"finish_reason",type:"string",value:"stop"},{key:"tool_calls",type:"collection",value:[]}]},{app_slug:"openAiChatModel",data:{db:{connectionId:2,model:"gpt-5.4"}},field_mapping:{configs:{"connection-id":{value:2},"show-advance-feature":{value:!1}},data:[{path:"model",value:"gpt-5.4"},{path:"max_tokens",value:[]},{path:"reasoning_effort",value:null},{path:"temperature",value:[]},{path:"top_p",value:[]},{path:"frequency_penalty",value:[]},{path:"presence_penalty",value:[]}],repeaters:[]},machine_slug:"chatModel",node_id:"20-4",variables:null},{app_slug:"simpleMemory",data:{db:{memoryKey:[{dType:"string",label:"1. email",mixInputId:"dull-games-live",nodeId:"20-1",path:"email",type:"variable"}]}},field_mapping:{configs:[],data:[{path:"memoryKey",value:[{dType:"string",label:"1. email",mixInputId:"dull-games-live",nodeId:"20-1",path:"email",type:"variable"}]},{path:"contextLength",value:[{type:"string",value:"5"}]}],repeaters:[]},machine_slug:"simpleMemory",node_id:"20-5",variables:null},{app_slug:"mail",data:{db:{body:[{dType:"string",label:"7. email_body",mixInputId:"curvy-lemons-accept",nodeId:"20-7",path:"email_body",type:"variable"}],fromEmail:[{type:"string",value:"example@company.com"}],fromName:[{type:"string",value:"Example"}],subject:[{dType:"string",label:"7. email_subject",mixInputId:"strict-lions-drop",nodeId:"20-7",path:"email_subject",type:"variable"}],toEmail:[{dType:"string",label:"1. email",mixInputId:"smooth-seals-notice",nodeId:"20-1",path:"email",type:"variable"}]}},field_mapping:{configs:{"attachments-picker":{value:""},"mail-format":{path:"mailFormat",value:!1}},data:[{path:"fromEmail",value:[{type:"string",value:"example@company.com"}]},{path:"fromName",value:[{type:"string",value:"Example"}]},{path:"toEmail",value:[{dType:"string",label:"1. email",mixInputId:"smooth-seals-notice",nodeId:"20-1",path:"email",type:"variable"}]},{path:"ccEmail",value:null},{path:"bccEmail",value:null},{path:"replyToEmail",value:null},{path:"subject",value:[{dType:"string",label:"7. email_subject",mixInputId:"strict-lions-drop",nodeId:"20-7",path:"email_subject",type:"variable"}]},{path:"body",value:[{dType:"string",label:"7. email_body",mixInputId:"curvy-lemons-accept",nodeId:"20-7",path:"email_body",type:"variable"}]},{path:"attachments",value:null}],repeaters:[]},machine_slug:"sendEmail",node_id:"20-6",variables:null},{app_slug:"tools",data:{jsonParser:{value:[{dType:"collection",label:"3. response",mixInputId:"late-adults-try",nodeId:"20-3",path:"response",type:"variable"}]}},field_mapping:null,machine_slug:"jsonParser",node_id:"20-7",variables:[{key:"email_to",type:"string",value:"hiwov@mailinator.com"},{key:"email_subject",type:"string",value:"We received your message"},{key:"email_body",type:"string",value:`Hi Martha,

Thank you for contacting us.

We have received your message, and our team will examine it and get back to you soon.

Your message:
Repellendus Id et

Thank you,
Support Team`},{key:"status",type:"string",value:"ready"}]}]};export{e as default};
