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
Instagram Full Profile Scraper with Apify and Google Sheets
๐ธ Instagram Full Profile Scraper with Apify and Google Sheets This n8n workflow automates the process of scraping ful...
Generate Product Ad Copy & CTAs with GPT-4 for Slack and Airtable
โก AI Copywriter Pro: Instant Ad Copy & CTA Generator Transform product details into compelling marketing copy in second...
Technology News Workflow Explanation with Key Services
This workflow contains community nodes that are only compatible with the self-hosted version of n8n. Auto-Publish Techn...
๐ Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments