Skip to content
NEWMeet Alaaddin, your AI genie with a voice. trig8n launches 1 January 2027. See what is new

Library / Email Automation

Email Automation

Send weekly KPI executive summaries from Google Sheets via Gemini, Gmail and Slack

On a schedule, it handles email with Google Gemini using Gmail, Google Sheets, Slack.

What it does

## How workflow works This workflow runs every week and gathers KPI values from Google Sheets and a benchmark API. It standardizes the data, merges the two sources, and calculates trend metrics such as change, percentage movement, and target status. After that, it creates one summary prompt for Gemini, which generates an executive style weekly update. The final message is then formatted for both email and Slack and saved into a Google Sheet log for future tracking. The workflow is now fully automated, repeatable, and ready for weekly reporting. ## Setup steps 1. Set the weekly trigger schedule. 2. Prepare the Google Sheet with the KPI columns. 3. Connect the Google Sheets and Slack and Gmail credentials. 4. Keep the benchmark API node only for testing or demo runs. 5. Ensure the normalize nodes output one clean structure. 6. Confirm the merge and trend calculation nodes return correct values. 7. Review the final summary, then save email and Slack delivery outputs.

The steps

  1. Weekly KPI Schedule Trigger
  2. Set Weekly Report Context
  3. Read Weekly KPI Data
  4. Fetch Benchmark KPI Data
  5. Normalize Sheet KPI Data
  6. Normalize Benchmark KPI Data
  7. Merge KPI Data Sources
  8. Calculate Weekly KPI Trends
  9. Build Executive Summary Prompt
  10. Generate Weekly KPI Summary
  11. Format Email and Slack Message
  12. Send Weekly Summary Email
  13. Send Weekly Summary to Slack
  14. Log Weekly Summary to Google Sheets

Similar automations