How It Works:
Multi-Input Article Capture:
A Telegram Trigger listens for content in text, audio, or PDF form.
Each input type is processed accordingly:
Text → Sent directly to AI.
Audio → Transcribed and routed based on whether it’s a “Memo” or an article.
PDF → Extracted for content processing.
AI-Powered Content Generation:
The title is extracted using GPT-4o-mini.
The summary is crafted in an academic tone with proper AMA citation.
LinkedIn Post is professionally written, concise, and ready for publication (max 150 words).
Image Creation & Approval (Human-in-the-Loop):
A thumbnail image is generated using AI based on the article’s topic.
Image is sent via Telegram for approval: Accept or Reject.
Upon approval, it’s stored in Google Drive and linked in Airtable.
Airtable Management:
Stores all article info:
Title, Raw Article, Summary, LinkedIn Post, Image, Status.
AI Agent can create, update, or retrieve records dynamically.
Sends you a Telegram summary after every upload with full article details.
Scheduled LinkedIn Posting
Every day at 8 AM, the workflow checks Airtable for posts marked "Draft".
If an image exists, it posts with it. Otherwise, text-only.
Status is updated to "Completed" after successful publishing.
You can also manually trigger posts through AI commands in Telegram!