Pull metrics from Google Sheets every Friday, format them into a digest, and email it to stakeholders automatically.
// Make.com — turn a rows array from Google Sheets into a digest string
const rows = JSON.parse(input.rows); // [["MRR","$12,400"],["Churn","2.1%"]]
const digest = rows
.map(([metric, value]) => `• ${metric}: ${value}`)
.join("\n");
return { digest, generatedAt: new Date().toISOString().slice(0, 10) };