Skip to content

The moment it happens

Add new GitHub issues to a Notion board with AI triage

Every new GitHub issue appears on your Notion board with a type and priority already set, and a link back to GitHub.

Runs
The moment it happens
Apps
GitHub, Notion
AI
Yes, uses the built-in AI allowance
Access
GitHub webhook admin; Notion insert

Send this to your assistant

Create a ClickRuntime automation: when a new issue is opened in acme/app, have AI choose a type and priority, then add a card to my Notion Roadmap board with those properties and the issue link.

Paste it into your assistant. It tells you what it will send or change before it runs live.

First time? Adding ClickRuntime to your assistant takes about two minutes.

Why use it

Why teams use this automation

A product team plans its work on a Notion board, but bugs and requests arrive as GitHub issues. Someone has to copy each one across and decide its priority, so the board is always a few days behind the real backlog.

Adding each new issue to the board as it arrives, already labelled with a type and priority, keeps planning in step with reality. The team reviews and reorders cards instead of creating them.

What you get out of it

  • The board stays current

    New issues appear on the board within seconds. Planning always reflects the latest backlog.

  • Priorities set from the start

    AI suggests a type and priority from the issue text. The team adjusts rather than starts from blank.

  • One click back to the detail

    Each card links to the GitHub issue. The full discussion is always one click away.

  • Product and engineering share a view

    People who never open GitHub can see and discuss every issue on the board they already use.

How it works

What happens, step by step

  1. When a new issue is opened, GitHub notifies ClickRuntime straight away.

  2. AI reads the title and description and chooses a type and priority.

  3. A card is created on your Notion board with the title, type, priority and a link to the issue.

Before it runs live

  • Connect GitHub
  • Connect Notion and share the database you want it to use
  • Paste your automation's link into the other app's webhook settings

What you get

RunsThe moment it happens
Add new GitHub issues to a Notion board with AI triagejust nowSucceeded
Notion · RoadmapSearch ignores accented characters · Bug · P2 · github.com/acme/app/issues/702

Build your own

Need it to work differently?

This template is a starting point. Copy the prompt and change it, or describe a different automation from scratch, with your own conditions, more apps or an AI step. Your assistant writes it, tests it and runs it on ClickRuntime.
  • Your own rules

    Conditions, thresholds, filters and exceptions, written the way you'd explain them to a colleague.

  • Any number of apps

    One automation can read from one app and update several others. Over 248 apps are ready, and anything with an API works too.

  • AI where it helps

    Summaries, classification, extraction and drafts use ClickRuntime's built-in AI, with no extra key.

  • On a schedule or on each event

    Runs as often as every 5 minutes, or the moment an app sends an event, and keeps track of what it already handled.

Changes you can ask for

  • Act only on the items that match your own rules, and skip the rest
  • Change what the AI looks for, or how it writes the result
  • Add another app, for example also send it to Slack
  • Combine it with other GitHub and Notion steps into one automation

Under the hood

The code that runs this automation

This is the Python script that runs each time the automation starts. Your AI assistant writes it for you when you send the prompt, and you allow each step in your assistant. To change how the automation works, describe the change to your assistant and it updates the script for you. For every function it can use, see the script reference.
triage_new_github_issues_onto_a_notion_board.pyexample
from clickruntime import on_event, credentials, http, verify, ai

def notion(method, path, **kw):
    resp = http.request(method, f"https://api.notion.com/v1{path}", headers={
        "Authorization": f"Bearer {credentials.secret('NOTION_TOKEN')}", "Notion-Version": "2022-06-28"}, **kw)
    return resp.raise_for_status() or resp.json()

BOARD = "your-notion-database-id"
SCHEMA = {"type": "object", "properties": {"type": {"type": "string", "enum": ["Bug", "Feature", "Improvement", "Question"]},
          "priority": {"type": "string", "enum": ["P1", "P2", "P3"]}}}

@on_event
def handle(event):
    if not verify.github(event.body, event.header("X-Hub-Signature-256"), credentials.secret("GITHUB_WEBHOOK_SECRET")):
        return {"ignored": "bad signature"}
    body = event.json
    if event.header("X-GitHub-Event") != "issues" or body["action"] != "opened":
        return {"ignored": True}
    issue = body["issue"]
    t = ai.generate(f"{issue['title']}\n{(issue.get('body') or '')[:3000]}", json_schema=SCHEMA, max_output_tokens=40,
                    system="Classify this GitHub issue for a product board.").json
    page = notion("POST", "/pages", json={"parent": {"database_id": BOARD}, "properties": {
        "Name": {"title": [{"text": {"content": issue["title"]}}]}, "Type": {"select": {"name": t["type"]}},
        "Priority": {"select": {"name": t["priority"]}}, "GitHub": {"url": issue["html_url"]}}})
    return {"page": page["id"], **t}

FAQ

Common questions

Which properties does the Notion board need?
A title, a select property for Type, a select property for Priority, and a URL property for the GitHub link. Option names should match what you want AI to choose from.
Does closing the issue move the card?
Not in this version. You can add a step that sets the card's status to Done when the GitHub issue closes.
Can it include pull requests?
It is built for issues. Pull requests usually belong to a card already, so they are left out.
What permissions does it need?
GitHub webhook admin; Notion insert. Nothing else in your accounts is used.
Does it need AI?
Yes. It uses ClickRuntime's built-in AI, so you don't need an OpenAI or Anthropic key. Every plan includes a monthly AI allowance.
How many runs does it use?
One run for each event the app sends.
Can I change how it works?
Yes. Describe the change to your AI assistant, for example a different schedule, channel or filter. It updates the automation, tests it and tells you what changed.

Set up “Add new GitHub issues to a Notion board with AI triage” from your assistant

Copy the prompt above, or connect your assistant first. Free plan, no credit card.