Skip to main content

Planning Center Calendar SQL Queries

Coordinate Your Ministry with Data-Driven Scheduling

Your church calendar is the heartbeat of ministry activity. With Parable’s SQL access to Planning Center Calendar data, you can optimize facility usage, prevent conflicts, and ensure every event runs smoothly.

Quick Start

Ready to explore your calendar data? Here’s your first query to see upcoming events:

What You Can Do With Calendar Queries

📅 Event Management

  • View all upcoming events and their details
  • Track event approval status and workflows
  • Monitor recurring events and patterns
  • Identify scheduling gaps and opportunities

🏢 Resource Management

  • Check room and equipment availability
  • Track resource bookings and conflicts
  • Analyze facility utilization rates
  • Plan maintenance around usage patterns

⚠️ Conflict Detection

  • Find double-booked resources
  • Identify scheduling conflicts
  • Prevent resource overbooking
  • Manage approval workflows

📊 Usage Analytics

  • Generate facility usage reports
  • Track event attendance patterns
  • Analyze resource utilization
  • Optimize scheduling based on data

Available Tables

Your Planning Center Calendar data is organized into these main tables:

Understanding Relationships

Calendar data uses relationship tables to maintain flexibility:
  • calendar_events_relationships - Links events to owners, tags, and other entities
  • calendar_eventinstances_relationships - Links instances to resources and bookings
  • calendar_resources_relationships - Links resources to folders and approval groups
  • calendar_resourcebookings_relationships - Links bookings to events and resources

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 conflict detection and resource optimization. 📊 Need Reports? See Reporting Examples for complete facility and event reports. 🔍 Want Details? Review the Data Model for complete table documentation.

Common Questions

What’s the difference between an event and an event instance?

  • An event is the master definition (like “Sunday Service”)
  • An event instance is a specific occurrence (like “Sunday Service on Jan 7, 2024”)
  • One event can have many instances (especially for recurring events)

How do I find available resources?

Check for resources without bookings during your timeframe:

How are recurring events stored?

  • The calendar_events table has the master event
  • calendar_event_instances has each occurrence
  • The recurrence field contains the recurrence pattern
  • recurrence_description provides human-readable recurrence info

What do approval statuses mean?

  • A = Approved
  • P = Pending
  • R = Rejected
  • null = No approval required

How do I handle all-day events?

All-day events have all_day_event = true and use date boundaries:

Common Calendar Patterns

Weekly Room Schedule

Today’s Events

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 ministry calendar tells a story of community and service. Let’s help you manage it better.