Files
HOALedgerIQ_Website/agents/sales-prospector/status.sh
olsch01 5319bcd30b feat: Add Chatwoot Agent Bot prototype and FAQ knowledge base
- Created chatwoot-agent-bot/ with Node.js webhook server
- Bot detects intent (greeting, billing, technical, features, account)
- Auto-responds from FAQ knowledge base or escalates to human
- FAQ-KB.md: Living knowledge base that grows with customer questions
- CHATWOOT-SETUP.md: Complete deployment and configuration guide
- Supports Telegram notifications on escalation
- Bot runs on port 3001, ready for Chatwoot webhook integration
2026-04-01 16:26:05 -04:00

39 lines
986 B
Bash
Executable File

#!/bin/bash
# Sales Prospector Status Check
echo "=== SALES PROSPECTOR STATUS ==="
echo "Checked: $(date)"
echo ""
# Check if running
if pgrep -f "sales-prospector/prospector.sh" > /dev/null; then
echo "✅ Status: RUNNING"
echo "PID: $(pgrep -f "sales-prospector/prospector.sh")"
else
echo "❌ Status: NOT RUNNING"
fi
echo ""
# Show current state
echo "Current State:"
cat "/Users/claw/.openclaw/workspace/agents/sales-prospector/state/prospector-state.json" | jq .
echo ""
# Show today's log summary
echo "Today's Activity:"
LOG="/Users/claw/.openclaw/workspace/agents/sales-prospector/logs/prospector-$(date +%Y%m%d).log"
if [[ -f "$LOG" ]]; then
echo "Current Metro: $(grep "Metro:" "$LOG" | tail -1 | sed 's/.*Metro: //')"
echo "Total Starts: $(grep -c "=== Sales Prospector Started ===" "$LOG")"
echo "Leads Found: $(grep -c "Pushed:" "$LOG")"
echo "Last 5 activity lines:"
tail -5 "$LOG"
else
echo "No log file yet"
fi
echo ""
echo "=== End Status ==="