Send Daily Slack Digest Email
Compiles messages from all your Slack channels into a styled HTML digest and emails it to you daily, so you never miss important conversations.
SlackEmail DigestDaily SummaryTeam Communication
Daily Slack Digest
This workflow automatically gathers messages from every Slack channel in your workspace, compiles them into a clean HTML email digest, and delivers it to your inbox once a day. It's ideal for team leads and busy professionals who want to stay informed without scrolling through Slack all day.
What It Does
- Triggers daily at midnight (UTC) — A scheduled trigger kicks off the workflow automatically.
- Retrieves all Slack channels — Calls the Slack API to get a full list of channels in your workspace.
- Builds search queries — A code node generates a per-channel search query targeting messages from the last 24 hours.
- Searches messages per channel — Runs each query against Slack to collect recent messages (up to 50 per channel).
- Merges results — Combines all channel search results into a single dataset.
- Generates the HTML digest — An AI agent formats the collected messages into a styled, easy-to-read HTML email with sections for each channel.
- Sends the email — Delivers the finished digest to your inbox via Gmail.
What You Need
- A Slack workspace with an API connector configured in Needle (must have permissions to list channels and search messages).
- A Needle account to run and manage the workflow.
- A Gmail account with API access configured in Needle for sending emails.
How the Flow Works
| Node | Description |
|---|---|
| Scheduled Trigger | Starts the workflow every day at midnight UTC. |
| List Slack Channels | Calls the Slack API to retrieve all channels in the workspace. |
| Code Node | Transforms the channel list into per-channel search queries for the last 24 hours. |
| Find Slack Messages | Searches Slack for messages in each channel using the generated queries. |
| Merge | Combines all per-channel search results into a single array. |
| AI Digest Compiler | Uses an AI model to create a beautifully styled HTML email summarizing each channel's activity. |
| Send Email | Sends the compiled HTML digest to your inbox via Gmail. |
Output
You receive a formatted HTML email with a subject like "Slack Digest: March 25, 2026." The email contains:
- A section for each Slack channel with the day's messages listed (sender, timestamp, and text).
- A muted note for channels with no activity: "No activity in the last 24 hours."
- Clean, modern styling with white cards on a light gray background, sans-serif fonts, and subtle borders for easy reading.
Notes
- The workflow runs on a UTC schedule. Adjust the schedule node if you need a different timezone.
- Make sure your Slack connector token has the correct scopes to list channels and search messages.
- The sender email address is configured in the email send node — update it to match your own address.
- If your workspace has many channels or heavy message volume, consider adjusting the search limits or pagination settings to stay within API rate limits.
Want to showcase your own workflows?
Become a Needle workflow partner and turn your expertise into recurring revenue.
