Automation flow from Notion to GitHub with email notifications
This automation allows you to track feature requests in Notion, create GitHub issues automatically, and notify your team via email based on issue status. It's ideal for technical and functional teams who collaborate on project delivery using Notion and GitHub.
๐น SECTION 1: Detect and Sort Issues from Notion Combining: Schedule Trigger + Notion Database + Field Mapping + Status Routing
โฐ 1. Schedule Trigger ๐ง Node Type: Schedule Trigger (you can use a webhook trigger if you are on Notion paid plan)
๐ฌ Description: Triggers the workflow every X minutes to check for new or updated Notion database pages.
๐ 2. Get Many Database Pages (Notion) ๐ง Node Type: Notion โ Get All Database Pages
๐ What it does: Fetches all rows (pages) from a Notion database that represents tasks or feature requests.
โ๏ธ 3. Sort Issues Fields ๐ง Node Type: Set
๐ Goal: Restructures or cleans data fields such as Title, Status, Labels, and Repository.
๐ 4. Switch: Issue Status Decision ๐ง Node Type: Switch
๐ฏ What it does: Separates logic based on the Status of the Notion item:
If status is "To develop" โ proceed to create issue
Else โ send notification to the team
๐น SECTION 2: GitHub Issue Creation (IF "To develop") Combining: GitHub Node + Notion Update
๐ 5. Create an Issue (GitHub) ๐ง Node Type: GitHub โ Create Issue
โ๏ธ What it does: Creates a new issue on the GitHub repo defined in the Notion row.
๐ฅ Inputs: Uses dynamic fields: Title, Description, Labels, Repository.
๐งฉ 6. Set Status and Issue URL (Notion Update) ๐ง Node Type: Notion โ Update Database Page
๐ง Role: Updates the status of the issue in Notion to In progress and stores the created GitHub Issue URL.
๐น SECTION 3: Notify Team on Already In-Progress Items (IF NOT "To develop") Combining: Notion Users + Filtering + Email Grouping + Gmail
๐ฅ 7. Get Many Users (Notion Users) ๐ง Node Type: Notion โ Get All Users
๐ฅ What it does: Retrieves the list of team members (to be notified).
๐ง 8. Map Notion Users ๐ง Node Type: Set
๐ Role: Maps and formats data for each user (e.g., Name, Email, Role).
๐งน 9. Exclude Bot ๐ง Node Type: Switch
๐ซ What it does: Excludes automation/bot users (e.g., notifications@noreply).
๐งฎ 10. Group Recipients ๐ง Node Type: Aggregate
๐ฏ Goal: Collects all user emails into a single array to send one email to all recipients.
๐ฌ 11. Send a Message (Gmail) ๐ง Node Type: Gmail โ Send Email
Related Templates
AI Email Classifier & Auto-Delete for Gmail (SPAM/OFFER Cleaner)
This workflow is designed for freelancers, solopreneurs, and business owners who receive a high volume of irrelevant mes...
Generate Food Recipes from Gmail & Form Requests with Ollama & Llama 3.2
This n8n template demonstrates how to create an intelligent food recipe assistant that accepts requests via Gmail and we...
Automatic News Summarization & Email Digest with GPT-4, NewsAPI and Gmail
๐ฐ AI News Digest Agent: Auto News Summarizer & Email Newsletter Create an intelligent news curation system that automat...
๐ Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments