import streamlit as st import os from clients import CompanySpecificClient, UserSpecificClient, hooks, RengagmentEmail, display_analytics st.set_page_config(page_title="SalesIntel", layout="wide") st.html("styles.html") endpoint = os.getenv('blog_lead_endpoint') st.html('

SalesIntel

') st.html('

Your AI Sales Companions for Success

') email_options = [ "", # Invalid selection "maria@omdena.com", "rudradeb@omdena.com", "jamesel@omdena.com", "fabio@omdena.com", "Avnish@omdena.com", "anushree@omdena.com", "christiano@omdena.com", "mohanad@omdena.com", "tra@omdena.com", "weronika@omdena.com", "chethan@omdena.com", "elizabeth@omdena.com", ] email_address = st.selectbox("**Introduce yourself to us**", email_options) def main(): # First container for Hook2Lead cols = st.columns(2) with cols[0]: with st.container(border=True): st.html('

Re-engagement Campaigns

') cols_internal = st.columns(2) with cols_internal[0]: if st.button("Hook2lead", help="The tool will match it with the leads. You can bring your hooks either a blog, AI announcement, or trend"): if email_address: hook_dialog(email_address) else: st.warning("Please select a valid email address to proceed.") with cols_internal[1]: if st.button("let the AI hooks", help="The AI will summarize the conversation and action points for you and write an email to explore new use cases. You can bring old conversations with previous leads"): if email_address: rengage_lead() else: st.warning("Please select a valid email address to proceed.") with cols[1]: with st.container(border=True): st.html('

Cold Campaigns

') cols = st.columns(2) with cols[0]: if st.button("Tailored for companies", help="Generate cold emails based on company offerings and Omdena's services"): if email_address: cold_organization_dialog() else: st.warning("Please select a valid email address to proceed.") with cols[1]: if st.button("Tailored for executives", help="Generate cold emails based on executive achievements"): if email_address: cold_executive_dialog() else: st.warning("Please select a valid email address to proceed.") @st.dialog("Bring your hook , and we will match it with the leads", width="large") def hook_dialog(email_address): hooks(email_address) @st.dialog("personalized cold emails for company offerings", width="large") def cold_organization_dialog(): CompanySpecificClient(email_address) @st.dialog("personalized cold emails for executive achievements", width="large") def cold_executive_dialog(): UserSpecificClient(email_address) @st.dialog("Tailored emails for re-engaging leads", width="large") def rengage_lead(): RengagmentEmail(email_address) if __name__ == "__main__": logo_url = "https://i.imgur.com/WYnv26e.jpeg" # Replace this with your image's direct URL st.markdown( f""" """, unsafe_allow_html=True, ) main() display_analytics()