Workflow function to summarize Reddit posts using Google Gemini and Supabase
Google Gemini Chat Model
google
extract relevant attribut from comments
aggregate post and comment into a single text
Structured Output Parser
noOp
Google Gemini Chat Model1
google
Wait (rate limiting)
noOp
manual trigger when testing
check once a day if new post are available
Get post data from supabase
supabase
and extract their reddit id
get saved post from reddit profile
reddit
extract relevant attribut and filter posts based on subreddit
further filtering existing posts wrt existing posts in database
LLM1
openai
get all comments for the current post
reddit
LLM2
openai
prepare data to be inserted in supabase
insert new reddit post
supabase
Loop Over Every Posts
noOp
If the condition is satisfied
Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.