AI-Powered LinkedIn Post Scheduler: Notion to LinkedIn Automation
Integrates with:
Overview
Unlock Consistent & Engaging LinkedIn Presence with this AI Agent
Stop manually copying, pasting, and formatting your LinkedIn content! This n8n AI Agent streamlines your social media workflow by connecting directly to your Notion content database. It intelligently fetches scheduled posts, leverages an OpenAI Assistant to refine your message for maximum impact, and publishes it to LinkedIn automatically, complete with images.
Perfect for busy founders, solopreneurs, and marketing teams looking to maintain a strong LinkedIn presence without the daily grind.
Key Features & Benefits
- Scheduled Content Pull: Automatically retrieves posts from your Notion database based on a designated 'Date' field.
- AI-Powered Content Enhancement: Utilizes an OpenAI Assistant to reformat text, improve readability with smart paragraph breaks, and structure lists for better LinkedIn engagement.
- Image Integration: Fetches image URLs directly from your Notion entries and includes them in your LinkedIn posts.
- Automated Posting: Publishes the final, AI-enhanced content directly to your LinkedIn profile or company page.
- Workflow Tracking: Updates the post status in your Notion database to 'Done' after successful publication, keeping your content calendar organized.
- Save Time & Boost Productivity: Drastically reduces manual effort in content preparation and publishing, freeing you up for strategic tasks.
Use Cases
- Automate daily/weekly LinkedIn posts from a Notion content calendar.
- Transform raw notes in Notion into polished, engaging LinkedIn articles using AI.
- Maintain a consistent posting schedule on LinkedIn with minimal manual intervention.
- Streamline content repurposing from Notion to LinkedIn for individuals and teams.
Prerequisites
- An n8n instance (Cloud or self-hosted).
- OpenAI API Key and an OpenAI Assistant ID (the workflow uses a pre-configured Assistant for reformatting LinkedIn posts, but you can customize it).
- Notion integration token with permissions to read and write to your content database.
- LinkedIn account credentials configured in n8n.
- A Notion database with columns for at least 'Name' (or title), 'Status', 'Date' (for scheduling), and the post content (text and a URL for an image).
Setup Instructions
- Download the n8n workflow JSON file.
- Import the workflow into your n8n instance.
- Configure 'Schedule Trigger': Adjust the schedule (e.g., time of day, frequency) for when posts should be fetched and published.
- Configure 'query entries from Notion table for today' node:
- Add your Notion API credentials.
- Select your Notion Database ID where your LinkedIn posts are drafted.
- Verify the filter for the 'Date' property is correctly set to fetch posts for the current day.
- Configure 'get all content from post page' node: Ensure your Notion API credentials are set.
- Configure 'Reformat Post Text' (OpenAI) node:
- Add your OpenAI API credentials.
- Verify the
Assistant ID
(e.g.,asst_J1KuOx5wTLrjEHuy5q94jEgh
) is correct, or replace it with your own OpenAI Assistant designed for LinkedIn post formatting. The prompt asks the assistant to reformat text with paragraph breaks and lists.
- Configure 'Fetch image from post' node: This node expects an image URL in your Notion data. Ensure your Notion entries provide this URL in a way the workflow can extract it (the template uses
$json.url[0]
). - Configure 'Post on LinkedIn' node:
- Add your LinkedIn credentials.
- Specify the LinkedIn Person URN or Organization URN to post as (e.g.,
_RmSSZc0jB
).
- Configure 'Set post status to "Done"' node: Ensure your Notion API credentials are set and the node correctly updates the 'Status' property in your Notion database for the published post.
- Test the entire workflow with a sample entry in your Notion database scheduled for 'today'.
- Activate the workflow.
Want your own unique AI agent?
Talk to us - we know how to build custom AI agents for your specific needs.
Schedule a Consultation