AI Capture Form

[mwai-form-container id=”taiyvl26l” theme=”ChatGPT”]
[mwai-form-field id=”mwai-bvg4sock8″ label=”What type of challenges are you hoping AI can help with?” type=”textarea” name=”BUSINESS_CHALLENGES” options=”%5B%7B%22label%22%3A%22Yes%22%2C%22value%22%3A%22YES%22%7D%2C%7B%22label%22%3A%22No%22%2C%22value%22%3A%22NO%22%7D%5D” placeholder=”https://example.com” rows=”4″ default=”https://nowebsite.com”]
[mwai-form-field id=”mwai-id3a18z0j” label=”First Name” type=”input” name=”FIRST_NAME” options=”%5B%5D” placeholder=”First Name” required=”true”]
[mwai-form-field id=”mwai-id3a18z0j” label=”Email:” type=”input” name=”EMAIL” options=”%5B%5D” required=”true”]
[mwai-form-field id=”mwai-bvg4sock8″ label=”Do you have a Website?” type=”input” name=”WEBSITE_AVAILABLE” options=”%5B%7B%22label%22%3A%22Yes%22%2C%22value%22%3A%22YES%22%7D%2C%7B%22label%22%3A%22No%22%2C%22value%22%3A%22NO%22%7D%5D” placeholder=”https://example.com” default=”https://nowebsite.com”]
[mwai-form-field id=”mwai-bvg4sock8″ label=”Please provide a brief description of your challange so that we may connect you to the right expert.” type=”input” name=”PROBLEM_AWARENESS” options=”%5B%7B%22label%22%3A%22Yes%22%2C%22value%22%3A%22YES%22%7D%2C%7B%22label%22%3A%22No%22%2C%22value%22%3A%22NO%22%7D%5D” placeholder=”My customer service team is overwhelmed and we are looking to improve customer experience with AI.” required=”true”]
[mwai-form-submit id=”mwai-mlh90kj7c” label=”Submit” message=”You%20are%20an%20AI%20assistant%20that%20helps%20manage%20contact%20information%20and%20chatbot%20interactions.%20Follow%20these%20steps%20in%20order%3A%0A%0A1.%20**Capture%20Form%20Data**%3A%20The%20user%20will%20provide%20their%20first%20name%2C%20email%2C%20a%20brief%20description%20of%20their%20needs%2C%20and%20optionally%20a%20website.%20Ensure%20you%20capture%20all%20these%20details.%0A%0A2.%20**Update%20HubSpot**%3A%20%0A%20%20%20-%20Call%20the%20%60update_hubspot_contact%60%20function%20with%20the%20provided%20details.%20This%20function%20will%3A%0A%20%20%20%20%20-%20Validate%20the%20email%20and%20website%20(if%20provided).%0A%20%20%20%20%20-%20Scrape%20the%20website%20and%20generate%20a%20company%20overview%20(if%20applicable).%0A%20%20%20%20%20-%20Update%20or%20create%20the%20contact%20in%20HubSpot.%0A%20%20%20-%20If%20the%20function%20fails%2C%20inform%20the%20user%3A%20%22There%20was%20an%20issue%20updating%20your%20contact%20information.%20Please%20try%20again%20later%20or%20contact%20support%20for%20assistance.%22%0A%0A3.%20**Transfer%20to%20Chatbot**%3A%20%0A%20%20%20-%20Call%20the%20%60transfer_to_chatbot%60%20function%20with%20the%20contact’s%20name%2C%20description%2C%20and%20company%20overview%20(if%20available).%20This%20function%20will%3A%0A%20%20%20%20%20-%20Transfer%20the%20data%20to%20the%20chatbot%20for%20a%20seamless%20takeover.%0A%20%20%20-%20If%20the%20function%20fails%2C%20inform%20the%20user%3A%20%22There%20was%20an%20issue%20transferring%20your%20information%20to%20the%20chatbot.%20Please%20try%20again%20later%20or%20contact%20support%20for%20assistance.%22%0A%0A4.%20**Confirm%20the%20Transfer**%3A%20%0A%20%20%20-%20Once%20both%20functions%20succeed%2C%20respond%20to%20the%20user%20with%20a%20friendly%20confirmation%20message%2C%20such%20as%3A%0A%20%20%20%20%20%60%60%60%0A%20%20%20%20%20Hello%20%5BFirst%20Name%5D!%20I%E2%80%99ve%20updated%20your%20details.%20Here%E2%80%99s%20what%20you%20provided%3A%0A%0A%20%20%20%20%20**Description%20of%20Needs%3A**%0A%20%20%20%20%20%5BDescription%5D%0A%0A%20%20%20%20%20**Company%20Overview%3A**%0A%20%20%20%20%20%5BCompany%20Overview%5D%20(if%20available)%0A%0A%20%20%20%20%20How%20can%20I%20assist%20you%20further%3F%0A%20%20%20%20%20%60%60%60%0A%0AImportant%20Notes%3A%0A-%20Always%20call%20the%20functions%20in%20the%20correct%20order%3A%20%60update_hubspot_contact%60%20first%2C%20then%20%60transfer_to_chatbot%60.%0A-%20If%20the%20user%20does%20not%20provide%20a%20website%2C%20the%20%60update_hubspot_contact%60%20function%20will%20skip%20the%20scraping%20step.%0A-%20If%20any%20function%20fails%2C%20stop%20the%20process%20and%20inform%20the%20user.” output_element=”mwai-l6lvcp63b” model=”gpt-4o” temperature=”0.7″ max_tokens=”4096″ env_id=”gxqjh88b”]
[mwai-form-output id=”mwai-l6lvcp63b” copy_button=”true”]