Workflows d’automatisation N8N
Ces workflows sont disponibles pour import dans votre instance N8N (https://auto.asvola.fr/).
1. Proposition d’événement agenda
Fichier : /n8n/workflow-agenda-proposition.json
Déclencheur : Webhook POST https://auto.asvola.fr/webhook/belr-agenda-proposition
Actions :
- Filtre anti-spam (honeypot)
- Email de notification à
contact@belr-hautanjou.fravec toutes les données - Email de confirmation automatique à l’organisateur
- Réponse HTTP 200 au formulaire
Import : Menu N8N → Workflows → Import → coller le JSON
2. Export quotidien ICS vers Nextcloud
Fichier : /n8n/workflow-export-ics-quotidien.json
Déclencheur : Automatique toutes les 6h
Actions :
- Télécharge les 3 calendriers ICS depuis Nextcloud CalDAV
- Dépose les fichiers dans
/remote.php/dav/files/belr-export/calendars/via WebDAV - Ces fichiers sont ensuite récupérés par le build Hugo
Configuration requise :
- Créer des credentials HTTP Basic Auth dans N8N (compte Nextcloud avec accès WebDAV)
- Synchroniser le dossier Nextcloud vers
static/calendars/du site Hugo (rsync, webhook de déploiement, ou Nextcloud sync)
Commande rsync d’exemple :
rsync -avz \
--rsh='sshpass -p PASS ssh user@nextcloud.belr-hautanjou.fr' \
/path/nextcloud/calendars/*.ics \
/path/hugo/static/calendars/