Automate LinkedIn Advice Contributions with n8n & AI

Struggling to keep up with LinkedIn advice articles and create unique contributions? This n8n workflow automates discovering fresh LinkedIn advice, extracts article content, generates AI-powered insights, and posts contributions to Slack and NocoDB automatically.
manualTrigger
nocoDb
set
+7
Workflow Identifier: 1848
NODES in Use: manualTrigger, nocoDb, set, httpRequest, code, splitOut, merge, html, openAi, slack
Automate LinkedIn advice with n8n and AI

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

What This Automation Does

This workflow finds new LinkedIn advice articles every Monday at 8:00 AM.
It reads the articles, creates fresh, unique advice using AI, then shares posts in Slack and saves them in a database.
This saves you time and helps keep your LinkedIn presence active.


Tools and Services Used

  • Google Search: To find fresh LinkedIn advice articles.
  • n8n Automation Platform: Runs the workflow and connects all parts.
  • OpenAI GPT-4o-mini Model: Creates unique AI-generated advice.
  • NocoDB: Stores LinkedIn contributions with all details.
  • Slack API: Posts contributions to team channels.

Inputs, Processing, Outputs

Inputs

  • Search topic entered by user (e.g., Paid Advertising).
  • Existing stored contributions from NocoDB database.

Processing Steps

Outputs

  • Slack messages showing new AI-written LinkedIn advice.
  • Database records holding advice, article info, and metadata.

Who Should Use This Workflow

Professionals wanting to keep LinkedIn profiles active without spending hours.
Users who want smart automation to find and post unique advice.
Teams needing to track and share LinkedIn engagement in Slack.


Beginner Step-by-Step: How to Use This Workflow in n8n

Importing the Workflow

  1. Download the workflow file using the Download button on this page.
  2. In the n8n editor, click “Import from File” and choose the downloaded file.
  3. The workflow loads into n8n, ready to use.

Configuring the Workflow

  1. Add required API Keys and credentials:
    • OpenAI API Key for the GPT model.
    • NocoDB API Key and Project/Table IDs.
    • Slack OAuth token and set Slack channel ID.
  2. Check and update any fixed IDs, emails, channels, tables, or URLs inside nodes.
  3. Review the code in the Code node for link extraction.
  4. Confirm the prompt text in the LangChain OpenAI node; copy and paste it if needed.

Testing and Activating

  1. Run the Manual Trigger to test the workflow. Watch for errors or missing steps.
  2. Fix any issues, then activate the Schedule Trigger to run every Monday at 8:00 AM.
  3. Optional: Use self-host n8n options for stable, server-based running.

Edge Cases & Failures to Watch For

  • Google search may sometimes return unexpected HTML, causing no links found.
  • Regex in the Code node might need adjusting if links are missed.
  • Slack posts fail if API tokens or channel IDs are incorrect.
  • OpenAI prompts may return low-quality output if prompt is incomplete.
  • NocoDB storage errors if API credentials or table names are wrong.

Customization Ideas

  • Adjust search topic in the Set node to explore new LinkedIn advice fields.
  • Change trigger schedule for different automation frequency (daily, weekly, monthly).
  • Switch database nodes from NocoDB to Airtable or Google Sheets.
  • Modify AI prompt in the LangChain OpenAI node to match your style or type of advice.

Example Code and Prompt Snippets

Regex in Code Node to Extract LinkedIn Article URLs

const text = $json.data;
const regexPattern = /https:\/\/www\.linkedin\.com\/advice\/[^%&\s"']+/g;
const matches = text.match(regexPattern);
return { matches: matches || [] };

This code looks inside Google search HTML and finds links starting with linkedIn.com/advice.

Google Search URL Template in HTTP Request Node

=https://www.google.com/search?q=site:linkedin.com/advice+{{ $json.Topic }}

This URL searches LinkedIn advice pages on the chosen topic.


Summary

✓ Finds fresh LinkedIn advice articles on your chosen topic weekly.
✓ Creates unique AI advice per article using OpenAI.
✓ Posts advice automatically to Slack channels.
✓ Stores everything neatly in NocoDB for tracking.
✓ Saves hours of manual research and content creation.


Automate LinkedIn advice with n8n and AI

Visit through Desktop to Interact with the Workflow.

Frequently Asked Questions

Yes, Airtable can be used instead by swapping the database nodes with Airtable nodes configured properly.
It merges new article URLs with stored ones in the database to filter duplicates before processing.
Using a wrong regex pattern or Google search returning unexpected HTML can stop URL extraction.
After import, add API keys for OpenAI, NocoDB, and Slack. Update IDs, channels, tables, and check code or prompts as needed.

Promoted by BULDRR AI

Related Workflows

Automate Twist Channel Creation and Messaging with n8n

This workflow automates creating and updating a channel in Twist and sending a personalized message to specific users. It eliminates manual setup errors and saves time managing Twist communications.

Automate Ideogram Image Generation with Google Sheets & Gmail

This workflow automates graphic design image generation via Ideogram AI, storing image data in Google Sheets and Google Drive, with email alerts via Gmail. It saves designers hours by automating image creation, remixing, review, and record-keeping.

Automate IT Support with Slack and OpenAI in n8n

Streamline IT support by automating Slack message handling using n8n and OpenAI. This workflow handles Slack DMs, filters bots, queries a Confluence knowledge base, and delivers AI-generated responses, improving support efficiency and response time.

Automate Crypto Analysis with CoinMarketCap & n8n AI Agent

Discover how this unique n8n workflow leverages CoinMarketCap’s multi-agent AI to deliver precise, real-time cryptocurrency insights directly via Telegram. Manage crypto data analysis efficiently with automated multi-source API integration.

Automate Gumroad to Beehiiv Subscriber Sync with n8n

Learn how to automatically add new Gumroad sales customers as Beehiiv newsletter subscribers using n8n automation. This workflow saves time by syncing sales data to Google Sheets CRM and notifying your Telegram channel instantly.

Generate On-Brand Blog Articles Using n8n and OpenAI

This workflow automates the creation of on-brand blog articles by analyzing existing company content using n8n and OpenAI. It extracts article structures and brand voice to produce consistent draft articles, saving significant content creation time.
1:1 Free Strategy Session
Your competitors are already automating. Are you still paying for it manually?

Do you want to adopt AI Automation?

Every hour your team does repetitive work, you're burning real money.
While you wait, faster businesses are cutting costs and moving quicker.
AI and automations aren't the future anymore — they're the present.

Book a live 1-on-1 session where we show you exactly which of your daily tasks can be automated — and what it’s costing you not to.