Get a Slack message whenever someone stars your GitHub repo

Liam asks the n8n Assistant in plain language for a workflow that posts a Slack bot message on every new GitHub star, then tests, publishes and verifies it.

n8n · YouTube · published Oct 12, 2026 · Software & DevOps

Get a Slack message whenever someone stars your GitHub repo — video by n8n▶ Watch on YouTube
Prompt
Send me a Slack direct message from a bot whenever someone stars my GitHub repository [owner/repo].

Sponsored

Advertise here →

Visual breakdown

Liam asks the n8n Assistant, n8n's built-in agent builder, in plain language for a Slack message every time his GitHub repo gets a star. In 36 seconds it builds a three-node workflow; he connects GitHub in one click, connects Slack through a bot token, tests it, and publishes.

The problem: He'd just released a GitHub project and was tired of staring at it waiting for stars.

The workflow the n8n Assistant built

  1. Describe it to the AssistantPlain request plus Slack ID, repo name and the message format he wants
  2. GitHub: new star triggerFires when someone stars the repo; one-click connection on n8n cloud
  3. Format the message"New star from [username]" with a star emoji
  4. Slack via a botConnected manually with a bot access token, not his own user account
    Dropped: Messages sent as himself (no notification)
  5. Test, then publishRun it for real, check Slack, then ask the Assistant to publish
  6. Slack DM per starEvery new star on the repo arrives as a bot message right away
Connected appsWorkflow steps / manualn8n AssistantResult

    By the numbers

    36 secfor the Assistant to build it
    3nodes in the workflow

    Build it yourself in n8n

    Open the n8n Assistant from its button in n8n and pick a project to build in.

    1. Tell it what you want: a Slack notification when someone stars your GitHub repo, with your Slack ID, the repo and the message text
    2. Let it build; expand its progress if you want to see the skills it uses
    3. Connect GitHub (one click on n8n cloud; on free self-hosted, bring your own GitHub API key and AI API key)
    4. Connect Slack manually with a bot's access token so the message comes from a bot
    5. Run it for real, allow it, and check that the Slack message arrives
    6. Publish it, with the button or by asking the Assistant, and star the repo to confirm

    Slack's docs, linked from the credential screen, walk you through setting up the bot.

    Gotchas from the video

    • Connecting Slack with one click uses your own account, so you DM yourself and get no notification. Use a bot account instead.
    • On a fresh project with no connections, expect a very simple workflow and prompts to add GitHub and Slack credentials.
    • If a node still shows a warning after adding credentials, opening and closing it refreshes it.
    • A workflow stays an unpublished draft until you publish it.

    Distilled from the video’s captions

    How to try it

    1. Open n8n.
    2. Copy the prompt and fill in the [placeholders].
    3. Watch n8n's video for the full walkthrough and setup.

    Related use cases

    Share