File size: 4,742 Bytes
409b9af
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
import streamlit as st
import json
from datetime import datetime

st.set_page_config(
    page_title="AgentKit Shop: Small Business Automation Pack",
    page_icon="🤖",
    layout="wide"
)

st.title("🤖 AgentKit Shop: Small Business Automation Pack")
st.markdown("### Production-Ready AI Agent Workflows Powered by Python, Composio & Stripe ($19 Full Edition)")

st.sidebar.header("Navigation & Workflows")
workflow = st.sidebar.selectbox(
    "Select Workflow Template",
    [
        "1. Inbound Lead Triage & Gmail Reply",
        "2. Overdue Invoice Chaser",
        "3. Lead Enrichment & CRM Sync",
        "4. Automated Follow-up Sequencer",
        "5. Meeting Scheduler & Booker"
    ]
)

st.sidebar.markdown("---")
st.sidebar.markdown("### 🛒 Get the Complete Pack")
st.sidebar.markdown("**Price: $19 (All 5 Workflows)**")
st.sidebar.markdown("[Buy on Gumroad / Stripe](https://buy.stripe.com/8x26oJ4Z30rx0zb6rKbMQ0u)")
st.sidebar.markdown("[GitHub Repository](https://github.com/brettanthonysjoberg179-lab/agentkit-lead-triage)")

if "1." in workflow:
    st.header("1. Inbound Lead Triage & Gmail Reply Draft Agent")
    st.markdown("Automatically polls unread emails, classifies lead intent (Pricing, Support, Partnership), and drafts tailored responses.")
    
    sender = st.text_input("Lead Email", "buyer@sydneyrealestate.example.com")
    subject = st.text_input("Email Subject", "Enterprise pricing & real estate agent packs")
    snippet = st.text_area("Email Body / Snippet", "Hi, I'm interested in enterprise pricing and custom packs for my real estate agency.")
    
    if st.button("Run Triage Agent"):
        text = f"{subject} {snippet}".lower()
        if "pricing" in text or "cost" in text or "buy" in text or "enterprise" in text:
            category = "Hot Sales / Pricing"
            reply = "Hi there,\n\nThanks for reaching out! You can get started instantly here: https://buy.stripe.com/8x26oJ4Z30rx0zb6rKbMQ0u\n\nBest,\nAgentKit Team"
        else:
            category = "General Inquiry"
            reply = "Hi there,\n\nThanks for reaching out to AgentKit Shop! How can we help you automate today?\n\nBest,\nAgentKit Team"
            
        st.success("Triage completed successfully!")
        st.json({
            "category": category,
            "reply_subject": f"Re: {subject}",
            "reply_body": reply,
            "status": "Draft Created in Gmail via Composio"
        })

elif "2." in workflow:
    st.header("2. Overdue Invoice Chaser Agent")
    st.markdown("Flags unpaid client invoices and sends polite automated reminder emails with instant Stripe payment links.")
    
    client = st.text_input("Client Name", "Apex Digital Agency")
    email = st.text_input("Client Email", "billing@apexdigital.example.com")
    amount = st.number_input("Amount Due (AUD)", value=1500.00)
    invoice_id = st.text_input("Invoice ID", "INV-2026-042")
    
    if st.button("Run Invoice Chaser"):
        st.success(f"Invoice reminder simulated for {client} ({email}) for ${amount:.2f} AUD.")
        st.info(f"Payment Link Sent: https://buy.stripe.com/test_invoice_{invoice_id}")

elif "3." in workflow:
    st.header("3. Lead Enrichment & CRM Sync Agent")
    st.markdown("Enriches inbound leads with company metadata and syncs them to your CRM / Google Sheets via Composio.")
    
    lead_name = st.text_input("Lead Name", "Sarah Connor")
    company = st.text_input("Company Name", "Cyberdyne Systems")
    
    if st.button("Enrich & Sync Lead"):
        st.success(f"Enriched {lead_name} from {company}!")
        st.json({
            "lead_name": lead_name,
            "company": company,
            "company_size": "50-200 employees",
            "score": "Hot Lead (Tier 1)",
            "crm_status": "Synced to Google Sheets via Composio"
        })

elif "4." in workflow:
    st.header("4. Automated Follow-up Sequencer Agent")
    st.markdown("Schedules multi-step email follow-up sequences for unresponsive prospects.")
    
    prospect = st.text_input("Prospect Name", "Marcus Vance")
    step = st.slider("Sequence Step", 1, 3, 2)
    
    if st.button("Dispatch Follow-up"):
        st.success(f"Step {step} follow-up email dispatched to {prospect} via Composio Gmail tool.")

elif "5." in workflow:
    st.header("5. Meeting Scheduler & Calendar Booker Agent")
    st.markdown("Automatically parses calendar invite requests and books meetings via Composio Calendar tools.")
    
    attendee = st.text_input("Attendee Name", "Elena Rostova")
    slot = st.text_input("Requested Slot", "2026-10-15T10:00:00Z")
    
    if st.button("Book Meeting"):
        st.success(f"Meeting booked successfully for {attendee} at {slot} via Google Calendar / Composio!")