import { sendOpenAILead } from 'backend/openaiConversions'; // OLD WIX FORMS export async function wixCrm_onFormSubmit(event) { try { const formId = event?.formId || ""; const contactId = event?.contactId || ""; const eventId = contactId ? `wix_oldform_${contactId}_${Date.now()}` : `wix_oldform_${formId}_${Date.now()}`; const result = await sendOpenAILead({ eventId, sourceUrl: "" }); console.log("OpenAI old Wix form conversion:", result); } catch (error) { console.error("OpenAI old Wix form event error:", error); } } // NEW WIX FORMS V2 export async function wixForms_onSubmissionCreated(event) { try { const submissionId = event?.entity?._id || event?.metadata?.entityId || ""; const formId = event?.entity?.formId || ""; const eventId = submissionId ? `wix_form_${submissionId}` : `wix_form_${formId}_${Date.now()}`; const result = await sendOpenAILead({ eventId, sourceUrl: "" }); console.log("OpenAI Wix Forms V2 conversion:", result); } catch (error) { console.error("OpenAI Wix Forms V2 event error:", error); } }
top of page

Carpet Or Hard Surface

Jan 10, 2023
1 min read


Carpet Or Hard Surface

Convince me why I should pick carpet or a hard surface for my flooring

Carpet and hard surface flooring each have their own advantages and disadvantages.

Carpet can be a good choice for adding warmth and comfort to a room. It is also a good choice for bedrooms and other areas where you want a soft surface to walk on. Carpet also tends to be more affordable than hard surface flooring options.

Hard surface flooring, such as hardwood, tile, or laminate, can be a good choice for high-traffic areas as it is more durable and easy to clean. Hard surface flooring can also add value to a home and give it a more modern look.

Ultimately, the choice between carpet and hard surface flooring will depend on your personal preferences, the room's purpose, and budget. It's good idea to visit a showroom or store to see and feel sample flooring options, also it's great to consult with a professional designer or contractor as well."







 
 
 

Comments


bottom of page