Quick overview
This workflow runs every Monday and checks a Google Sheets contact list for clients inactive for 14+ days, then sends each one a re-engagement email via Gmail, logs the outreach to a second Google Sheets tab, and posts a top-10 summary (plus error alerts) to Slack.
How it works
- Runs every Monday at 9:00 AM using a scheduled trigger.
- Reads all contact rows from Google Sheets (Sheet1) in the “Client Engagement Automation” spreadsheet.
- Calculates which contacts have a “Last Activity Date” older than 14 days and flags them as needing attention.
- Splits the inactive contact list into one item per contact and keeps only records flagged for attention.
- Sends a re-engagement email to each inactive contact using Gmail.
- Appends each contacted client to Google Sheets (Sheet2), then compiles a Slack message summarizing the total count and listing up to 10 clients.
- Posts the weekly summary to a Slack channel and sends a separate Slack alert if the workflow execution fails.
Setup
- Add Google Sheets credentials with access to the “Client Engagement Automation” spreadsheet, and confirm Sheet1 contains the columns “First Name”, “Last Name”, “Email”, “Phone”, “Company”, and “Last Activity Date”.
- Add Gmail credentials for the mailbox that sends the re-engagement emails, and customize the subject/body and sender details as needed.
- Add Slack credentials, select the target channel for the weekly summary and error alerts, and update the channel if you want a dedicated notifications/errors channel.
- Ensure Sheet2 exists with matching header columns for the appended log rows, and optionally configure a unique key (for example, Email) to avoid duplicate log entries on reruns.
- Adjust the cron schedule (currently
0 9 * * 1) and the inactivity threshold (currently 14 days) to match your engagement cadence.