👥 AI candidate screening pipeline: LinkedIn to Telegram with Gemini & Apify

⚡ 1,475 views · 👥 HR & Recruitment

💡 Pro Tip — If you’re pulling LinkedIn data through HTTP requests or dealing with API restrictions, there’s a community node called ScraperNode that handles this natively. It has dedicated scrapers for profiles, companies, jobs, and people search — you just pass a URL and get structured data back.

View All Scrapers

Description

LinkedIn URL → Scrape → Match → Screen → Decide, all automated

This workflow automatically processes candidate LinkedIn profiles shared via Telegram, intelligently matches them to job descriptions, performs AI-powered screening analysis, and sends actionable summaries to your team in Telegram.

Good to know

Who’s it for

Hiring teams and recruiters who want to streamline first-round screening for candidates who share LinkedIn profiles directly. Perfect for companies accepting applications via messaging platforms (Telegram, WhatsApp, etc.), especially useful fortech-savvy audiences and remote/global hiring.

How it works

  1. Telegram bot receives message containing LinkedIn profile URL from candidate
  2. Validates URL format and checks spam prevention (max 3 submissions per Telegram username)
  3. Sends confirmation message to candidate and notifies internal talent team via Telegram group
  4. Extracts clean LinkedIn URL and initiates Apify scraping job
  5. Polls Apify API up to 10 times (15-second intervals) until profile extraction completes
  6. AI agent matches candidate to best-fit job description by analyzing Telegram message context first (if candidate mentioned a role), or LinkedIn profile content as fallback (selects up to 3 potential JD matches)
  7. If multiple JDs matched, second AI agent selects the single best fit based on detailed profile analysis
  8. AI recruiter agent analyzes LinkedIn profile against selected JD and generates structured screening report (strengths, weaknesses, risk/reward factors, overall fit score 0-10 with justification)
  9. Logs complete analysis to Google Sheets tracker with unique submission ID
  10. Sends formatted summary to Telegram group with candidate details, matched JD, and overall fit score

Requirements

How to set up

  1. Create Telegram bot and internal Telegram chat group with new bot:

    • Message @BotFather on Telegram
    • Send /newbot and follow instructions to create your bot
    • Save the API token provided
    • Create Telegram group chat and invite your new bot + invite the @GetIDs bot
    • Note down the group chat ID (How to get group chat ID)
  2. Setup Apify:

  3. Create Google Sheet:

    • Create new sheet named “LinkedIn Profile AI Candidate Screening”
    • Add columns: Submission ID, Date, LinkedIn Profile URL, First Name, Last Name, Email (if known), Telegram Username, Strengths, Weaknesses, Risk Factor, Reward Factor, JD Match, Overall Fit, Justification
    • Copy the spreadsheet ID from URL
  4. Setup Google Drive folder:

    • Create folder named “Job Descriptions”
    • Upload your JD files (PDFs or Google Docs) with clear, descriptive filenames
    • Copy the folder ID from URL
  5. Configure workflow nodes:

    • In “Receive Telegram Msg to Recruiter Bot” node: Add Telegram API credentials
    • In “Extract LinkedIn Profile Information” node: Replace YOUR_APIFY_API_TOKEN with your Apify token
    • In “Check LinkedIn Profile Extraction Status” node: Replace YOUR_APIFY_API_TOKEN with your Apify token
    • In “Get Fully Extracted LinkedIn Profile Data” node: Replace YOUR_APIFY_API_TOKEN with your Apify token
    • In “Access JD Files” node: Update folder ID to your “Job Descriptions” folder
    • In “Get All Rows Matching Telegram Username” node: Select your Google Sheet
    • In “Add Candidate Analysis in GSheet” node: Select your Google Sheet and verify column mappings
    • In “Send Msg to Internal Talent Group” node: Update chat ID to your Telegram group chat ID
    • In “Send Review Completed Msg to Talent Group” node: Update chat ID and Google Sheet URL
  6. Add your company description:

    • In “JD Matching Agent” system message: Replace company description with your details
    • In “Detailed JD Matching Agent” system message: Replace company description with your details
    • In “Recruiter Scoring Agent” system message: Update company description
  7. Test the workflow:

    • Send a LinkedIn profile URL to your bot from Telegram
    • Monitor execution to ensure all nodes run successfully
    • Check Google Sheets for logged results
  8. Activate workflow

Customizing this workflow

Pro tip: Add your Telegram bot to your company’s careers page with instructions like: “Want fast-track screening? Share your LinkedIn profile with our AI recruiter: @YourBotName”

Troubleshooting

Sample Outputs

Google Sheets - LinkedIn AI Candidate Screening - sample

Telegram messages between AI recruiter bot and job applicant

Telegram messages from AI recruiter bot in internal group chat

đź”— Nodes Used

Google Sheets, HTTP Request, Telegram, Telegram Trigger, Google Drive, AI Agent

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup