A Flask-based LinkedIn automation tool with AI-generated content, email approvals, and scheduled posting.
This application automates daily LinkedIn content posting using Flask and Cohere AI. It allows users to:
✅ Schedule posts based on their chosen days
✅ Generate AI-powered content using Cohere
✅ Receive an approval email before posting
✅ Post content automatically on approval
🕒 Automated LinkedIn Posting
📅 Custom Scheduling for Posts
🤖 AI-Powered Content Generation (via Cohere AI)
📧 Email Approval Before Posting
🔗 Seamless LinkedIn API Integration
python - m venv venv
- Windows:
venv\Scripts\activate - Mac/Linux:
source venv/bin/activate
pip install -r requirements.txt
Inside Project-gen/backend/, there is an .env file kindly configure it first.
- Navigate to backend/:
cd backend - Initialize Alembic Migrations:
flask db init
* if you dont find a folder instance with database.db create one mannual now. - Create Migration File:
flask db migrate -m "Initial Migration" - Apply Migrations:
flask db upgrade
- Ensure you're inside backend/:
cd backend
python app.py
The app will start running on http://127.0.0.1:5000/
- Login via LinkedIn
- Visit http://127.0.0.1:5000/
- Click "Login with LinkedIn"
- Authenticate & get redirected to the dashboard
- Update Topics & Schedule
- Navigate to /dashboard
- Update Topics & Days for Scheduling
- Click Save
- Approve & Publish LinkedIn Posts
- You’ll receive an approval email with a button
- Click Approve to post automatically on LinkedIn