Mailchimp Weekly Email Marketing Digest
Each week the flow summarizes Mailchimp performance — campaigns sent, average open and click rates, list growth, top-performing campaign, and week-over-week change — into an HTML report, posts highlights to a Teams marketing channel, and emails leadership. Flags declining engagement. Keeps the team on top of email performance.
Provided as-is, without warranty of any kind. Review and test each pattern in a non-production environment before deploying it to live automations. See our Terms.
Overview
This solution produces a weekly Mailchimp email-marketing performance digest. Every Monday morning it reads all Mailchimp campaigns and audiences, aggregates the current 7-day window against the prior 7-day window, and renders an HTML report covering campaigns sent, emails delivered, average open and click rates, week-over-week open-rate change, the top-performing campaign, total audience, and list growth. Highlights are posted to a Teams marketing channel and the full report is emailed to leadership. If the average open rate falls below a configurable threshold, the digest flags declining engagement.
Why it matters: Email performance needs steady attention. A pushed weekly readout keeps marketing and leadership focused on what is working and what is slipping - without anyone opening Mailchimp.
Status: Built via API-first deployment, shipped Off (demo). Going live requires only authorizing the connections and setting environment-variable values.
Use Case
Marketing wants a no-effort weekly readout of email performance and list health, and leadership wants the headline numbers in their inbox. This flow replaces a manual weekly export-and-summarize task with an automatic, scheduled digest.
Flow Architecture
Weekly Recurrence
Recurrence (Week / Mon 08:00 ET)Fires the weekly digest.
Initialize Config Variables
Initialize Variable (×5)Load config from environment variables (email, threshold->Float, lookback->Integer, Teams IDs).
Initialize Accumulators
Initialize Variable (×11)Accumulators for the aggregation loops (counts, sums, top campaign, prior window, members, growth, engagement status).
Get Mailchimp Campaigns
Mailchimp — GetCampaignsAll campaigns (each carries report_summary open/click rates + emails_sent).
Get Mailchimp Lists
Mailchimp — GetListsAll audiences (each carries stats.member_count and member_count_since_send).
Filter Current Window Campaigns
Query (Filter array)Keeps status = sent campaigns within the last lookback days.
Filter Prior Window Campaigns
Query (Filter array)Keeps sent campaigns in the prior equal-length window (for week-over-week).
Aggregate Current Campaigns
Foreach (sequential)Sums count, emails, open/click rates; tracks top campaign by open rate.
Aggregate Prior Campaigns
Foreach (sequential)Sums prior-window count + open rate.
Aggregate Lists
Foreach (sequential)Totals audience size and net growth-since-last-send.
Environment Variables
| Schema name | Type | Default | Description |
|---|---|---|---|
| flowlibs_MarketingLeadershipEmail | String | marketing-leadership@yourcompany.com | Recipient of the leadership email digest. |
| flowlibs_MailchimpOpenRateThreshold | String | 0.15 | Avg open rate (decimal) below which engagement is flagged declining. |
| flowlibs_MailchimpDigestLookbackDays | String | 7 | Length of the current window (and the prior window) in days. |
| flowlibs_TeamsGroupId | String | <your-team-id> | Teams team (group) id for the marketing channel. |
| flowlibs_TeamsChannelId | String | <your-channel-id> | Teams channel id for the marketing channel. |
Connectors & Connections
| Connector | API name | Actions used |
|---|---|---|
| Mailchimp | shared_mailchimp | GetCampaigns GetLists |
| Microsoft Teams | shared_teams | PostMessageToConversation |
| Office 365 Outlook | shared_office365 | SendEmailV2 |
Note — All connections are referenced as solution connection references; the flow is portable between environments as long as a connection is mapped at import time.
Customization Guide
Almost every realistic variant of this flow can be implemented by changing environment variable values. A few cases require small edits inside the flow definition — those are called out explicitly below.
- Threshold tuning
- Adjust flowlibs_MailchimpOpenRateThreshold (e.g. 0.20 for 20%) to change when declining-engagement is flagged.
- Window length
- Change flowlibs_MailchimpDigestLookbackDays to run a daily (1), bi-weekly (14), or monthly (30) digest; the prior-window comparison auto-adjusts.
- Schedule
- Edit the Weekly Recurrence trigger (frequency / day / hour / time zone).
- Per-audience digests
- Clone and filter campaigns by recipient.list_id to send separate digests per audience.
- Power BI
- Extend with a Mailchimp to Dataverse to Power BI pipeline for a full historical dashboard.
Key Expressions
The flow is intentionally light on Power Fx / WDL gymnastics — the heaviest expressions are the branch-name concatenation and the approval outcome check. They are listed below in the order they appear in the flow.
EXPR.01Current-window filter
Sent campaigns within the lookback window.
EXPR.02Average open rate (guarded)
Divide-by-zero guarded average.
EXPR.03Week-over-week delta
Open-rate change vs the prior window.
EXPR.04Percent display
Formats the rate as a percentage, e.g. 23.4.
Customize & download
Generate a ready-to-import copy of this solution with your environment-variable values baked in — available on Base, Pro, or Team.
Upgrade to customize
Comments
Sign in to join the conversation.
Sign inNo comments yet. Be the first to share your experience with this flow.