Auto-review GitHub PRs, request changes or approve, and notify on Slack

Save hours by auto-reviewing GitHub pull requests, approving or requesting changes based on rules, then store results in a table and notify teams on Slack.

trigger
app icon
app icon
+16

By Naman Whozzattt

Installed by 4 users

When
Default app icon
New Pull Request Opened/Closed
IF
Do
check_specific_branch_format
IF
    • opened and invalid branch
      Workflow step icon
      PR_Rejected
      Workflow step icon
      Send Message 1
    • ifcbL56zCAOz
Workflow step icon
Get File Changes
Workflow step icon
Find Table Records
embed_todo_in_file_changes
Workflow step icon
HTTP_API_Request
count_file_changes
Workflow step icon
Delay
Workflow step icon
Workspace Memory 1
decision_rating_numbered_reasons
IF
    • data test id present
      Workflow step icon
      Send Message
    • ifcbSYD2T7vc
IF
    • Approve
      Workflow step icon
      PR_Approved
    • decision reject
      markdown_reject_with_reason
      Workflow step icon
      PR_Rejected_1
    • ifcb4weNHqbD
      Workflow step icon
      Send Direct Message
Workflow step icon
Find Table Records 1
Workflow step icon
Get_commit_details
calculate_score
IF
    • has table records
      IF
        • reject
          increment_rejection_count
          Workflow step icon
          Update Row 1
        • ifcbXVQchcaU
          Workflow step icon
          Update Row 2
    • ifcb6Q9jMSWj
      IF
        • Reject
          Workflow step icon
          Create Row
        • ifcbUwDz0Snk
          Workflow step icon
          Create Row 1
IF
    • has rows
      Workflow step icon
      Update Row
    • ifcbuk3mTXOa
Workflow step icon
Workspace Memory
Workflow step icon
Delete record by Id

Auto-review GitHub PRs, request changes or approve, and notify on Slack

Auto-review GitHub PRs, request changes or approve, and notify on Slack

Introduction

Speed up code reviews by auto-checking new pull requests, approving clean ones, flagging issues with reasons, and keeping everyone in the loop on Slack. ✅

Trigger Event

A new GitHub pull request is opened or updated in the selected repository.

Actions

  • The flow checks if the PR branch follows your naming policy (e.g., feature_via_YYYY-MM-DD_autonumber). If it’s invalid, it requests changes on GitHub and posts a clear Slack message with the PR link.
  • It fetches the PR’s file changes and recent commit details to understand who authored the change.
  • It enriches file changes with the related task context (from your viaSocket Table) so the review runs with business context, not just code diffs.
  • Using stored workspace memory (prior AI/peer checks), it compiles an overall decision with a rating and numbered reasons. If any block requires fixes, the decision becomes “Reject”; otherwise, it’s “Approve.”
  • If Approved: it submits an “APPROVE” review on the PR.
  • If Rejected: it posts a “REQUEST_CHANGES” review with a human-readable, numbered reason summary.
  • The outcome is saved to your Developers_Metrics table (pull number, task link, assignee from commit, AI decision, rating, and a final score). If a record already exists for this PR, it updates it and increments the rejection count.
  • Optional delay logic spaces out actions based on change volume to reduce noise on busy repos.
  • If unexpected outcomes occur, it can ping a maintainer on Slack DM for quick attention.

Benefits

  • Faster reviews: approve simple PRs automatically; flag risky ones with clear reasons
  • Fewer misses: enforces branch naming and UI test-id rules consistently
  • Instant visibility: Slack alerts with direct PR links for the right channels
  • Better tracking: stores every PR review decision and score in a table for reporting
  • Reduced back-and-forth: numbered reasons help developers fix issues faster

Can't find the right template?

Start with AI

Frequently Asked Questions

What does this template do and who is it for?

This template automates a specific workflow by connecting multiple apps and removing manual steps. It’s useful for anyone who wants to save time, reduce errors, and streamline repetitive tasks using automation.

Do I need technical knowledge to use this template?

No. You can install and customize this template without writing any code. Everything is done through simple configuration.

Which apps are required, and can I customize or extend the workflow?

Only the apps shown on the template page are required. You can customize messages, add or remove steps, apply conditions, connect more apps, and add extra actions like notifications, data updates, or triggering other automations.

Is this template suitable for real business use and multiple use cases?

Yes. Once configured, it can be used for live workflows and production systems. You can also duplicate the template and customize it for different teams or processes.

How long does setup take, and can I manage the workflow later?

Most templates can be set up in just a few minutes. You can pause, edit, duplicate, or delete the workflow anytime.

Do I need a paid plan, and where can I get help if needed?

You can start with the free plan; limits depend on your viaSocket plan and usage. If you need help, you can contact viaSocket support, check the Knowledge Base, or book a demo.