Create a daily visual journal from Discord chats with GPT-4, DALL-E and Notion
Go to WorkflowDescription
I wanted a journal but never had the discipline to write one. Most of my day happens in Discord anyway, so I built this to do it for me.
Every night, it reads my Discord channel, asks GPT-4 to write a short reflection, generates an image that captures the vibe of the day, and saves everything to Notion. I wake up with a diary entry I didn't have to write.
How it works
Runs daily at whatever time you set
Grabs messages from a Discord channel (last 100)
Filters to today's messages only
GPT-4 writes a title, summary, mood, and tags
DALL-E generates an image based on the day's themes
Uploads image to Cloudinary (Notion needs a public URL)
Creates a Notion page with everything formatted nicely
Setup
Discord Bot credentials (read message history permission)
OpenAI API key
Free Cloudinary account for image hosting
Notion integration connected to your database
Notion database properties needed
Title (title)
Date (date)
Summary (text)
Mood (select): 😊 Great, 😌 Good, 😐 Neutral, 😔 Low, 🔥 Productive
Message Count (number)
Takes about 15 minutes to set up. I use Gallery view in Notion with the AI image as cover - looks pretty cool after a few weeks.