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:Table | What It Contains | Key Use Cases |
---|---|---|
calendar_events | Event definitions and details | Event information, approval status, descriptions |
calendar_event_instances | Specific occurrences of events | Event times, locations, recurrence patterns |
calendar_resources | Rooms, equipment, and facilities | Resource inventory, availability, specifications |
calendar_resource_bookings | Resource reservations | Booking times, quantities, conflicts |
calendar_conflicts | Scheduling conflicts | Double bookings, resource conflicts |
calendar_event_resource_requests | Resource requests for events | Pending requests, approval workflows |
calendar_tags | Event categorization tags | Event types, ministries, categories |
Understanding Relationships
Calendar data uses relationship tables to maintain flexibility:calendar_events_relationships
- Links events to owners, tags, and other entitiescalendar_eventinstances_relationships
- Links instances to resources and bookingscalendar_resources_relationships
- Links resources to folders and approval groupscalendar_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
= ApprovedP
= PendingR
= Rejectednull
= No approval required
How do I handle all-day events?
All-day events haveall_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.