Overview
Timelines are predefined sequences of collection actions (AI calls, emails, SMS, WhatsApp messages) that automatically execute according to your configured schedule. By associating a timeline with a debt, you can trigger sophisticated AI-powered collection workflows without manual intervention.What are Timelines?
A timeline defines:- Actions: What communication methods to use (AI calls, emails, SMS, etc.)
- Timing: When each action should occur (days, hours, business days)
- Conditions: Rules for when actions should execute or skip
- Exclusions: Days when no actions should occur (weekends, holidays)
timeline_id, the system automatically schedules and executes these actions based on your timeline configuration.
Benefits of Using Timelines
Automation
Set up once, automate forever. Debts automatically follow your collection process.
AI-Powered
Leverage AI phone calls that adapt to debtor responses and gather structured data.
Consistency
Ensure every debt follows the same proven collection process.
Scale
Handle thousands of debts with automated follow-ups and smart scheduling.
Accessing Timeline IDs
To use timelines via the API, you need to access their encrypted IDs from your GetBill dashboard.Requirements
To access timeline IDs, you must meet both requirements:- Administrator Access: You must be a company administrator
- Active API Client: You must have created at least one OAuth client
This dual requirement ensures only authorized users with API integration needs can access timeline IDs for security purposes.
Finding Your Timeline IDs
Using Timeline IDs in API Requests
Once you have a timeline ID, include it when creating debts to automatically trigger the collection workflow.Create a Single Debt with Timeline
Batch Create Debts with Timeline
Timeline Start Modes
Control when the timeline processing should start using thetimeline_start_mode parameter.
When to Use Each Mode
- Immediate Mode
- Next Day Mode
Best for:
- Urgent collection cases
- Real-time debt creation that needs immediate action
- When you want actions to start as soon as possible
Timeline Validation
Valid Timeline IDs
- Timeline must belong to your company
- Timeline must be active and not archived
- Timeline ID must be the encrypted format (visible in dashboard API ID field)
Invalid Timeline Handling
This means:- ✅ The debt is created
- ❌ No automated actions are scheduled
- ℹ️ No error is returned
timeline_id field populated in the response.
Example Workflow
Here’s a complete example of setting up and using timelines:Create Timeline in Dashboard
Configure your collection timeline with actions:
- Day 0: AI phone call
- Day 3: Email reminder
- Day 7: SMS reminder
- Day 14: Final AI phone call
Actions Execute Automatically
The system will now:
- Schedule all timeline actions
- Execute AI calls at configured times
- Send emails and SMS as scheduled
- Track all responses and outcomes
Best Practices
Use next_day for Batch Imports
Use next_day for Batch Imports
When importing large batches of debts, always use
timeline_start_mode: "next_day" to:- Distribute actions across business days
- Avoid overwhelming your AI calling capacity
- Provide better debtor experience
- Respect business hours consistently
Test with Small Batches First
Test with Small Batches First
Before importing thousands of debts:
- Test with 5-10 debts
- Verify timeline actions are scheduled correctly
- Check that actions execute as expected
- Adjust timeline configuration if needed
Store Timeline IDs Securely
Store Timeline IDs Securely
- Store timeline IDs in your configuration/environment
- Don’t hardcode them in your application
- Use different timelines for different debt types
- Document which timeline is used for which scenario
Monitor Timeline Performance
Monitor Timeline Performance
Regularly check:
- Action success rates
- Debtor response rates
- Collection effectiveness
- Timeline completion rates
Handle Timeline Updates
Handle Timeline Updates
When you update a timeline configuration:
- Existing debts continue with old configuration
- New debts use the updated configuration
- Plan timeline changes during low-volume periods
Common Use Cases
Basic Collection Timeline
Urgent Collection Timeline
Soft Reminder Timeline
Troubleshooting
Timeline ID not visible in dashboard
Timeline ID not visible in dashboard
Problem: Can’t see the API ID box in timeline details.Solution:
- Verify you’re logged in as an administrator
- Check that you’ve created at least one OAuth client
- Refresh the page after creating an OAuth client
- Contact support if still not visible
Debt created but no actions scheduled
Debt created but no actions scheduled
Problem: Debt is created successfully but timeline actions don’t execute.Solution:
- Verify the
timeline_idin the API response matches what you sent - Check if the timeline is active in your dashboard
- Ensure the timeline has configured actions
- Verify your company has sufficient credits for AI calls/SMS
Actions starting at wrong time
Actions starting at wrong time
Problem: Timeline actions don’t respect business hours.Solution:
- Use
timeline_start_mode: "next_day"instead of immediate - Check excluded days configuration in your timeline
- Verify public holiday calendar is configured
- Check timeline timezone settings
Invalid timeline ID error
Invalid timeline ID error
Problem: Getting validation errors about timeline ID.Solution:
- Use the encrypted ID from the dashboard, not the numeric ID
- Ensure the timeline belongs to your company
- Check that the timeline hasn’t been deleted
- Verify you’re using the correct OAuth client for your company
API Reference
For detailed parameter information, see:- Create Debt - Single debt creation with timeline
- Batch Create Debts - Bulk debt creation with timeline
- Get Followups - Monitor timeline action results
Next Steps
Create Your First Timeline
Set up a basic collection timeline in your dashboard with a few simple actions.
Test API Integration
Create test debts with your timeline ID and verify actions are scheduled.
Configure AI Voice
Set up your AI voice agent and conversation scripts for phone calls.
Monitor Results
Track timeline performance and optimize your collection strategy.