Automatically transform Notion content into polished LinkedIn posts with AI-generated variations—one main post plus three unique alternatives created hourly without manual effort.
This agent works seamlessly with these platforms to deliver powerful automation.
Connect to Anthropic API to use Claude models for text generation, analysis, and...
All-in-one workspace for content and collaboration with powerful database and pa...
Leverage OpenAI's powerful language models to generate text, answer questions, a...
This workflow automatically transforms your raw notes and ideas into polished LinkedIn content on an hourly basis. It monitors a Notion database for content marked as "Ready," then uses AI to generate one main LinkedIn post plus three creative variations—giving you four unique posts from a single set of notes. The entire process runs hands-free, updating your Notion workspace with publication-ready content that maintains your authentic voice while maximizing engagement potential.
Key benefits:
Perfect for: Content creators, thought leaders, marketing teams, and consultants who need to maintain an active LinkedIn presence without spending hours writing posts daily.
This workflow is designed for:
You'll get the most value if you already use Notion for note-taking and want to establish a systematic content creation process.
Why it's needed: Notion serves as both your content input source and output destination. The workflow queries your database for content marked as "Ready," then saves all generated posts back to Notion for review and scheduling.
Setup steps:
Create a Notion integration:
Copy your Internal Integration Token:
Share your database with the integration:
Configure in TaskAGI:
Database requirements: Your Notion database must include:
Why it's needed: Claude powers the main content generation, transforming your notes into a primary LinkedIn post and creating three variations. This workflow uses Claude Sonnet 4.5, which excels at maintaining natural voice and understanding nuanced content requirements.
Setup steps:
Create an Anthropic account:
Generate an API key:
Add credits to your account:
Configure in TaskAGI:
Why it's needed: OpenAI's GPT-4o generates the three post idea outlines that serve as prompts for Claude to create variations. This multi-AI approach combines GPT-4o's creative ideation with Claude's natural writing style.
Setup steps:
Create an OpenAI account:
Generate an API key:
Add billing information:
Configure in TaskAGI:
The Hourly Schedule node initiates the workflow automatically.
60 minutesWhy hourly? This ensures fresh content is processed regularly without overwhelming your AI usage limits or creating duplicate posts.
The Query Notion for Ready Content node searches your database for content ready to be processed.
equals
Ready
1 to process one piece of content per runExample filter:
{
"property": "Status",
"select": {
"equals": "Ready"
}
}
The Check Results Exist node prevents errors when no content is ready.
is not empty
This conditional logic ensures the workflow doesn't fail when your content queue is empty.
The Extract Content Data function node prepares your content for AI processing.
input
const page = input[0]; // Get first result
return {
pageId: page.id,
notes: page.properties.Notes.rich_text[0]?.plain_text || "",
title: page.properties.Name.title[0]?.plain_text || "Untitled"
};
The Update Status to Running node marks content as being processed to prevent duplicate runs.
{{4063.pageId}}
Status
Running
This immediately updates the status, so even if the workflow fails later, the same content won't be reprocessed.
This is where your primary post gets created.
claude-sonnet-4-5-20250929 (pre-configured)You are a LinkedIn content expert. Based on the notes provided, create an engaging LinkedIn post that:
- Hooks readers in the first line
- Uses short paragraphs and line breaks for readability
- Includes relevant insights or actionable takeaways
- Ends with a question or call-to-action
- Is 150-250 words
- Maintains a professional yet conversational tone
{{4063.notes}}
1000
0.7 (balance between creativity and consistency)This node stores your generated main post.
Main Post - {{4063.title}}
{{4065.content[0].text}}
Main (if you have a Type property)Draft
{{4063.pageId}} (link back to original notes)This node creates three different angles for variation posts.
gpt-4o (pre-configured)Based on the notes provided, create an outline with 3 different angles or perspectives for LinkedIn posts. For each angle, provide:
- A hook/opening line
- Main point or insight
- Call-to-action
Format as JSON array with objects containing: hook, mainPoint, cta
{{4063.notes}}
0.8 (higher for more creative variations)800
json_object (ensures structured output)The Loop Through Post Ideas node processes each of the three ideas.
{{4067.choices[0].message.content}}
postIdea
This node creates each variation post based on the outlines.
claude-sonnet-4-5-20250929
You are a LinkedIn content expert. Based on the outline provided, create an engaging LinkedIn post that:
- Uses the provided hook as inspiration for the opening
- Develops the main point with specific examples or insights
- Incorporates the call-to-action naturally
- Is 150-250 words
- Uses short paragraphs and line breaks
- Maintains a professional yet conversational tone
Original notes: {{4063.notes}}
Outline:
Hook: {{postIdea.hook}}
Main Point: {{postIdea.mainPoint}}
Call-to-action: {{postIdea.cta}}
Create a complete LinkedIn post based on this outline.
1000
0.7
This node saves each variation (runs three times in the loop).
Variation {{$index + 1}} - {{4063.title}}
{{4069.content[0].text}}
Variation
Draft
{{4063.pageId}}
{{$index + 1}}
Note: $index is a loop variable that counts from 0, so adding 1 gives you variations numbered 1, 2, 3.
Prepare test content:
Run the workflow manually:
Verify each stage:
After Query Notion (Node 2):
After Check Results Exist (Node 3):
After Extract Content Data (Node 4):
After Update Status (Node 5):
After Main Post Generation (Node 6):
After Save Main Post (Node 7):
After Generate 3 Post Ideas (Node 8):
After Loop Completion (Nodes 9-11):
✅ Complete success looks like:
Test with empty notes:
Test with no ready content:
Test with very long notes:
Cause: Database connection or filter configuration issue
Solutions:
Explore these powerful automation agents that complement your workflow.
Extract detailed LinkedIn company information including employee counts, industry insights, and company details. Simple...
Extract detailed LinkedIn job posting information including requirements, salary, and company details. Simple form inter...
Discover LinkedIn job listings using location and keyword search with advanced filters. Form-based interface for custom...