Zet deze environment variables in je .env bestand:
CW_URL=https://crm.stephenadei.nl
CW_ACC_ID=your_account_id
CW_ADMIN_TOKEN=your_admin_token
CW_TOKEN=your_bot_token
CW_HMAC_SECRET=your_hmac_secret
cd tutorbot
python3 scripts/setup_all.py
Dit script:
De automation rules moeten handmatig worden geconfigureerd in de Chatwoot interface:
config/automations.yaml| Bestand | Beschrijving |
|---|---|
config/contact_attributes.yaml |
Contact eigenschappen (blijvend) |
config/conversation_attributes.yaml |
Conversatie eigenschappen (per ticket) |
config/labels_lean.yaml |
Lean labels voor routing |
config/automations.yaml |
Automation rules specificatie |
scripts/setup_all.py |
Master setup script |
scripts/setup_attributes.py |
Custom attributes setup |
scripts/setup_labels.py |
Labels setup |
docs/README_chatwoot_setup.md |
Volledige documentatie |
audience:po|vmbo|havo|vwo|mbo|university:wo|university:hbo|adultsubject:math|stats|science|english|data-science|programming|didactics|economics|creativeservice:trial|1on1|group|exam-prep|workshop|project-supervision|consultancystatus:*|payment:*|priority:urgent|flag:vip|spamAttributes:
program: mbo_rekenen_3f
topic_primary: "percentages"
toolset: ""
Labels:
audience:mbo
subject:math
service:trial
status:awaiting_reply
Attributes:
program: none
topic_primary: "calculus"
toolset: "python"
Labels:
audience:university:wo
subject:math
subject:data-science
service:1on1
# List existing labels
python3 scripts/setup_labels.py list
# List existing attributes
python3 scripts/setup_attributes.py list
# Setup only contact attributes
python3 scripts/setup_attributes.py contact
# Setup only conversation attributes
python3 scripts/setup_attributes.py conversation
Voor vragen over deze setup, neem contact op met Stephen via de bot of direct.
Status: ✅ Ready for production
Laatste update: December 2024
Versie: 1.0.0