π¬ Send GitHub release audio newsletters with OpenAI, Google Drive, Gmail and Sheets
β‘ 7 views Β· π¬ Content Creation & Video
π‘ Pro Tip β If you need GitHub data beyond what the REST API gives you, ScraperNode has a repository scraper that extracts metadata at scale without token rate limits.
Description
Quick overview
This workflow triggers on a published GitHub Release, uses OpenAI to turn the release notes into a short spoken script and MP3, stores the audio on Google Drive, pulls subscribers from Google Sheets, and sends an HTML βlistenβ newsletter to them via Gmail.
How it works
- Triggers when a GitHub Release is published for the configured repository.
- Parses and cleans the release changelog, extracting key items into features, fixes, improvements, and other notes.
- Uses an OpenAI chat model to rewrite the release details into a 60β90 second spoken script.
- Calls the OpenAI text-to-speech API to generate an MP3 audio file from the script.
- Uploads the MP3 to Google Drive and sets the file permissions to βanyone with the link can view.β
- Loads subscriber email addresses from Google Sheets, builds an HTML newsletter with the public audio link and release highlights, and sends it via Gmail using BCC.
Setup
- Connect a GitHub credential with access to the target repo and replace
YOUR_GITHUB_USERNAMEandYOUR_REPO_NAMEin the GitHub trigger. - Add an OpenAI API credential for both the chat model step and the OpenAI TTS HTTP request.
- Connect Google Drive OAuth2 and replace
YOUR_AUDIO_FOLDER_IDwith the folder where the MP3 files should be saved. - Connect Google Sheets OAuth2, replace
YOUR_SUBSCRIBERS_SHEET_ID, and ensure your sheet includes subscriber rows with anEmail(oremail) column. - Connect Gmail OAuth2 and replace
YOUR_SENDER_EMAILwith the address that sends the newsletter.
π Nodes Used
Github Trigger, Google Sheets, HTTP Request, Google Drive, Gmail, AI Agent
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File