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
This commit is contained in:
18
agents/marketing-content/daily-run.sh
Executable file
18
agents/marketing-content/daily-run.sh
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Daily Marketing Content Generation
|
||||
# Triggers the marketing-content-creator subagent via OpenClaw Gateway API
|
||||
|
||||
LOG_FILE="/Users/claw/.openclaw/workspace/agents/marketing-content/cron.log"
|
||||
DATE=$(date +%Y-%m-%d)
|
||||
|
||||
echo "[$(date)] Starting daily marketing content generation" >> "$LOG_FILE"
|
||||
|
||||
# Run via openclaw agent command which routes through the gateway
|
||||
# Using the agent turn execution with a message payload
|
||||
TASK_MSG="You are the Marketing Content Creator for HoaLedgerIQ. Today is $DATE. Run your full daily workflow: 1) Research hoaledgeriq.com product features, 2) Search web for HOA/condo financial trends, 3) Create dated content: twitter thread, blog outline, linkedin post, image concepts. Never post anything, only create drafts. Save all files dated with $DATE."
|
||||
|
||||
# Use a dedicated session for marketing-content to avoid locking the main session MARKETING_SESSION_ID="3095ddeb-c39c-4740-b01d-599feb0213a4" openclaw agent --session-id "$MARKETING_SESSION_ID" -m "$TASK_MSG" --thinking low >> "$LOG_FILE" 2>&1
|
||||
|
||||
EXIT_CODE=$?
|
||||
echo "[$(date)] Completed with exit code: $EXIT_CODE" >> "$LOG_FILE"
|
||||
Reference in New Issue
Block a user