{"id":4435,"date":"2026-06-04T13:48:36","date_gmt":"2026-06-04T13:48:36","guid":{"rendered":"https:\/\/myaiagenthub.com\/?page_id=4435"},"modified":"2026-06-11T00:01:03","modified_gmt":"2026-06-11T00:01:03","slug":"daily-business-assistant-check-in","status":"publish","type":"page","link":"https:\/\/myaiagenthub.com\/es\/daily-business-assistant-check-in\/","title":{"rendered":"Daily Business Assistant Check In"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"4435\" class=\"elementor elementor-4435\">\n\t\t\t\t<div class=\"elementor-element elementor-element-e3e7d30 e-flex e-con-boxed wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no wpr-column-slider-no wpr-equal-height-no e-con e-parent\" data-id=\"e3e7d30\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-3eb92ca elementor-widget__width-inherit elementor-widget elementor-widget-html\" data-id=\"3eb92ca\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t\t\r\n<style>\r\n@import url('https:\/\/fonts.googleapis.com\/css2?family=Poppins:wght@400;600;800&display=swap');\r\n\r\n.checkin-wrap { max-width: 680px; margin: 0 auto; font-family: 'Poppins', sans-serif; padding: 20px; }\r\n.checkin-wrap h2 { font-size: 26px; font-weight: 800; color: #0a2540; margin-bottom: 8px; text-align: center; }\r\n.checkin-wrap p.checkin-sub { font-size: 15px; color: #555; text-align: center; margin-bottom: 24px; }\r\n\r\n\/* Welcome box *\/\r\n.checkin-welcome-box {\r\n  background: #fff;\r\n  border: 2px solid #38bdf8;\r\n  border-radius: 14px;\r\n  padding: 16px 20px;\r\n  margin-bottom: 20px;\r\n  display: flex;\r\n  align-items: flex-start;\r\n  gap: 12px;\r\n}\r\n.checkin-welcome-box .w-icon { font-size: 26px; flex-shrink: 0; margin-top: 2px; }\r\n.checkin-welcome-box .w-name { font-size: 11px; font-weight: 700; color: #0284c7; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }\r\n.checkin-welcome-box .w-msg { font-size: 14px; color: #1e293b; line-height: 1.6; min-height: 20px; }\r\n.checkin-voice-btn {\r\n  display: inline-flex;\r\n  align-items: center;\r\n  gap: 8px;\r\n  background: #0f1e36;\r\n  color: #38bdf8;\r\n  border: 2px solid #38bdf8;\r\n  border-radius: 40px;\r\n  padding: 10px 24px;\r\n  font-size: 14px;\r\n  font-weight: 700;\r\n  cursor: pointer;\r\n  font-family: 'Poppins', sans-serif;\r\n  margin-top: 10px;\r\n  transition: background 0.2s, color 0.2s;\r\n}\r\n.checkin-voice-btn:hover { background: #38bdf8; color: #0f1e36; }\r\n.checkin-voice-btn:disabled { opacity: 0.6; cursor: not-allowed; }\r\n.checkin-voice-status { font-size: 12px; color: #94a3b8; margin-top: 8px; min-height: 16px; }\r\n\r\n\/* GREETING *\/\r\n.checkin-greeting { background: #0f1e36; border-radius: 14px; padding: 18px 24px; text-align: center; margin-bottom: 24px; }\r\n.checkin-greeting p { color: #38bdf8; font-size: 16px; font-weight: 700; margin: 0; }\r\n.checkin-greeting span { color: #fff; }\r\n\r\n\/* FIRST VISIT EMAIL SETUP *\/\r\n.checkin-email-setup { background: #0f1e36; border-radius: 16px; padding: 28px 24px; text-align: center; margin-bottom: 24px; display: none; }\r\n.checkin-email-setup.visible { display: block; }\r\n.checkin-email-setup h3 { color: #38bdf8; font-size: 17px; font-weight: 800; margin-bottom: 8px; }\r\n.checkin-email-setup p { color: #94a3b8; font-size: 14px; margin-bottom: 20px; line-height: 1.6; }\r\n.checkin-email-input { width: 100%; padding: 13px 16px; border: 2px solid #38bdf8; border-radius: 8px; font-size: 15px; font-family: 'Poppins', sans-serif; color: #333 !important; box-sizing: border-box; background: #ffffff !important; margin-bottom: 12px; }\r\n.checkin-email-btn { background: #38bdf8; color: #fff; border: none; border-radius: 8px; padding: 13px 28px; font-size: 15px; font-weight: 700; font-family: 'Poppins', sans-serif; cursor: pointer; width: 100%; transition: background 0.2s; }\r\n.checkin-email-btn:hover { background: #0ea5e9; }\r\n\r\n\/* MIC AREA *\/\r\n.checkin-mic-area { background: #0f1e36; border-radius: 16px; padding: 28px 24px; text-align: center; margin-bottom: 24px; display: none; }\r\n.checkin-mic-area.visible { display: block; }\r\n.checkin-mic-label { color: #38bdf8; font-size: 15px; font-weight: 700; margin-bottom: 6px; }\r\n.checkin-mic-hint { color: #94a3b8; font-size: 13px; margin-bottom: 20px; line-height: 1.7; }\r\n.checkin-mic-btn { background: #38bdf8; border: none; border-radius: 50%; width: 84px; height: 84px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: all 0.3s ease; box-shadow: 0 4px 20px rgba(56,189,248,0.4); margin-bottom: 14px; }\r\n.checkin-mic-btn:hover { background: #0ea5e9; transform: scale(1.05); }\r\n.checkin-mic-btn.listening { background: #e11d48; animation: pulse 1.2s infinite; box-shadow: 0 4px 24px rgba(225,29,72,0.5); }\r\n.checkin-mic-btn svg { width: 38px; height: 38px; fill: #fff; }\r\n@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.12); } }\r\n.checkin-mic-status { color: #cbd5e1; font-size: 13px; font-weight: 600; min-height: 22px; margin-top: 4px; }\r\n.checkin-mic-status.active { color: #f87171; }\r\n.checkin-mic-status.done { color: #4ade80; }\r\n\r\n\/* White editable transcript box *\/\r\n.checkin-transcript-box {\r\n  background: #ffffff;\r\n  border: 2px solid #38bdf8;\r\n  border-radius: 10px;\r\n  padding: 12px 14px;\r\n  margin-top: 14px;\r\n  min-height: 70px;\r\n  color: #0f1e36;\r\n  font-size: 14px;\r\n  font-weight: 600;\r\n  line-height: 1.75;\r\n  text-align: left;\r\n  display: none;\r\n  border: 2px solid #38bdf8;\r\n  font-family: 'Poppins', sans-serif;\r\n  width: 100%;\r\n  box-sizing: border-box;\r\n  resize: vertical;\r\n}\r\n.checkin-transcript-box:focus { outline: none; border-color: #0284c7; background: #ffffff !important; color: #0f1e36 !important; }\r\n.checkin-transcript-box.visible { display: block; }\r\n\r\n\/* FOLLOW UP *\/\r\n.checkin-followup-box { background: #0f1e36; border: 2px solid #38bdf8; border-radius: 14px; padding: 22px 24px; margin-bottom: 24px; text-align: center; display: none; }\r\n.checkin-followup-box.visible { display: block; }\r\n.checkin-followup-box p { color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 18px; line-height: 1.6; }\r\n.checkin-followup-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }\r\n.checkin-btn-more { background: #38bdf8; color: #fff; border: none; border-radius: 50px; padding: 11px 24px; font-size: 14px; font-weight: 700; font-family: 'Poppins', sans-serif; cursor: pointer; transition: background 0.2s; }\r\n.checkin-btn-more:hover { background: #0ea5e9; }\r\n.checkin-btn-submit { background: #22c55e; color: #fff; border: none; border-radius: 50px; padding: 11px 24px; font-size: 14px; font-weight: 700; font-family: 'Poppins', sans-serif; cursor: pointer; transition: background 0.2s; }\r\n.checkin-btn-submit:hover { background: #16a34a; }\r\n\r\n\/* REVIEW SECTION *\/\r\n.checkin-review-section { display: none; }\r\n.checkin-review-section.visible { display: block; }\r\n.checkin-field { margin-bottom: 20px; }\r\n.checkin-field label { display: block; font-size: 14px; font-weight: 600; color: #0a2540; margin-bottom: 6px; }\r\n.checkin-field textarea { width: 100%; padding: 12px 16px; border: 1.5px solid #38bdf8; border-radius: 8px; font-size: 15px; font-family: 'Poppins', sans-serif; color: #0f1e36; box-sizing: border-box; background: #fff; height: 140px; resize: vertical; font-weight: 600; }\r\n.checkin-field textarea:focus { outline: none; border-color: #0284c7; background: #ffffff !important; color: #0f1e36 !important; }\r\n\r\n.checkin-submit-btn { display: block; width: 100%; padding: 15px; background: linear-gradient(90deg, #1a1a6e, #1a73e8); color: #fff; font-size: 16px; font-weight: 700; font-family: 'Poppins', sans-serif; border: none; border-radius: 50px; cursor: pointer; margin-top: 10px; transition: opacity 0.2s; }\r\n.checkin-submit-btn:hover { opacity: 0.9; }\r\n.checkin-msg { text-align: center; margin-top: 16px; font-size: 14px; font-weight: 600; min-height: 20px; }\r\n\r\n.checkin-change-email { text-align: center; margin-top: 8px; font-size: 12px; color: #94a3b8; }\r\n.checkin-change-email a { color: #38bdf8; cursor: pointer; text-decoration: underline; }\r\n<\/style>\r\n\r\n<!-- JESSICA CHECK-IN AUDIO -->\r\n<audio id=\"checkin_welcome_audio\" src=\"https:\/\/myaiagenthub.com\/wp-content\/uploads\/2026\/06\/Jessica-Daily-check-in.mp3\" preload=\"auto\"><\/audio>\r\n\r\n<div class=\"checkin-wrap\">\r\n\r\n  <!-- WELCOME BOX -->\r\n  <div class=\"checkin-welcome-box\">\r\n    <div class=\"w-icon\">\ud83d\udc4b<\/div>\r\n    <div>\r\n      <div class=\"w-name\">Jessica \u2014 Daily Business Assistant<\/div>\r\n      <div class=\"w-msg\" id=\"checkin_voice_text\">Click the button below to hear a good morning message from Jessica.<\/div>\r\n      <button class=\"checkin-voice-btn\" id=\"checkin_voice_btn\" onclick=\"playCheckinJessica()\">\ud83d\udd0a Good Morning from Jessica<\/button>\r\n      <p class=\"checkin-voice-status\" id=\"checkin_voice_status\"><\/p>\r\n    <\/div>\r\n  <\/div>\r\n\r\n  <h2>\u2600\ufe0f Good Morning \u2014 Daily Check-In<\/h2>\r\n  <p class=\"checkin-sub\">Tap the mic and tell us what's on your plate today \u2014 your plan will be in your inbox within minutes.<\/p>\r\n\r\n  <!-- GREETING -->\r\n  <div class=\"checkin-greeting\" id=\"checkin_greeting\" style=\"display:none;\">\r\n    <p>\ud83d\udc4b Welcome back, <span id=\"checkin_greeting_email\"><\/span> \u2014 ready to build your day?<\/p>\r\n  <\/div>\r\n\r\n  <!-- FIRST VISIT EMAIL SETUP -->\r\n  <div class=\"checkin-email-setup\" id=\"checkin_email_setup\">\r\n    <h3>\ud83d\udce7 First \u2014 What's Your Email Address?<\/h3>\r\n    <p>This is the email where your daily business plan will be delivered every morning. You only need to enter this once \u2014 we will remember it for you.<\/p>\r\n    <input type=\"email\" class=\"checkin-email-input\" id=\"checkin_email_input\" placeholder=\"Your email address\" \/>\r\n    <button class=\"checkin-email-btn\" onclick=\"saveEmail()\">Save My Email & Continue \u2192<\/button>\r\n  <\/div>\r\n\r\n  <!-- MIC AREA -->\r\n  <div class=\"checkin-mic-area\" id=\"checkin_mic_area\">\r\n    <p class=\"checkin-mic-label\">\ud83c\udf99\ufe0f Tap the Mic and Tell Us About Your Day<\/p>\r\n    <p class=\"checkin-mic-hint\">\r\n      Tell the assistant what's on your plate today,<br>\r\n      your biggest challenge, and what you need help with.<br>\r\n      <strong style=\"color:#38bdf8;\">Just talk naturally \u2014 no typing needed.<\/strong>\r\n    <\/p>\r\n    <button class=\"checkin-mic-btn\" id=\"checkin_mic_btn\" onclick=\"toggleCheckinMic()\">\r\n      <svg viewBox=\"0 0 24 24\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\r\n        <path d=\"M12 1a4 4 0 0 1 4 4v6a4 4 0 0 1-8 0V5a4 4 0 0 1 4-4zm-1 17.93V21H9v2h6v-2h-2v-2.07A8 8 0 0 0 20 11h-2a6 6 0 0 1-12 0H4a8 8 0 0 0 7 7.93z\"\/>\r\n      <\/svg>\r\n    <\/button>\r\n    <div class=\"checkin-mic-status\" id=\"checkin_mic_status\">Tap the mic to begin<\/div>\r\n    <textarea class=\"checkin-transcript-box\" id=\"checkin_transcript_box\" rows=\"4\" placeholder=\"Your words will appear here as you speak \u2014 tap to edit if needed\"><\/textarea>\r\n  <\/div>\r\n\r\n  <!-- FOLLOW UP -->\r\n  <div class=\"checkin-followup-box\" id=\"checkin_followup_box\">\r\n    <p>\u2705 Got it! Before I get started \u2014<br>is there anything else on your mind or anything you may have missed today?<\/p>\r\n    <div class=\"checkin-followup-btns\">\r\n      <button class=\"checkin-btn-more\" onclick=\"addMoreCheckin()\">\ud83c\udf99\ufe0f Yes, Let Me Add More<\/button>\r\n      <button class=\"checkin-btn-submit\" onclick=\"submitCheckin()\">\u2705 No, I'm Good \u2014 Submit!<\/button>\r\n    <\/div>\r\n  <\/div>\r\n\r\n  <!-- REVIEW & SUBMIT -->\r\n  <div class=\"checkin-review-section\" id=\"checkin_review_section\">\r\n    <div class=\"checkin-field\">\r\n      <label>Everything You Shared Today<\/label>\r\n      <textarea id=\"checkin_transcript\" placeholder=\"Your voice transcript will appear here \u2014 edit freely if needed\"><\/textarea>\r\n    <\/div>\r\n    <button class=\"checkin-submit-btn\" onclick=\"submitCheckin()\">\ud83d\ude80 Send Me My Daily Business Plan<\/button>\r\n    <p class=\"checkin-msg\" id=\"checkin_msg\"><\/p>\r\n  <\/div>\r\n\r\n  <p class=\"checkin-change-email\" id=\"checkin_change_email_link\" style=\"display:none;\">\r\n    Wrong email on file? <a onclick=\"resetEmail()\">Change my email<\/a>\r\n  <\/p>\r\n<\/div>\r\n\r\n<script>\r\nvar checkinVoicePlayed = false;\r\nvar CHECKIN_VOICE_TEXT = 'Good morning! Welcome back to your Daily Business Assistant. '\r\n  + 'I am so glad you are here. Every morning you show up is a morning you are investing in your business and yourself. '\r\n  + 'Just tap the mic and tell me what is on your plate today \u2014 your biggest challenge, your top priority, or anything on your mind. '\r\n  + 'I will take everything you share and turn it into a clear, focused daily business plan delivered straight to your inbox within minutes. '\r\n  + 'Let\\'s make today count. Tap the mic and let\\'s get started.';\r\n\r\nfunction playCheckinJessica() {\r\n  if (checkinVoicePlayed) return;\r\n  var btn = document.getElementById('checkin_voice_btn');\r\n  var status = document.getElementById('checkin_voice_status');\r\n  var msgEl = document.getElementById('checkin_voice_text');\r\n  var audio = document.getElementById('checkin_welcome_audio');\r\n  btn.disabled = true;\r\n  status.textContent = 'Preparing Jessica\u2026';\r\n  var words = CHECKIN_VOICE_TEXT.split(' ');\r\n  var wi = 0;\r\n  audio.play().catch(function() {});\r\n  msgEl.textContent = '';\r\n  var wInt = setInterval(function() {\r\n    if (wi < words.length) {\r\n      msgEl.textContent += (wi === 0 ? '' : ' ') + words[wi++];\r\n    } else {\r\n      clearInterval(wInt);\r\n    }\r\n  }, 1000 \/ 2.8);\r\n  audio.onended = function() {\r\n    clearInterval(wInt);\r\n    msgEl.textContent = CHECKIN_VOICE_TEXT;\r\n    status.textContent = '';\r\n    btn.style.display = 'none';\r\n    checkinVoicePlayed = true;\r\n  };\r\n  audio.onerror = function() {\r\n    status.textContent = '';\r\n    btn.disabled = false;\r\n  };\r\n}\r\n\r\nvar checkinRecognition;\r\nvar checkinListening = false;\r\nvar checkinTranscript = '';\r\n\r\nwindow.addEventListener('load', function() {\r\n  \/\/ Auto-play Jessica welcome\r\n  setTimeout(function() { playCheckinJessica(); }, 800);\r\n\r\n  \/\/ Show email setup or mic area\r\n  try {\r\n    var savedEmail = localStorage.getItem('dba_checkin_email');\r\n    if (savedEmail) {\r\n      showMicArea(savedEmail);\r\n    } else {\r\n      document.getElementById('checkin_email_setup').style.display = 'block';\r\n    }\r\n  } catch(e) {\r\n    document.getElementById('checkin_email_setup').style.display = 'block';\r\n  }\r\n});\r\n\r\nfunction saveEmail() {\r\n  var email = document.getElementById('checkin_email_input').value.trim();\r\n  if (!email || !email.includes('@')) { alert('Please enter a valid email address.'); return; }\r\n  localStorage.setItem('dba_checkin_email', email);\r\n  showMicArea(email);\r\n}\r\n\r\nfunction showMicArea(email) {\r\n  document.getElementById('checkin_email_setup').style.display = 'none';\r\n  document.getElementById('checkin_greeting').style.display = 'block';\r\n  document.getElementById('checkin_greeting_email').textContent = email;\r\n  document.getElementById('checkin_mic_area').style.display = 'block';\r\n  document.getElementById('checkin_change_email_link').style.display = 'block';\r\n}\r\n\r\nfunction resetEmail() {\r\n  if (confirm('Are you sure you want to change your email address?')) {\r\n    localStorage.removeItem('dba_checkin_email');\r\n    document.getElementById('checkin_greeting').style.display = 'none';\r\n    document.getElementById('checkin_mic_area').style.display = 'none';\r\n    document.getElementById('checkin_change_email_link').style.display = 'none';\r\n    document.getElementById('checkin_review_section').classList.remove('visible');\r\n    document.getElementById('checkin_followup_box').classList.remove('visible');\r\n    document.getElementById('checkin_email_setup').style.display = 'block';\r\n    checkinTranscript = '';\r\n  }\r\n}\r\n\r\nfunction initCheckinRecognition() {\r\n  var SR = window.SpeechRecognition || window.webkitSpeechRecognition;\r\n  if (!SR) { setCheckinStatus('Voice input is not supported on this browser. Please use Chrome.', ''); return null; }\r\n  var r = new SR();\r\n  r.continuous = true;\r\n  r.interimResults = true;\r\n  r.lang = 'en-US';\r\n  return r;\r\n}\r\n\r\nfunction setCheckinStatus(text, type) {\r\n  var s = document.getElementById('checkin_mic_status');\r\n  s.textContent = text;\r\n  s.className = 'checkin-mic-status' + (type ? ' ' + type : '');\r\n}\r\n\r\nfunction toggleCheckinMic() {\r\n  if (checkinListening) { stopCheckinMic(true); } else { startCheckinMic(); }\r\n}\r\n\r\nfunction startCheckinMic() {\r\n  checkinRecognition = initCheckinRecognition();\r\n  if (!checkinRecognition) return;\r\n  checkinListening = true;\r\n  document.getElementById('checkin_mic_btn').classList.add('listening');\r\n  setCheckinStatus('\ud83d\udd34 Listening... tap again when you are done', 'active');\r\n  var box = document.getElementById('checkin_transcript_box');\r\n  box.classList.add('visible');\r\n  checkinRecognition.onresult = function(e) {\r\n    var finalChunk = '';\r\n    var interim = '';\r\n    for (var i = e.resultIndex; i < e.results.length; i++) {\r\n      if (e.results[i].isFinal) finalChunk += e.results[i][0].transcript + ' ';\r\n      else interim += e.results[i][0].transcript;\r\n    }\r\n    if (finalChunk) checkinTranscript += finalChunk;\r\n    box.value = checkinTranscript + interim;\r\n  };\r\n  checkinRecognition.onerror = function(e) {\r\n    if (e.error !== 'no-speech') { setCheckinStatus('Mic error \u2014 please try again.', ''); stopCheckinMic(false); }\r\n  };\r\n  checkinRecognition.onend = function() {\r\n    if (checkinListening) { try { checkinRecognition.start(); } catch(e) {} }\r\n  };\r\n  checkinRecognition.start();\r\n}\r\n\r\nfunction stopCheckinMic(showFollowup) {\r\n  checkinListening = false;\r\n  if (checkinRecognition) { checkinRecognition.onend = null; try { checkinRecognition.stop(); } catch(e) {} }\r\n  document.getElementById('checkin_mic_btn').classList.remove('listening');\r\n  if (!checkinTranscript.trim() || checkinTranscript.trim().length < 5) { setCheckinStatus('Tap the mic to begin', ''); return; }\r\n  setCheckinStatus('\u2705 Done! Review and edit above if needed.', 'done');\r\n  document.getElementById('checkin_transcript').value = checkinTranscript.trim();\r\n  document.getElementById('checkin_review_section').classList.add('visible');\r\n  if (showFollowup) document.getElementById('checkin_followup_box').classList.add('visible');\r\n}\r\n\r\nfunction addMoreCheckin() {\r\n  document.getElementById('checkin_followup_box').classList.remove('visible');\r\n  checkinListening = true;\r\n  checkinRecognition = initCheckinRecognition();\r\n  if (!checkinRecognition) return;\r\n  document.getElementById('checkin_mic_btn').classList.add('listening');\r\n  setCheckinStatus('\ud83d\udd34 Listening... tap the mic to stop', 'active');\r\n  checkinRecognition.onresult = function(e) {\r\n    var finalChunk = '';\r\n    for (var i = e.resultIndex; i < e.results.length; i++) {\r\n      if (e.results[i].isFinal) finalChunk += e.results[i][0].transcript + ' ';\r\n    }\r\n    if (finalChunk) {\r\n      checkinTranscript += finalChunk;\r\n      document.getElementById('checkin_transcript_box').value = checkinTranscript;\r\n      document.getElementById('checkin_transcript').value = checkinTranscript.trim();\r\n    }\r\n  };\r\n  checkinRecognition.onend = function() { if (checkinListening) { try { checkinRecognition.start(); } catch(e) {} } };\r\n  checkinRecognition.start();\r\n  document.getElementById('checkin_mic_btn').onclick = function() {\r\n    checkinListening = false;\r\n    checkinRecognition.onend = null;\r\n    try { checkinRecognition.stop(); } catch(e) {}\r\n    document.getElementById('checkin_mic_btn').classList.remove('listening');\r\n    document.getElementById('checkin_mic_btn').onclick = toggleCheckinMic;\r\n    setCheckinStatus('\u2705 Updated! Ready to submit.', 'done');\r\n    document.getElementById('checkin_followup_box').classList.add('visible');\r\n    document.getElementById('checkin_transcript').value = checkinTranscript.trim();\r\n  };\r\n}\r\n\r\nasync function submitCheckin() {\r\n  document.getElementById('checkin_followup_box').classList.remove('visible');\r\n  var email = localStorage.getItem('dba_checkin_email');\r\n  var transcript = document.getElementById('checkin_transcript').value.trim();\r\n  var msg = document.getElementById('checkin_msg');\r\n  if (!email) { resetEmail(); return; }\r\n  if (!transcript || transcript.length < 5) {\r\n    msg.style.color = '#e11d48';\r\n    msg.textContent = '\u26a0\ufe0f Please tap the mic and tell us what is on your plate today.';\r\n    return;\r\n  }\r\n  msg.style.color = '#1a73e8';\r\n  msg.textContent = '\u23f3 Submitting... your daily business plan is on its way!';\r\n  var content = 'Email: ' + email + '\\n\\nDaily Check-In Transcript:\\n' + transcript;\r\n  try {\r\n    var res = await fetch('https:\/\/api-bcbe5a.stack.tryrelevance.com\/latest\/agents\/trigger', {\r\n      method: 'POST',\r\n      headers: { 'Content-Type': 'application\/json', 'Authorization': 'b831f1f2-22e3-4067-b1f5-c431251db0cc:sk-ZjBjN2Q0MzktODE1ZS00NTMxLTlmMjctZmUwMzc0YTFmNDA1' },\r\n      body: JSON.stringify({\r\n        message: { role: 'user', content: content },\r\n        agent_id: 'a185592c-c157-46b2-8ada-400f35224672'\r\n      })\r\n    });\r\n    if (!res.ok) throw new Error('error');\r\n    msg.style.color = '#16a34a';\r\n    msg.textContent = '\u2705 Success! Your daily business plan will be in your inbox shortly.';\r\n    checkinTranscript = '';\r\n    document.getElementById('checkin_transcript_box').value = '';\r\n    document.getElementById('checkin_transcript_box').classList.remove('visible');\r\n    document.getElementById('checkin_transcript').value = '';\r\n    document.getElementById('checkin_review_section').classList.remove('visible');\r\n    setCheckinStatus('Tap the mic to begin', '');\r\n  } catch(e) {\r\n    msg.style.color = '#e11d48';\r\n    msg.textContent = '\u274c Something went wrong. Please try again.';\r\n  }\r\n}\r\n<\/script>\r\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>\ud83d\udc4b Jessica \u2014 Daily Business Assistant Click the button below to hear a good morning message from Jessica. \ud83d\udd0a Good Morning from Jessica \u2600\ufe0f Good Morning \u2014 Daily Check-In Tap the mic and tell us what&#8217;s on your plate today \u2014 your plan will be in your inbox within minutes. \ud83d\udc4b Welcome back, \u2014 ready to build your day? \ud83d\udce7 First \u2014 What&#8217;s Your Email Address? This is the email where your daily business plan will be delivered every morning. You only need to enter this once \u2014 we will remember it for you. Save My Email &#038; Continue \u2192 \ud83c\udf99\ufe0f Tap the Mic and Tell Us About Your Day Tell the assistant what&#8217;s on your plate today, your biggest challenge, and what you need help with. Just talk naturally \u2014 no typing needed. Tap the mic to begin \u2705 Got it! Before I get started \u2014is there anything else on your mind or anything you may have missed today? \ud83c\udf99\ufe0f Yes, Let Me Add More \u2705 No, I&#8217;m Good \u2014 Submit! Everything You Shared Today \ud83d\ude80 Send Me My Daily Business Plan Wrong email on file? Change my email<\/p>","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_header_footer","meta":{"footnotes":""},"class_list":["post-4435","page","type-page","status-publish","hentry"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/myaiagenthub.com\/es\/wp-json\/wp\/v2\/pages\/4435","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/myaiagenthub.com\/es\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/myaiagenthub.com\/es\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/myaiagenthub.com\/es\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/myaiagenthub.com\/es\/wp-json\/wp\/v2\/comments?post=4435"}],"version-history":[{"count":22,"href":"https:\/\/myaiagenthub.com\/es\/wp-json\/wp\/v2\/pages\/4435\/revisions"}],"predecessor-version":[{"id":4917,"href":"https:\/\/myaiagenthub.com\/es\/wp-json\/wp\/v2\/pages\/4435\/revisions\/4917"}],"wp:attachment":[{"href":"https:\/\/myaiagenthub.com\/es\/wp-json\/wp\/v2\/media?parent=4435"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}