Vigyata.AI
Is this your channel?

Build an AI Newsletter Generator SaaS | NextJS, Supabase, OpenAI, TailwindCSS...

16.7K viewsΒ· 586 likesΒ· 197:10Β· Jul 29, 2025

πŸ›οΈ Products Mentioned (5)

Build your first AI SaaS that allows users to auto generate personalized newsletter using up to date technologies. πŸ“– Video Resources: Checkout Inngest: https://innge.st/yt-pt-1 Code Repo: https://www.webdevultra.com/video-info/1aZRT2cs7u0 ⭐️ Check out My ReactJS Course: https://react.pedrotech.co πŸ’» Check out my Blog: https://www.pedrotech.co 🐀 Follow me on Twitter: (https://twitter.com/pedrotech_) πŸ“Έ Follow me on Instagram: (https://www.instagram.com/pedro.fmachado_/) 🧳 Follow me on Linkedin: (https://www.linkedin.com/company/pedrotech) πŸ‘¨β€πŸ’» GitHub: https://github.com/machadop1407 πŸ“‹ Business Email: pedro@pedrotech.co Timestamps: 00:00 | Introduction 01:05 | Setting up the Next.js app 02:28 | Setting up authentication with Superbase 05:01 | Organizing project files and configuring Superbase 08:03 | Middleware configuration and setting up session management 12:25 | Building the sign-in page and implementing user authentication 19:45 | Handling form submission, sign-up vs sign-in, and toggling states 30:22 | Redirecting to the dashboard after successful sign-in 35:03 | Displaying the user's email and adding the logout functionality 49:06 | Core concept of the SaaS: Fetching and generating personalized newsletters 52:03 | Integrating Inngest for background tasks like fetching data and sending emails 59:54 | Setting up OpenAI for generating AI-driven newsletter content 1:42:41 | Setting up Frequency Options with Radio Buttons and Custom Styling 1:49:00 | Save Preferences Button Setup and Validation 1:51:02 | Handling Form Submission and Saving User Preferences 1:53:13 | Integrating AI Newsletter Generation with Inngest 2:00:01 | Sending the Generated Newsletter via Email.js 2:06:12 | Scheduling Future Newsletters Based on User Preferences 2:27:36 | Pausing and Resuming Newsletters Functionality 2:36:00 | Fetching and Displaying User Preferences on Dashboard 3:00:23 | Scheduling Next Newsletter Based on Frequency Selection 3:04:06 | Cancelling the Scheduled Newsletter Event 3:07:33 | Resuming the Newsletter Scheduling After Pausing 3:11:05 | Handling User Status and Event Cancellations 3:14:21 | Finalizing the Scheduling System for the Newsletter 3:15:51 | Wrapping Up and Final Thoughts on the Project

🎬 More from PedroTech