Public Relations Manager π°
AI-Powered Public Relations Assistant for OpenClaw
Version: 1.0.0 | Status: Production Ready β
π Description
Public Relations Manager is a comprehensive AI-powered public relations assistant that helps PR professionals, marketers, and founders manage their media relations, create compelling content, and plan strategic campaigns.
Perfect for:
- π― PR Professionals - Manage media databases and outreach efficiently
- π Startups - Announce funding rounds and product launches professionally
- π’ Marketing Teams - Coordinate content calendars and multi-channel campaigns
β¨ Core Features
1. π― Media Matching Engine
Intelligently match your story with the right journalists and media outlets using a 4-dimensional AI scoring algorithm:
- Category Match (40%): Direct + related category alignment
- Influence Level (30%): Top-tier vs mid-tier vs niche outlets
- Relationship (15%): Response rate + interaction history
- Relevance (15%): Audience fit + outlet characteristics
Recommendation Levels:
- π’ Highly Recommended (80-100): Perfect fit, pitch immediately
- π‘ Recommended (65-79): Strong match, good opportunity
- π Maybe (50-64): Possible fit, consider context
- π΄ Not Suitable (<50): Poor match, skip
2. π° Press Release Generation
Generate professional press releases for:
- π± Product Launches: Feature announcements, new releases
- π° Funding Rounds: Series A/B/C, seed rounds
- π€ Partnerships: Strategic alliances, integrations
Each template includes:
- Professional headline generation
- Structured body paragraphs
- Quote formatting
- Company boilerplate
- Contact information module
3. βοΈ Media Pitch Creation
Create personalized media pitches with:
- Custom subject lines tailored to journalist interests
- Journalist-specific personalization based on their beat
- Exclusive offer support for unique story opportunities
- Follow-up templates for continued engagement
4. π Campaign Planning
Plan comprehensive PR campaigns with:
- Multi-week content calendars (4-8 weeks)
- Content scheduling by date and type
- Deadline tracking for upcoming and overdue items
- AI-powered content suggestions based on campaign goals
π¦ Installation
From PyPI (Recommended)
pip install openclaw-public-relations-manager
From ClawHub
clawhub install public-relations-manager
From GitHub Source
git clone https://github.com/ZhenRobotics/openclaw-public-relations-manager
cd openclaw-public-relations-manager
pip install -e .
π Quick Start
from pr_manager import PRManager, MediaCategory
# Initialize PR Manager
pr = PRManager()
# Load sample media database (5 outlets + 5 journalists)
from pr_manager.data import load_sample_media_database
outlets, journalists = load_sample_media_database()
for outlet in outlets:
pr.add_media_outlet(outlet)
for journalist in journalists:
pr.add_journalist(journalist)
# Match a story to relevant media
result = pr.match_story_to_media(
story_title="Company Raises $10M Series A",
story_categories=[MediaCategory.TECH, MediaCategory.STARTUP],
min_score=60.0
)
print(f"Found {len(result.matches)} relevant media contacts")
for match in result.get_top_matches(5):
print(f"{match.target_name}: {match.overall_score}/100")
π Usage Examples
Example 1: Generate Press Release
# Generate a product launch press release
press_release = pr.generate_product_launch_pr(
company_name="YourCompany",
product_name="YourProduct",
key_benefit="streamline team collaboration",
problem_solved="the challenge of remote coordination",
key_features=[
"Real-time collaboration",
"AI-powered automation",
"Enterprise security"
],
availability="available immediately",
pricing="Starting at $99/month",
quotes=[
{
"speaker": "CEO Name",
"title": "CEO",
"company": "YourCompany",
"text": "This is a game-changer for our industry."
}
],
boilerplate="About YourCompany: Leading software provider...",
contact_info={"Name": "PR Team", "Email": "pr@company.com"},
location="San Francisco, CA"
)
# Save as markdown
with open("press_release.md", "w") as f:
f.write(press_release.to_markdown())
Example 2: Quick Match and Pitch Workflow
# Match story to journalists and generate pitches in one step
results = pr.quick_match_and_pitch(
story_title="AI Startup Disrupts Industry",
story_categories=[MediaCategory.TECH, MediaCategory.STARTUP],
story_hook="Company launches breakthrough AI technology",
story_details="The platform automates complex workflows...",
why_relevant="This aligns with your AI coverage.",
top_n=5
)
# Review and send to top 5 matched journalists
for journalist, pitch in results:
print(f"\nTo: {journalist.email}")
print(f"Subject: {pitch.subject_line}")
print(pitch.to_email())
Example 3: Plan PR Campaign
from datetime import date, timedelta
# Create a 6-week product launch campaign
campaign = pr.create_campaign(
name="Product Launch Q2",
goal="product_launch",
description="Comprehensive launch campaign",
start_date=date.today() + timedelta(days=14),
duration_weeks=6,
target_categories=[MediaCategory.TECH, MediaCategory.BUSINESS],
key_messages=[
"Revolutionary AI technology",
"10x productivity improvement",
"Enterprise-ready security"
],
budget=75000
)
# Get AI-suggested content for the campaign
planner = pr.calendar_planner
suggestions = planner.suggest_campaign_content(campaign)
for suggestion in suggestions:
print(f"{suggestion['title']} - {suggestion['content_type'].value}")
π Sample Database
The skill includes realistic sample data:
Media Outlets (5):
- π TechCrunch - Top-tier tech coverage
- π° The Wall Street Journal - Business/finance authority
- πΌ VentureBeat - Mid-tier tech news
- π° Forbes - Business and entrepreneurship
- π The Information - Tech insider coverage
Journalists (5):
- Profiles with beat coverage, contact info, response rates
- Recent article lists
- Influence level classification
π§ͺ Testing
Run the comprehensive test suite:
python test_pr_manager.py
All 6 core tests pass with 100% success rate:
- β Media matching engine
- β Press release generation
- β Media pitch creation
- β Content calendar planning
- β Quick workflows
- β Database management
π§ Parameters & Configuration
MediaCategory Enum
MediaCategory.TECH # Technology
MediaCategory.STARTUP # Startups & entrepreneurship
MediaCategory.BUSINESS # General business
MediaCategory.FINANCE # Finance & investment
MediaCategory.CONSUMER # Consumer products
MediaCategory.ENTERPRISE # Enterprise software
MediaCategory.LIFESTYLE # Lifestyle & culture
MediaCategory.HEALTH # Healthcare & wellness
InfluenceLevel Enum
InfluenceLevel.TOP_TIER # Major outlets (NYT, WSJ, TechCrunch)
InfluenceLevel.MID_TIER # Industry publications
InfluenceLevel.NICHE # Specialized blogs/newsletters
InfluenceLevel.EMERGING # New/growing platforms
πΊοΈ Roadmap
v1.1 (Planned)
- π Analytics dashboard for campaign performance
- π§ Email integration for automated sending
- π Media coverage tracking
- π¬ Sentiment analysis
v1.2 (Planned)
- π CRM integrations (HubSpot, Salesforce)
- π Multi-language support
- π¦ Press kit generation
- π Media monitoring alerts
v2.0 (Future)
- π€ AI-powered newsjacking suggestions
- π Competitive PR intelligence
- β° Automated follow-up scheduling
- π΅ ROI measurement tools
π Resources
- GitHub: https://github.com/ZhenRobotics/openclaw-public-relations-manager
- PyPI: https://pypi.org/project/openclaw-public-relations-manager/
- Documentation: README.md
- Contributing: CONTRIBUTING.md
- Issues: https://github.com/ZhenRobotics/openclaw-public-relations-manager/issues
π€ Support
- Email: code@zhenrobot.com
- GitHub Issues: For bug reports and feature requests
- GitHub Discussions: For questions and community support
π License
MIT License - Open source and free to use
π₯ Credits
Author: Justin Wang Co-Author: Claude Sonnet 4.5 Organization: ZhenRobotics
π Technical Details
- Language: Python 3.10+
- Platforms: Linux, macOS, Windows
- Dependencies: pydantic>=2.5.0, python-dateutil>=2.8.0
- Code Size: 4,078 lines across 27 modules
- Test Coverage: 6 comprehensive tests (100% pass rate)
- Architecture: Modular design with clear separation of concerns
π― Best Practices
For PR Professionals
- Build your media database gradually
- Track journalist response rates
- Personalize every pitch
- Follow up strategically
For Startups
- Prepare boilerplate and quotes in advance
- Time announcements strategically
- Build relationships before you need them
- Measure and iterate
For Marketing Teams
- Plan campaigns 4-6 weeks ahead
- Align messaging across channels
- Track all media interactions
- Maintain consistent brand voice
π Ready to transform your PR workflow? Install now and start managing media relations like a pro!
clawhub install public-relations-manager