Schedule various LinkedIn actions including connection requests, messages, and data retrieval operations. The system automatically handles timing delays and rate limiting to ensure safe automation.
Requires the linkedin:schedule permission and an active LinkedIn integration
in your account.
LinkedIn integration settings (timezone, account details) are automatically
detected from your connected LinkedIn account. No additional configuration
required.
curl -X POST "https://api.buena.ai/api/v2/linkedin/scheduleLinkedInAction" \ -H "x-api-key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "actionType": "sendFirstMessage", "profileUrl": "https://linkedin.com/in/janedoe", "message": "Hi Jane, thank you for connecting! I noticed your expertise in AI and would love to discuss potential synergies." }'
curl -X POST "https://api.buena.ai/api/v2/linkedin/scheduleLinkedInAction" \ -H "x-api-key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "actionType": "sendVoiceMessage", "profileUrl": "https://linkedin.com/in/johndoe", "message": "Hi John! I wanted to reach out personally about an exciting opportunity.", "voiceSettings": { "voiceId": "voice_abc123", "voiceText": "Hi John! I hope you're having a great week. I came across your profile and was really impressed by your experience in AI. I wanted to reach out personally about an exciting opportunity that I think could be a perfect fit for your background. Would love to chat more about it!", "voiceParams": { "stability": 0.6, "clarity": 0.8, "use_speaker_boost": true } } }'
The system automatically applies intelligent delays to ensure safe automation:
Delay Calculation
Delays are calculated based on: - Your current activity level - LinkedIn’s
rate limits - Time of day and timezone (from your LinkedIn account) -
Account safety guidelines - Previous action history
Timezone Considerations
Actions are scheduled considering: - Business hours in your LinkedIn account
timezone - Weekend vs weekday patterns - Regional LinkedIn usage patterns -
Your account’s historical activity
Safety Features
Built-in safety mechanisms: - Automatic rate limiting - Human-like timing
patterns - Activity distribution across time - Compliance with LinkedIn
terms
async function monitorConnections() { const response = await fetch( "https://api.buena.ai/api/v2/linkedin/scheduleLinkedInAction", { method: "POST", headers: { "x-api-key": process.env.BUENA_API_KEY, "Content-Type": "application/json", }, body: JSON.stringify({ actionType: "getAcceptedConnections", }), } ); const result = await response.json(); if (result.success) { console.log("✅ Connection monitoring scheduled"); // Schedule follow-up messages for new connections // This would typically be handled by a webhook or polling system } return result;}// Run daily to check for new connectionssetInterval(monitorConnections, 24 * 60 * 60 * 1000);
function createPersonalizedMessage(prospect) { const templates = [ `Hi ${prospect.firstName}, I noticed your work at ${prospect.company} and would love to connect!`, `Hello ${prospect.firstName}, your background in ${prospect.industry} caught my attention. Let's connect!`, `Hi ${prospect.firstName}, I'd love to learn more about your role at ${prospect.company}.` ]; return templates[Math.floor(Math.random() * templates.length)];}