Skip to content
NEWMeet Alaaddin, your AI genie with a voice. trig8n launches 1 January 2027. See what is new

Library / Documents, PDF & OCR

Documents, PDF & OCR

Generate fact-checked LinkedIn posts with Groq, Gemini, Pinecone, and Slack

On a schedule, it reads and extracts data from documents with Google Gemini and Groq using Groq, Pinecone, Gmail, Google Drive.

What it does

Process Implementation Guide An automated LinkedIn content pipeline. Every day at 10:00 (or when a file is dropped into a watched Drive folder) it picks a topic, extracts and analyses the source material, builds a content strategy from reference patterns stored in Pinecone, drafts and fact-checks a post, and sends it to Slack for human approval before anything is published. Setup (credentials needed) 1. Supabase – topic inventory plus strategy, review and post logs 2. Google Drive OAuth2 – upload trigger and file download 3. Groq API – topic selection, analysis, drafting, quality check and OCR clean-up 4. Google Gemini (PaLM) API – strategy model, fallback models and Pinecone embeddings 5. Pinecone – index linkedin-reference-content, filled with reference-post patterns 6. Slack – human approval message 7. Gmail OAuth2 – timeout reminder email 8. LinkedIn OAuth2 – publishes the approved post 9. Create the Supabase tables listed in the note above 10. Set the Drive folder, Slack channel and notification email 11. Activate the workflow once ready

The steps

  1. Schedule Trigger
  2. Google Drive Trigger
  3. Structured Output Parser
  4. Groq Chat Model
  5. Download file
  6. Merge
  7. Map Selected Topic
  8. Normalise Text
  9. Get The Text
  10. Normalise Image
  11. Normalise Pdf
  12. Clean HTML File
  13. Normalise Url
  14. Topic Selection

56 steps in total.

Similar automations