Passer au contenu principal

Make — envoyer automatiquement les statistiques de tes campagnes LGM par email

Automatise un rapport email clair et récurrent avec les métriques clés de tes campagnes.

Antoine Perez avatar
Écrit par Antoine Perez
Mis à jour aujourd’hui

Aperçu

Tu veux garder un œil sur les performances sans ouvrir LGM tous les jours ? Avec Make, tu peux t’envoyer automatiquement un rapport email contenant les métriques essentielles de tes campagnes (acceptations, réponses, conversions…). Tu définis simplement la fréquence souhaitée : chaque semaine, toutes les deux semaines ou une fois par mois.

Avantages

  • Visibilité Suis facilement l’évolution des taux d’acceptation et de réponse

  • Partage Envoie automatiquement les résultats à ton équipe

  • Fiabilité Reçois des rapports planifiés qui arrivent toujours à temps


Étape 1 : récupérer les prérequis (clé API + Campaign ID)

Récupérer ta clé API externe

  1. Ouvre LGM → All settings.

  2. Va dans Integrations & API → API puis récupère ta clé API externe:

Récupérer le Campaign ID

Pour récupérer les statistiques de la campagne, tu dois d’abord obtenir son Campaign ID, l’identifiant interne de ta campagne.

  1. Ouvre la page de ta campagne.

  2. L’ID se trouve dans l’URL, par exemple :
    https://app.lagrowthmachine.com/campaigns/66d5b7969da42c6b0685e9/overview
    → Ici, l’ID est 66d5b7969da42c6b0685e9 :


Création du scénario dans Make

Pour pouvoir créer le scénario Make, suis ce tutoriel simple qui te guide pas à pas:

Call API 1 : Get Campaign (infos de la campagne)

Dans ton premier module HTTP — Make a request, utilise l’URL suivante avec la méthode GET :

https://apiv2.lagrowthmachine.com/flow/campaigns/:campaignId?apikey=Your-external-apikey

  • Remplace apikey par ta clé API externe.

  • Remplace :campaignId par ton Campaign ID.

  • Active Parse response.

  • Clique Run this module only pour tester et générer une sortie.

  • Vérifie que tu récupères bien les champs de campagne (ex. data.campaign.name).

Note : Cet appel récupère le nom et les métadonnées de la campagne pour ton email (en-tête, objet, etc.).

Call API 2 : Get Campaign Stats (métriques)

Ajoute un deuxième module HTTP — Make a request avec la méthode GET :

https://apiv2.lagrowthmachine.com/flow/campaigns/:campaignId/stats?apikey=Your-external-apikey

  • Remplace apikey et :campaignId comme précédemment.

  • Active Parse response.

  • Clique Run this module only pour tester.

Important : Tu auras bien deux appels distincts dans le scénario :

  • Get Campaign pour le contexte et le nom

  • Get Campaign Stats pour les données chiffrées

Préparer l’email automatique

Tu peux personnaliser :

  • L’objet dans Subject

  • Le contenu dans Content, en insérant les champs provenant des appels API (nom de campagne, audience, réponses, etc.).

Si tu préfères un modèle prêt à l’emploi, sélectionne Body type → Raw HTML et colle ce template :

Code HTML à copier

<!-- ✅ LGM Weekly Campaign Report - HTML email (600px) -->
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8" />
<title>Weekly LGM Campaign Report</title>
<meta name="color-scheme" content="light only">
<meta name="supported-color-schemes" content="light only">
</head>
<body style="margin:0; padding:0; background:#f5f6fb; font-family:Arial, Helvetica, sans-serif; color:#1c1c28;">
<div style="display:none; max-height:0; overflow:hidden; opacity:0;">Your weekly LGM campaign report is ready.</div>

<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%" style="background:#f5f6fb; padding:24px 12px;">
<tr>
<td align="center">
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="600" style="width:600px; max-width:600px; background:#ffffff; border-radius:12px; overflow:hidden; box-shadow:0 2px 8px rgba(20,16,51,0.06);">
<!-- Header -->
<tr>
<td style="background:#1a1535; padding:18px 20px;">
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td valign="middle" style="width:48px;">
<img src="https://i.imgur.com/QGlv090.png" width="120" alt="La Growth Machine" style="display:block; height:auto;">
</td>
<td align="right" valign="middle">
<div style="font-size:16px; color:#C6C3EE; letter-spacing:.2px;">Weekly Campaign Report</div>
<div style="font-size:18px; color:#C6C3EE; margin-top:4px;">{{1.data.campaign.name}}</div>
<div style="font-size:20px; color:#FFFFFF; font-weight:700; line-height:1.2; margin-top:2px;">
Campaign ID: {{10.data.engagementStats.campaignId}}
</div>
</td>
</tr>
</table>
</td>
</tr>

<!-- Summary band -->
<tr>
<td style="background:#f0eff8; padding:14px 20px; border-bottom:1px solid #e7e6f2;">
<div style="font-size:14px; color:#4b4576;">📊 Performance snapshot — sent automatically every Monday.</div>
</td>
</tr>

<!-- Overview -->
<tr>
<td style="padding:20px;">
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%"
style="border:1px solid #ececf5; border-radius:10px; overflow:hidden;">
<tr>
<td colspan="2" style="background:#faf9ff; padding:12px 16px; border-bottom:1px solid #ececf5; font-weight:700; color:#1a1535;">
Overview
</td>
</tr>
<tr>
<td style="padding:12px 16px; width:50%; border-bottom:1px solid #f2f1fa; color:#55516b;">Audience size</td>
<td style="padding:12px 16px; width:50%; border-bottom:1px solid #f2f1fa; font-weight:700; color:#1c1c28;">
{{10.data.engagementStats.audienceSize}}
</td>
</tr>
<tr>
<td style="padding:12px 16px; border-bottom:1px solid #f2f1fa; color:#55516b;">Started</td>
<td style="padding:12px 16px; border-bottom:1px solid #f2f1fa; font-weight:700; color:#1c1c28;">
{{10.data.engagementStats.started}}
</td>
</tr>
<tr>
<td style="padding:12px 16px; border-bottom:1px solid #f2f1fa; color:#55516b;">Completed</td>
<td style="padding:12px 16px; border-bottom:1px solid #f2f1fa; font-weight:700; color:#1c1c28;">
{{10.data.engagementStats.completed}}
</td>
</tr>
<tr>
<td style="padding:12px 16px; color:#55516b;">Converted</td>
<td style="padding:12px 16px; font-weight:700; color:#1c1c28;">
{{10.data.engagementStats.converted}}
</td>
</tr>
</table>
</td>
</tr>

<!-- Replies -->
<tr>
<td style="padding:0 20px 20px 20px;">
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%"
style="border:1px solid #ececf5; border-radius:10px; overflow:hidden;">
<tr>
<td colspan="3" style="background:#faf9ff; padding:12px 16px; border-bottom:1px solid #ececf5; font-weight:700; color:#1a1535;">
Replies
</td>
</tr>
<tr>
<td style="padding:12px 16px; width:40%; border-bottom:1px solid #f2f1fa; color:#55516b;">Contacted</td>
<td style="padding:12px 16px; width:30%; border-bottom:1px solid #f2f1fa; font-weight:700; color:#1c1c28;">
{{10.data.engagementStats.replies.contacted}}
</td>
<td style="padding:12px 16px; width:30%; border-bottom:1px solid #f2f1fa; color:#4b4576;">&nbsp;</td>
</tr>
<tr>
<td style="padding:12px 16px; border-bottom:1px solid #f2f1fa; color:#55516b;">Total replies</td>
<td style="padding:12px 16px; font-weight:700; color:#1c1c28;">
{{10.data.engagementStats.replies.replied}}
</td>
<td style="padding:12px 16px; color:#4b4576;">
{{10.data.engagementStats.replies.contactedReplyPercent}}%
</td>
</tr>
<tr>
<td style="padding:12px 16px; border-bottom:1px solid #f2f1fa; color:#55516b;">LinkedIn replies</td>
<td style="padding:12px 16px; font-weight:700; color:#1c1c28;">
{{10.data.engagementStats.replies.linkedinReplied}} / {{10.data.engagementStats.replies.linkedinContacted}}
</td>
<td style="padding:12px 16px; color:#4b4576;">
{{10.data.engagementStats.replies.linkedinContactedReplyPercent}}%
</td>
</tr>
<tr>
<td style="padding:12px 16px; color:#55516b;">Email replies</td>
<td style="padding:12px 16px; font-weight:700; color:#1c1c28;">
{{10.data.engagementStats.replies.emailReplied}} / {{10.data.engagementStats.replies.emailContacted}}
</td>
<td style="padding:12px 16px; color:#4b4576;">
{{10.data.engagementStats.replies.emailContactedReplyPercent}}%
</td>
</tr>
</table>
</td>
</tr>

<!-- Relations -->
<tr>
<td style="padding:0 20px 24px 20px;">
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%"
style="border:1px solid #ececf5; border-radius:10px; overflow:hidden;">
<tr>
<td colspan="3" style="background:#faf9ff; padding:12px 16px; border-bottom:1px solid #ececf5; font-weight:700; color:#1a1535;">
Relations
</td>
</tr>
<tr>
<td style="padding:12px 16px; width:40%; border-bottom:1px solid #f2f1fa; color:#55516b;">Requests sent</td>
<td style="padding:12px 16px; width:30%; border-bottom:1px solid #f2f1fa; font-weight:700; color:#1c1c28;">
{{10.data.engagementStats.relations.requestSent}}
</td>
<td style="padding:12px 16px; width:30%; border-bottom:1px solid #f2f1fa; color:#4b4576;">&nbsp;</td>
</tr>
<tr>
<td style="padding:12px 16px; border-bottom:1px solid #f2f1fa; color:#55516b;">New relations</td>
<td style="padding:12px 16px; font-weight:700; color:#1c1c28;">
{{10.data.engagementStats.relations.newRelations}}
</td>
<td style="padding:12px 16px; color:#4b4576;">
{{10.data.engagementStats.relations.newRelationsPercent}}%
</td>
</tr>
<tr>
<td style="padding:12px 16px; color:#55516b;">Already connected</td>
<td style="padding:12px 16px; font-weight:700; color:#1c1c28;">
{{10.data.engagementStats.relations.alreadyConnected}}
</td>
<td style="padding:12px 16px; color:#4b4576;">&nbsp;</td>
</tr>
</table>
</td>
</tr>

<!-- Footer -->
<tr>
<td style="padding:16px 20px 26px 20px; text-align:center; color:#6b678a; font-size:12px;">
Sent automatically every Monday • Powered by La Growth Machine & Make
</td>
</tr>
</table>

<div style="height:24px; line-height:24px;">&nbsp;</div>
</td>
</tr>
</table>
</body>
</html>

Le résultat du template :

Et voilà, tu recevras désormais automatiquement un rapport clair et complet de tes campagnes, sans rien avoir à faire. Il ne te reste plus qu’à lancer ton scénario 🚀

Note : Les champs comme {{10.data.engagementStats.*}} viennent des module HTTP. Vérifie les chemins exacts et remplace-les si nécessaire par ceux issus de ton module.

Si besoin, consulte la documentation API de LGM.


FAQs

Comment vérifier si mes données API sont correctement mappées ?

Teste chaque module avec Run this module only et inspecte la sortie pour confirmer les chemins utilisés.

Puis-je modifier la fréquence d’envoi sans refaire tout le scénario ?

Oui. Change simplement le module Scheduler dans Make pour ajuster la cadence.

Puis-je ajouter d’autres métriques dans l’email ?

Oui. Ajoute-les dans le HTML ou dans ton bloc de texte, en mappant les champs récupérés via l’API.

Le template HTML est-il obligatoire ?

Non. Tu peux rédiger ton email en texte simple, utiliser ce template ou créer ton propre HTML.

Avez-vous trouvé la réponse à votre question ?