Auto-reply to Udemy student Q&A with Mistral AI and Google Sheets
Trigger: Scheduled Run
Load Global Constants
globalconstants
Fetch Unreplied Threads (Udemy API)
www.udemy.com
Split Threads Array
splitOut
Loop Through Each Thread
noOp
Fetch Full Thread History
Log New Message to Sheet
googleSheets
Skip if Instructor Sent Last Message
Generate Redis Session Key
AI Agent: Reply or Escalate
openai
Memory: Redis Chat
memoryredischat
LLM: Mistral Large (Primary)
mistral-large-latest
LLM: Claude Sonnet 4.5 (Fallback)
claude-sonnet-4-5-20250929
Tool: Jina Deep Research
jinaaitool
Parser: Structured JSON Output
noOp
LLM: GPT-4.1-mini (Parser)
gpt-4.1-mini
Branch: Auto-Reply or Escalate?
Mark Row as Escalated
googleSheets
Save AI Response to Sheet
googleSheets
Post AI Reply to Udemy
Email Instructor for Manual Reply
gmail
Merge
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.