Send Weekly GitHub Report

ClaudeSlack

Generate a weekly development report summarizing closed GitHub pull requests and post it directly to your team's Slack channel using an AI assistant.

GitHub ActivitySlack NotificationsEngineering ManagementDevelopment Updates

Overview

This workflow generates a weekly development report from GitHub activity across multiple repositories and sends it to a specified Slack channel. It runs every Friday afternoon, summarizing pull requests that were closed during the week and presenting the information in an easy-to-read format.

It performs five main tasks:

  1. Calculates the date range of the current week starting from Monday.
  2. Retrieves all pull requests closed since Monday for each repository.
  3. Uses an AI assistant to create a formatted weekly development report based on the pull requests.
  4. Prepares the message payload targeting a Slack channel.
  5. Sends the generated report message to Slack.

What You Need

  1. A GitHub account with access to the repositories you want to report on.
  2. The names of the GitHub repositories and the GitHub owner name.
  3. A Slack workspace with a channel where the report will be posted.
  4. API connectors configured for GitHub and Slack in Needle.
  5. Appropriate permissions to read GitHub data and send messages to Slack.

How the Flow Works

StepNodeDescription
1Scheduled TriggerStarts the flow every Friday afternoon, marking the end of the workweek.
2Date Calculator CodeCalculates the starting Monday of the current week and the current date/time. It splits the repository list into individual entries with these timestamps.
3GitHub Pull Requests RequestFetches all closed pull requests since Monday for each repository, filtering GitHub data to this week's activity.
4AI Report GeneratorFeeds the collected pull request data into an AI assistant prompt that summarizes completed work, bug fixes, ongoing tasks, and overall stats into a neatly formatted report designed specifically for Slack.
5Slack Message FormatterBuilds the Slack message object containing the target channel and the AI-generated report text.
6Send Message to SlackPublishes the weekly development report to the specified Slack channel so your team gets a clear update without manual effort.

Output

At the end of the run, you receive a nicely formatted weekly development report posted to your chosen Slack channel. The report includes completed pull requests, bug fixes, pull requests still in progress, and key statistics about repository activity and contributors.

Notes

  1. Ensure your GitHub repository names and owner are set correctly in the environment variables.
  2. The Slack channel must allow the bot to post messages.
  3. The AI summary prompt is designed to keep formatting compatible with Slack's markdown style.
  4. You can customize the scheduled trigger time to match your team's timezone or preferred report delivery time.

Want to showcase your own workflows?

Become a Needle workflow partner and turn your expertise into recurring revenue.

Try Needle today

Streamline AI productivity at your company today

Join thousands of people who have transformed their workflows.

Agentic workflowsAutomations, meet AI agents
AI SearchAll your data, searchable
Chat widgetsDrop-in widget for your website
Developer APIMake your app talk to Needle
    Needle LogoNeedle
    Like many websites, we use cookies to enhance your experience, analyze site traffic and deliver personalized content while you are here. By clicking "Accept", you are giving us your consent to use cookies in this way. Read our more on our cookie policy .