What are iOS Shortcuts?
iOS Shortcuts is Apple’s built-in automation app that allows you to create custom workflows on your iPhone and iPad. GoBlue leverages iOS Shortcuts to enable actual message sending, as Apple requires user interaction for automated iMessage delivery. In the GoBlue ecosystem, iOS Shortcuts serve as the bridge between your queued messages and actual iMessage delivery.How GoBlue Uses iOS Shortcuts
Traditional Manual Approach
Message is Queued
You Run the Shortcut
Messages Are Retrieved
iMessages Are Sent
Continuous Polling Approach (Recommended)
For true automation, you can configure the GoBlue shortcut to run continuously in the background:Background Execution
Continuous API Polling
Automatic Message Detection
Instant Message Delivery
Setting Up iOS Shortcuts
Download the GoBlue Shortcut
Get Your API Key
Download Shortcut
Download GoBlue Shortcut
Configure API Key
Grant Permissions
- Access the internet (to retrieve messages)
- Open the Messages app
- Send messages on your behalf
Shortcut Configuration
The GoBlue shortcut includes several configurable options:API Key Storage
API Key Storage
Batch Size
Batch Size
- Small batches (1-5 messages): Better for testing
- Large batches (10+ messages): More efficient for bulk sending
Confirmation Prompts
Confirmation Prompts
- Enabled: Preview each message before sending (recommended for beginners)
- Disabled: Send messages automatically (faster for experienced users)
Setting Up Continuous Polling
Configuring Background Operation
To enable true automation with continuous polling:Enable Background App Refresh
Configure Polling Interval
- Checks for new messages
- Waits for a specified interval (e.g., 2-5 minutes)
- Repeats continuously
Set Up Auto-Loop
Optimize for Battery
- Every 2 minutes for high-priority use cases
- Every 5-10 minutes for standard business use
Benefits of Continuous Polling
True Automation
Instant Response
Consistent Operation
Improved Customer Experience
Running the Shortcut
Manual Execution
Open Shortcuts App
Find GoBlue Shortcut
Tap to Run
- Connect to GoBlue’s API
- Retrieve your queued messages
- Open Messages app for each recipient
- Send the personalized messages
Automation Options
Continuous Background Operation (Recommended)
24/7 Automated Operation
- Background execution: Runs continuously without user intervention
- Automatic message detection: Polls API every few minutes for new messages
- Instant sending: Messages are sent immediately when detected
- Always-on operation: Works 24/7 as long as device is powered
Manual Trigger Options
For users who prefer manual control:Siri Voice Command
Widget
Back Tap
Time-based Reminder
Shortcut Behavior
Message Processing Flow
When the shortcut runs, it follows this process:- API Authentication: Connects to GoBlue using your API key
- Message Retrieval: Downloads all queued messages for your account
- Data Validation: Checks phone numbers and message content
- Messages App Integration: Opens the Messages app for each recipient
- Message Composition: Pre-fills the message content
- Send Confirmation: Depending on settings, either sends automatically or prompts for confirmation
Handling Different Message Types
Text Messages
Text Messages
Messages with Attachments
Messages with Attachments
- Downloads the attachment from GoBlue’s servers
- Adds it to the message composition
- Sends both text and attachment together
Failed Messages
Failed Messages
- Logs the error for debugging
- Continues processing remaining messages
- Provides a summary of successes and failures
Customizing the Shortcut
Advanced Configuration
You can modify the GoBlue shortcut to better fit your workflow:Open Shortcut Editor
Modify Actions
- Adding logging actions
- Including notification sounds
- Modifying the user interface
- Adding error handling
Test Changes
Custom Actions
Add Logging
Add Logging
Custom Notifications
Custom Notifications
Error Handling
Error Handling
Batch Processing
Batch Processing
Troubleshooting iOS Shortcuts
Common Issues
Shortcut Won't Run
Shortcut Won't Run
- Shortcuts app needs permission to access internet
- GoBlue app isn’t logged in
- API key is incorrect or expired
- Check iOS Settings > Privacy & Security > Shortcuts
- Re-login to GoBlue app
- Copy API key again from GoBlue settings
No Messages Retrieved
No Messages Retrieved
- No messages in queue
- API key authentication failed
- Network connectivity issues
- Check Messages tab in GoBlue app for queued messages
- Verify API key in shortcut settings
- Test internet connection
Messages Not Sending
Messages Not Sending
- Invalid phone numbers
- Messages app permissions denied
- iOS restrictions on automated messaging
- Validate phone number formats in your forms
- Check iOS Settings > Screen Time > Content & Privacy Restrictions
- Grant Messages app permissions to Shortcuts
Debugging Steps
Enable Shortcut Logging
Test with Sample Data
Check API Response
Verify Permissions
Security Considerations
API Key Protection
Message Content
- Review message templates before enabling auto follow-up
- Test with your own phone number before sending to customers
- Be mindful of message content and timing to avoid spam complaints
Device Security
- Use device passcode/biometric locks
- Keep iOS updated for latest security patches
- Don’t install shortcuts from untrusted sources
Best Practices
Regular Testing
Batch Processing
Error Monitoring
Backup Configuration
Performance Optimization
Continuous Polling Optimization
Polling Frequency
Polling Frequency
- 2-3 minutes: High-priority business requiring immediate response
- 5 minutes: Standard business use (recommended)
- 8-10 minutes: Low-priority or overnight operations
Battery Management
Battery Management
- Keep device plugged in during business hours
- Use longer polling intervals overnight (10-15 minutes)
- Consider using a dedicated iOS device for automation
- Monitor battery usage in iOS Settings
Network Optimization
Network Optimization
- Use WiFi when possible for faster API calls
- Configure cellular backup if WiFi is unreliable
- Add retry logic for failed network requests
- Monitor connection quality and adjust polling accordingly
Background Processing
Background Processing
- Enable Background App Refresh for Shortcuts app
- Avoid iOS restrictions that limit background activity
- Use efficient API calls to minimize processing time
- Configure the shortcut to restart automatically if interrupted
Manual Execution Patterns
For users not using continuous polling:Regular Execution
Regular Execution
Batch Size Management
Batch Size Management