Planning Center Publishing SQL Queries
Query Planning Center Publishing data with SQL to analyze sermon series, speakers, media distribution, and how your content reaches its audience.
Share Your Message With The World
Planning Center Publishing is your church's media hub - managing sermons, series, speakers, and distribution channels. With Parable's SQL access to Publishing data, you can analyze content performance, track engagement metrics, optimize distribution strategies, and ensure your message reaches your community effectively.
Quick Start
Ready to explore your publishing data? Here's your first query to see recent episodes and their engagement:
The examples in this Publishing reference assume a single Planning Center integration. If your workspace has multiple Planning Center integrations, filter to the intended system_integration_id and match that column on every joined entity and relationship table.
-- See your 10 most recent published episodes with view counts
SELECT
e.episode_id,
e.title,
s.title as series_title,
e.published_live_at,
COALESCE(est.library_watch_count, 0) + COALESCE(est.live_watch_count, 0) as total_watches,
e.video_url,
c.name as channel_name
FROM planning_center.publishing_episodes e
LEFT JOIN planning_center.publishing_episodes_relationships er_series
ON er_series.episode_id = e.episode_id AND er_series.relationship_type = 'series'
LEFT JOIN planning_center.publishing_series s
ON s.series_id = er_series.relationship_id
LEFT JOIN planning_center.publishing_episodes_relationships er_channel
ON er_channel.episode_id = e.episode_id AND er_channel.relationship_type = 'channel'
LEFT JOIN planning_center.publishing_channels c
ON c.channel_id = er_channel.relationship_id
LEFT JOIN planning_center.publishing_episode_statistics est
ON est.episode_statistics_id = 'es-' || e.episode_id
ORDER BY e.published_live_at DESC
LIMIT 10;What You Can Do With Publishing Queries
📺 Content Performance Analytics
- Track library and live watch counts across episodes
- Analyze engagement patterns by series, speaker, or topic
- Identify your most popular content and distribution channels
- Monitor audience growth and retention trends
🎙️ Speaker Management
- Track speaker frequency and scheduling
- Analyze topic coverage by speaker
- Identify guest speakers vs regular teaching team
- Plan speaker rotations and sabbaticals
📅 Series Planning
- Analyze optimal series length based on engagement
- Track series performance over time
- Identify seasonal patterns in content consumption
- Plan future series based on historical data
🌐 Multi-Channel Distribution
- Monitor performance across different platforms
- Optimize publishing schedules for maximum reach
- Track channel-specific engagement metrics
- Identify best channels for different content types
📊 Ministry Impact Measurement
- Correlate online engagement with in-person attendance
- Track sermon series impact on giving patterns
- Measure content reach beyond regular attendees
- Analyze biblical text coverage across teaching
Available Tables
Your Planning Center Publishing data is organized into 13 entity tables and 4 relationship tables:
| Table | What It Contains | Key Use Cases |
|---|---|---|
publishing_episodes | Individual sermons and content pieces | Core content records, titles, descriptions |
publishing_series | Sermon series and collections | Series organization, themes, date ranges |
publishing_channels | Distribution channels and platforms | YouTube, podcast, website channels |
publishing_speakers | Speaker profiles and information | Teaching team, guest speakers |
publishing_speakerships | Links episodes to speakers | Who spoke on which episode |
publishing_organizations | Organization-level settings | Global publishing configuration |
publishing_episode_resources | Files and resources for episodes | Sermon notes, slides, handouts |
publishing_episode_times | Publishing schedule for episodes | When content goes live on each channel |
publishing_episode_statistics | Library and live watch counts | Episode viewership snapshots |
publishing_episode_statistic_times | Watch counts for broadcast times | Viewership per available broadcast time |
publishing_note_templates | Templates for sermon notes | Standardized note formats |
publishing_channel_default_times | Default publishing schedules | Standard release times per channel |
publishing_channel_next_times | Upcoming scheduled publishes | Future content calendar |
Related records are linked through these four tables:
| Table | Parent record |
|---|---|
publishing_channels_relationships | Channel |
publishing_episodes_relationships | Episode |
publishing_series_relationships | Series |
publishing_speakerships_relationships | Speakership |
Each stores the parent's Planning Center ID, a relationship_type, and the related record's relationship_id. Planning Center IDs belong to a source integration; preserve that source when joining records.
Understanding Relationships
Publishing data includes several key relationships:
- Episodes to Series and Channels: Use
publishing_episodes_relationshipswithrelationship_type = 'series'or'channel'. - Episodes to Speakers: Follow episode relationships to
publishing_speakerships, thenpublishing_speakerships_relationshipsto the speaker. - Episodes to Resources and Times: Follow episode relationships to the corresponding resource or time record; these entity tables do not store an
episode_idcolumn. - Episodes to Statistics: Match
episode_statistics_idto'es-' || episode_idwithin the same source integration.
Key Concepts
Episode Status
published_live_at- When the episode went livepublished_to_library_at- When added to the content library- Episodes without these dates are draft or scheduled
Distribution Channels
Different platforms where content is published:
- Church website
- YouTube channel
- Podcast platforms
- Church Center app
- Social media channels
Content Types
- Sermons - Weekly messages
- Series - Multi-week teaching themes
- Special Events - Holiday services, conferences
- Resources - Study guides, sermon notes
Metrics and Analytics
library_watch_count- Watches of library content inpublishing_episode_statisticslive_watch_count- Watches of live content inpublishing_episode_statisticswatch_countandstarts_at- Viewership and broadcast time inpublishing_episode_statistic_times, where time-level records are available- Per-episode download counts and unique-viewer counts are not columns in the synced Publishing schema. These watch counts should not be described as distinct people.
Next Steps
📚 New to SQL? Start with Basic Queries for simple, powerful queries you can use today.
🚀 Ready for More? Check out Advanced Queries for complex analysis and reporting.
📊 Need Reports? See Reporting Examples for complete, production-ready reports.
🔍 Want Details? Review the Data Model for complete table documentation.
Common Questions
How do I find episodes from a specific series?
SELECT
e.title as episode_title,
e.published_live_at,
s.title as series_title
FROM planning_center.publishing_episodes e
JOIN planning_center.publishing_episodes_relationships er_series
ON er_series.episode_id = e.episode_id AND er_series.relationship_type = 'series'
JOIN planning_center.publishing_series s
ON s.series_id = er_series.relationship_id
WHERE s.title LIKE '%Grace%'
ORDER BY e.published_live_at;How do I see which speakers have taught recently?
SELECT
sp.formatted_name as speaker_name,
COUNT(DISTINCT e.episode_id) as episode_count,
MAX(e.published_live_at) as most_recent
FROM planning_center.publishing_speakers sp
JOIN planning_center.publishing_speakerships_relationships spr
ON spr.relationship_id = sp.speaker_id AND spr.relationship_type = 'speaker'
JOIN planning_center.publishing_speakerships ship
ON ship.speakership_id = spr.speakership_id
JOIN planning_center.publishing_episodes_relationships er_ship
ON er_ship.relationship_id = ship.speakership_id AND er_ship.relationship_type = 'speakerships'
JOIN planning_center.publishing_episodes e
ON e.episode_id = er_ship.episode_id
WHERE e.published_live_at >= CURRENT_DATE - INTERVAL '3 months'
GROUP BY sp.speaker_id, sp.formatted_name
ORDER BY episode_count DESC;How do I track content performance over time?
SELECT
DATE_TRUNC('week', published_live_at) as week,
SUM(live_watch_count) as total_live_watches,
SUM(library_watch_count) as total_library_watches,
COUNT(DISTINCT episode_statistics_id) as episodes_tracked
FROM planning_center.publishing_episode_statistics
WHERE published_live_at >= CURRENT_DATE - INTERVAL '6 months'
GROUP BY DATE_TRUNC('week', published_live_at)
ORDER BY week DESC;What's the difference between channels and series?
- Channels are distribution platforms (YouTube, Podcast, Website)
- Series are content collections (sermon series, teaching themes)
- An episode belongs to one series but can be published to multiple channels
How do I find resources attached to episodes?
SELECT
e.title as episode_title,
er.title as resource_name,
er.kind as resource_type,
er.url
FROM planning_center.publishing_episodes e
JOIN planning_center.publishing_episodes_relationships err
ON err.episode_id = e.episode_id AND err.relationship_type = 'episode_resources'
JOIN planning_center.publishing_episode_resources er
ON er.episode_resource_id = err.relationship_id
WHERE e.episode_id = 'YOUR_EPISODE_ID';Tips for Success
- Join Through Relationship Tables - Use
publishing_episodes_relationships,publishing_speakerships_relationshipsetc. for relationships - Filter by Dates - Use
published_live_atto focus on published content - Compare Metrics - Compare library and live watch-count snapshots between episodes
- Consider Channels - Different channels may have different performance
- Compare Broadcast Times - Use
publishing_episode_statistic_timesfor available broadcast-time watch counts
Integration Opportunities
Combine Publishing data with other Planning Center modules:
- With People: Track online viewers who become visitors
- With Giving: Analyze giving patterns during specific series
- With Groups: Connect sermon topics to small group curricula
- With Services: Link sermon planning to worship service elements
- With Check-ins: Correlate online viewing with attendance
Getting Help
- 🐛 Found an issue? Report it at github.com/getparable/parable-api/issues
- 📖 Need more examples? Check our other query guides in this folder
- 💬 Have questions? Reach out to your Parable support team
Your message matters. Let data help you share it more effectively.
Planning Center People Report Examples
Production-ready People reports for church leadership: membership lists, new-visitor follow-up, and congregation demographics ready to run.
Planning Center Publishing Data Model
Complete reference for all Planning Center Publishing tables in Parable: episodes, series, speakers, channels, and the relationships between them.