This workflow takes any article link sent to your Telegram bot and automatically:
Parses the article into a clean title and body
Uses OpenAI to generate a 1–2 sentence highlight and topic tag
Saves it into your Notion database
Sends a confirmation message with the highlight and Notion link back to Telegram
Main steps:
Telegram Trigger - Listens for incoming message containing an article link.
Fetch Article Title & Content - Calls the article-parser-api deployed on Vercel to fetch and parse the article content into structured JSON (title and content).
Generate Highlight + Tag (AI Agent) - Processes the parsed content to generate Highlight and Type tag values.
Structured Metadata for Notion - Adjusts the extracted data before saving it to Notion.
Save Article to Notion Database - Inserts the article and generated metadata into your Notion knowledge base.
Confirm Save via Telegram - Sends a confirmation message and the Notion page link back to the Telegram bot chat after the entry is created.