// Wix Custom Code for Teams Webhooks import { fetch } from 'wix-fetch'; // Global function to send Teams notifications export async function sendTeamsNotification(webhookUrl, message) { try { console.log('�� Wix: Sending Teams notification to:', webhookUrl); const response = await fetch(webhookUrl, { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify(message) }); console.log('🚀 Wix: Response status:', response.status); if (response.ok) { console.log('✅ Wix: Teams notification sent successfully'); return { success: true, message: 'Teams notification sent successfully' }; } else { const errorText = await response.text(); console.error('❌ Wix: Teams webhook error:', errorText); throw new Error(`HTTP ${response.status}: ${response.statusText}`); } } catch (error) { console.error('❌ Wix: Error sending Teams notification:', error); return { success: false, error: error.message }; } } // Make the function globally available window.sendTeamsNotification = sendTeamsNotification; Contact Us | EST Tool & Machine
top of page

Contact Us

Inquiries

For any inquiries, questions or commendations, please call: (606) 758-4626 or fill out the following form

Contact Us

Thanks for submitting!

Address

55 Dug Hill Road

Brodhead, KY 40409

Tel: (606) 758-4626

Employment

To apply for a job with EST Tool, please click here and fill out the application form!

To get a quote, please email Sales@ESTTool.com

  • LinkedIn
  • Facebook
bottom of page