// Create the chat widget
webhookUrl: 'https://n8n.srv1022466.hstgr.cloud/webhook/9ed35269-e5d1-4154-b131-5b4d375c4e2a/chat', // your URL
mode: 'window', // important: this mode has the toggle button
// enableStreaming: true, // optional
// allowFileUploads: false,
// 4. Wait 10 seconds → then auto-open by clicking the toggle button
// The toggle button usually has class .n8n-chat-toggle or similar
// This selector finds the button inside our target container
toggleButton.click(); // simulates user clicking → opens the chat
}, 10000); // 10000 ms = 10 seconds