Quick overview
This workflow collects a LinkedIn profile URL via an n8n form, scrapes the public profile data using the Apify LinkedIn Profile Scraper actor, analyzes the results with a Groq-hosted Llama model, and displays an HTML-formatted evaluation back to the user.
How it works
- Receives a LinkedIn Profile URL when a user submits the n8n form.
- Prepares the LinkedIn URL along with the Apify API token and Groq API key used for downstream requests.
- Sends the profile URL to the Apify
harvestapi/linkedin-profile-scraper actor and retrieves the scraped dataset items.
- Passes the scraped profile JSON to a Groq chat model via an LLM chain to generate an HTML evaluation with a score and recommendations.
- Displays the generated HTML evaluation to the user as the form completion message.
Setup
- Add a valid Apify API token and ensure the Apify actor endpoint (
harvestapi/linkedin-profile-scraper) is accessible for your account.
- Add Groq API credentials in n8n and confirm the selected model (meta-llama/llama-4-scout-17b-16e-instruct) is available to your Groq account.
- Replace the placeholder API key values in the workflow (or move them to n8n credentials/environment variables) and verify the form field label matches
LinkedIn Profile URL.