Analyze & publish GCE O-Level Math predictions with Perplexity AI to WordPress & Slack
Needs changesWhat this workflow does
This AI workflow has 12 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Wordpress, Slack and OpenRouter Chat Model. It also calls seab.gov.sg over HTTP.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Fetch O-Level Math Syllabus (HTTP Request): calls seab.gov.sg
- Load Historical Context (Edit Fields (Set)): sets 2 fields: historical_topics, challenging_areas
- Extract Syllabus Text (Extract from File): extracts data from a file (text)
- AI Analysis Agent (AI Agent): runs an AI agent, with model: OpenRouter Chat Model
- Prepare Analysis Data (Edit Fields (Set)): sets 2 fields: syllabus_content, analysis_year
- Parse AI Output (Edit Fields (Set)): sets or maps fields
- Format Report (Markdown): converts between Markdown and HTML
- Convert to HTML (HTML): parses or builds HTML
- Publish to WordPress (Wordpress): uses Wordpress
- Send Slack Summary (Slack): uses Slack
Services it uses
HTTP calls to: seab.gov.sg
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in AI Analysis Agent (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) AI Analysis Agent (v1.7) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (10)
- Manual Trigger
n8n-nodes-base.manualTrigger - HTTP Request
n8n-nodes-base.httpRequest - Extract from File
n8n-nodes-base.extractFromFile - Edit Fields (Set)
n8n-nodes-base.set - AI Agent
@n8n/n8n-nodes-langchain.agent - Markdown
n8n-nodes-base.markdown - HTML
n8n-nodes-base.html - Wordpress
n8n-nodes-base.wordpress - Slack
n8n-nodes-base.slack - OpenRouter Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenRouter
From the author
Introduction Exams create significant stress for students. This workflow automates syllabus analysis and predicts exam trends using AI, helping educators and students better prepare for GCE 'O' Level Mathematics in Singapore. How It Works Trigger → Fetch…