LinkedIn Voice Trainer & AI Content Generator avatar

LinkedIn Voice Trainer & AI Content Generator

Pricing

from $0.01 / 1,000 results

Go to Apify Store
LinkedIn Voice Trainer & AI Content Generator

LinkedIn Voice Trainer & AI Content Generator

Analyze LinkedIn posts to extract writing voice patterns using AI. Train AI assistants on your style. GPT-4/Claude powered.

Pricing

from $0.01 / 1,000 results

Rating

0.0

(0)

Developer

The Howlers

The Howlers

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

0

Monthly active users

4 days ago

Last modified

Share

LinkedIn Voice Trainer - AI Content Generator

Train AI on your unique LinkedIn writing style, then generate authentic posts that sound exactly like you. BYOK support for OpenAI, Claude, and Gemini.

BYOK (Bring Your Own Key) -- you provide your own API credentials.


Before You Start

This actor requires your own API credentials to fetch real data.

Where to get your key: Your LinkedIn account email (optional). Enables authenticated scraping for better results - the scraper will login automatically and extract posts.

You can test with Demo Mode first (free, no key needed) to see the output format before committing.


Quick Start

Test with Demo Mode (free, no API key needed)

{
"demoMode": true,
"linkedinProfileUrl": "https://example.com"
}

Run with real data

{
"demoMode": false,
"linkedinProfileUrl": "https://example.com",
"linkedinEmail": "YOUR_API_KEY_HERE",
"linkedinPassword": "YOUR_API_KEY_HERE",
"cookies": "YOUR_API_KEY_HERE",
"cookieKvStoreName": "cookie-sessions",
"linkedinAccessToken": "YOUR_API_KEY_HERE",
"task": "analyze_voice",
"aiProvider": "claude",
"claudeApiKey": "YOUR_API_KEY_HERE",
"openaiApiKey": "YOUR_API_KEY_HERE",
"geminiApiKey": "YOUR_API_KEY_HERE",
"saveVoiceProfile": true,
"voiceProfileName": "my-voice-profile",
"contentType": "text",
"includeHashtags": true,
"maxLength": 1500,
"variations": 1
}

Input Parameters

ParameterTypeDefaultRequiredDescription
linkedinProfileUrlstring-NoLinkedIn profile URL to analyze (e.g., https://www.linkedin.com/in/johnrippy/). The actor will automatically scrape this user's posts using our LinkedIn scraper.
linkedinEmailstring-Yes*Your LinkedIn account email (optional). Enables authenticated scraping for better results - the scraper will login automatically and extract posts.
linkedinPasswordstring-Yes*Your LinkedIn account password for automatic login. Only works if MFA/2FA is disabled.
cookiesstring-Yes*JSON array of cookies exported from your browser. Use Cookie-Editor or EditThisCookie extension. Not needed if using Cookie Manager.
cookieStorageKeystring-NoKey to load cookies from Cookie Manager's named KV store. Use this instead of pasting cookies manually. Run Cookie Manager actor first to capture and store your LinkedIn session.
cookieKvStoreNamestring"cookie-sessions"NoName of the Apify Key-Value Store where Cookie Manager saved the session. Default: 'cookie-sessions'.
linkedinAccessTokenstring-Yes*OAuth 2.0 access token from your LinkedIn Developer App. Create one at https://developer.linkedin.com - requires 'r_liteprofile' and 'r_basicprofile' scopes. Best for scraping your own profile.
taskstring"analyze_voice"Yes*What to do: analyze posts to create voice profile, generate posts, or improve a draft
aiProviderstring"claude"NoWhich AI provider to use for voice analysis and content generation
claudeApiKeystring-Yes*Your Anthropic Claude API key (required if using Claude). Steps: 1) Go to console.anthropic.com 2) Click Settings > API Keys 3) Create new key 4) Copy and paste here
openaiApiKeystring-Yes*Your OpenAI API key (required if using OpenAI). Steps: 1) Go to platform.openai.com 2) Click API Keys 3) Create new secret key 4) Copy and paste here
geminiApiKeystring-Yes*Your Google Gemini API key (required if using Gemini). Steps: 1) Go to aistudio.google.com 2) Click Get API key 3) Create key in new project 4) Copy and paste here
aiModelstring-NoOverride default model. Leave empty for: Claude (claude-sonnet-4-5-20250929), OpenAI (gpt-4-turbo-preview), Gemini (gemini-1.5-pro)
postsarray-NoLinkedIn posts to analyze for voice training. Each post should have text, likes, comments, reposts.
voiceProfileobject-NoPreviously generated voice profile (for generate/improve tasks)
voiceProfileIdstring-NoLoad voice profile from Apify Key-Value Store by ID
saveVoiceProfilebooleantrueNoSave the generated voice profile to Apify Key-Value Store for reuse
voiceProfileNamestring"my-voice-profile"NoName for the voice profile (used as storage key)
topicstring-NoTopic for post generation (required for generate_post task)
draftstring-NoDraft text to improve (required for improve_draft task)
feedbackstring-NoSpecific feedback for draft improvement
contentTypestring"text"NoType of content to optimize for
includeHashtagsbooleantrueNoInclude hashtags in generated posts
maxLengthinteger1500NoMaximum character length for generated posts
variationsinteger1NoNumber of alternative versions to generate
industrystring-NoYour industry (for better topic suggestions)
recentTopicsarray-NoTopics you've recently covered (to avoid repetition)
demoModebooleantrueNoReturn mock data for testing without API calls. Enable this if you don't have an AI API key yet.
webhookUrlstring-NoURL to receive a POST request when the actor run finishes. Useful for integrations with Zapier, Make, n8n, or custom automation workflows.

*Required when Demo Mode is off.


Pricing

This actor uses pay-per-event billing:

EventDescriptionPrice
Content GeneratedEach AI-generated post in your voice style$0.05

Demo mode is free -- no charges for sample data.


Troubleshooting

"API key is required"

You have Demo Mode turned off but didn't provide an API key. Either:

  • Turn Demo Mode on to test with sample data
  • Add your API key in the input

"API error 403" or "Unauthorized"

Your API key is invalid, expired, or doesn't have access to this specific API endpoint. Double-check your key and account permissions.

"API error 429" or "Rate limit"

Too many requests. Wait a minute and try again, or reduce the number of items per run.

No results or empty dataset

Check the run log for error messages. Common causes:

  • Invalid input format (check the examples above)
  • API key without proper permissions
  • The target data doesn't exist or is too small to track

How do I test without an API key?

Enable Demo Mode in the input. This returns realistic sample data so you can verify the output format works for your workflow.


Built by John Rippy | Actor Arsenal