Génère automatiquement une feuille de route HTML personnalisée après chaque appel de closing pour L’Académie des Coachs.
Flow :
Appel Fathom terminé
↓
Fathom → Webhook → webhook_bridge.py (hébergé)
↓
GitHub repository_dispatch
↓
GitHub Actions → generate.py
↓
Claude API (extraction + chantiers + HTML)
↓
Fichier HTML commité dans /output
git clone https://github.com/TON-USERNAME/adc-roadmap-agent
cd adc-roadmap-agent
Dans ton repo → Settings → Secrets → Actions → New repository secret :
| Nom | Valeur |
|---|---|
FATHOM_API_KEY |
Clé API Fathom (Settings → API) |
ANTHROPIC_API_KEY |
Clé API Anthropic (console.anthropic.com) |
Aller dans Actions → Generate AdC Roadmap → Run workflow.
call_id vide = prend le dernier appel AdCLe fichier HTML apparaîtra dans /output/ après ~2 min.
Héberger le webhook bridge (gratuit sur Railway ou Render) :
python src/webhook_bridge.pyGITHUB_TOKEN=ghp_xxxx # PAT avec scope repo
GITHUB_REPO=ton-username/adc-roadmap-agent
WEBHOOK_SECRET=un-secret-fort # optionnel mais conseillé
PORT=5000
https://xxx.railway.apppip install -r requirements.txtpython src/webhook_bridge.pyCréer le GitHub Personal Access Token :
repoghp_xxxConfigurer le webhook dans Fathom :
https://ton-app.railway.app/webhook/fathomcall.completed (ou équivalent selon la version)WEBHOOK_SECRETpip install requests
export FATHOM_API_KEY="..."
export ANTHROPIC_API_KEY="..."
# Dernier appel AdC
python src/generate.py --latest
# Call spécifique
python src/generate.py --call-id "abc123"
Le fichier HTML est généré dans ./output/.
Le bridge et le script filtrent les calls par mots-clés dans le titre/participants :
Tu peux modifier la variable ADC_KEYWORDS dans webhook_bridge.py ou via la variable d’env du même nom.
├── .github/workflows/
│ └── generate-roadmap.yml # GitHub Actions
├── src/
│ ├── generate.py # Script principal
│ └── webhook_bridge.py # Serveur Flask webhook → GitHub
├── output/ # Fichiers HTML générés (commités auto)
├── requirements.txt
└── README.md