- 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
28 lines
637 B
Bash
Executable File
28 lines
637 B
Bash
Executable File
#!/bin/bash
|
|
# Iron Fitness Coach - Telegram Commands
|
|
|
|
WORKSPACE="/Users/claw/.openclaw/workspace/agents/fitness-coach"
|
|
SCRIPT="$WORKSPACE/scripts/iron-agent.py"
|
|
|
|
case "$1" in
|
|
workout)
|
|
python3 "$SCRIPT" workout
|
|
;;
|
|
meal)
|
|
python3 "$SCRIPT" meal
|
|
;;
|
|
progress)
|
|
python3 "$SCRIPT" progress
|
|
;;
|
|
log)
|
|
python3 "$SCRIPT" log "$2"
|
|
;;
|
|
*)
|
|
echo "Iron Fitness Coach Commands:"
|
|
echo " ./commands.sh workout - Today's workout"
|
|
echo " ./commands.sh meal - Meal suggestion"
|
|
echo " ./commands.sh progress - Weekly progress"
|
|
echo " ./commands.sh log '<result>' - Log result"
|
|
;;
|
|
esac
|