MVA Global Fret static HTML site (mirror of GitHub MVA-Global-Fret/site-mva-global-fret) � deployed to VPS Falkenstein for mva-globalfret.com
Go to file
MVA Global Fret 0ef9f01fd9 Worker: cron post-confirmation pour envoyer le welcome email après opt-in
Architecture finale (Option A choisie) :

1. User submit form → contact créé en HubSpot avec reference_client
2. HubSpot envoie l'email de double opt-in (sans la ref ni l'adresse Paris)
3. User clique 'Confirmer' → HubSpot met hs_emailconfirmationstatus = CONFIRMED
4. Cron Cloudflare (toutes les 5 min) :
   - Liste les contacts CONFIRMED + créés après le cutoff
   - Filtre via Cloudflare KV (welcomed:<email>) pour idempotence
   - Envoie le welcome email via EmailJS REST API avec :
     • firstname
     • reference_client
     • paris_address (depuis env var PARIS_DEPOT_ADDRESS)
   - Marque envoyé dans KV avec TTL 1 an

Protection :
- L'adresse du dépôt Paris ne quitte JAMAIS Cloudflare/EmailJS
- Elle n'arrive au client que dans le mail de bienvenue post-opt-in
- Bots qui n'ont pas un vrai email ne peuvent pas valider → ne reçoivent rien
- Anti-spam et anti-cartons-vides blindé

Ajout d'une action 'triggerWelcomeQueue' pour debug/manual run.
Doc complète dans cloudflare-worker/DEPLOIEMENT.md (étapes 1 à 6).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-05 23:24:26 +02:00
.claude Swap colorkey'd cloud for Microsoft Fluent 3D cloud emoji 2026-05-05 01:50:44 +02:00
.github/workflows Add Actions-based Pages deploy workflow 2026-05-05 17:05:13 +02:00
assets Switch parcel sprites to a real 3D parachute GLB with bound cargo 2026-05-05 13:32:48 +02:00
cloudflare-worker Worker: cron post-confirmation pour envoyer le welcome email après opt-in 2026-05-05 23:24:26 +02:00
css Intro: bouton 'Accéder au site' visible immédiatement, sans animation 2026-05-05 22:21:30 +02:00
images/payment-logos Replace generic icons with real payment brand logos 2026-05-04 22:05:09 +02:00
js Add post-confirmation page that triggers welcome email after double opt-in 2026-05-05 23:03:19 +02:00
.gitignore Initial commit — Site MVA Global Fret 2026-05-02 22:23:48 +02:00
about.html Add cinematic parallax intro page as new landing 2026-05-04 22:18:02 +02:00
accueil.html Add cinematic parallax intro page as new landing 2026-05-04 22:18:02 +02:00
application.html Add cinematic parallax intro page as new landing 2026-05-04 22:18:02 +02:00
cgv.html Add cinematic parallax intro page as new landing 2026-05-04 22:18:02 +02:00
confirmation.html Add post-confirmation page that triggers welcome email after double opt-in 2026-05-05 23:03:19 +02:00
contact.html Contact: ne plus afficher la référence avant validation email 2026-05-05 22:53:23 +02:00
guide-envoi.html Add cinematic parallax intro page as new landing 2026-05-04 22:18:02 +02:00
index.html Switch parcel sprites to a real 3D parachute GLB with bound cargo 2026-05-05 13:32:48 +02:00
PNG MVA GLOBAL FRET.png Initial commit — Site MVA Global Fret 2026-05-02 22:23:48 +02:00
service-commande.html Service Commande: stack transport card on mobile (button no longer cropped) 2026-05-05 22:07:51 +02:00
tarifs.html Tarifs: 'Livraison en Province' = à partir de 6 000 Ar (FR/EN/MG) 2026-05-05 22:23:54 +02:00