- 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
14 lines
221 B
Bash
14 lines
221 B
Bash
#!/bin/bash
|
|
# Helper script to run web search using OpenClaw
|
|
|
|
query="$1"
|
|
output_file="$2"
|
|
|
|
# Use OpenClaw tool
|
|
cat << EOF | openclaw tool web_search > "$output_file" 2>/dev/null
|
|
{
|
|
"query": "$query",
|
|
"count": 10
|
|
}
|
|
EOF
|