Overview
iOS Shortcuts is the bridge that enables GoBlue to send iMessages from your iPhone or iPad. Due to Apple’s security policies, automated message sending requires user interaction, which iOS Shortcuts provides while still streamlining the process significantly.How iOS Shortcuts Work with GoBlue
Traditional Manual Approach
Message Queue
Shortcut Execution
API Communication
Message Delivery
Continuous Polling Approach (Recommended)
For automated message sending without manual intervention:Background Setup
Automatic Detection
Instant Processing
24/7 Operation
Prerequisites
Before setting up the shortcut, ensure you have:iOS Device
GoBlue Account
Messages App
Internet Connection
Step 1: Get Your API Key
Open GoBlue App
Navigate to Settings
Find API Key
Copy API Key
Step 2: Download the GoBlue Shortcut
Get Shortcut Link
Download GoBlue Shortcut
Open in Shortcuts App
Review Shortcut Actions
- Makes HTTP request to GoBlue API
- Processes JSON response
- Opens Messages app for each recipient
- Sends personalized messages
Add Shortcut
Step 3: Configure the Shortcut
Find GoBlue Shortcut
Edit Shortcut
Set API Key
Review Settings
- Batch Size: How many messages to process per run (default: 10)
- Confirmation: Whether to show preview before sending (default: enabled)
- Timeout: How long to wait for API response (default: 30 seconds)
Save Changes
Step 4: Grant Permissions
When you first run the shortcut, iOS will request several permissions:Network Access
Network Access
Messages App Access
Messages App Access
Notifications
Notifications
Step 5: Test the Shortcut
Create Test Message
YOUR_PHONE_NUMBER with your own number for testing.Run the Shortcut
Follow Prompts
- Connect to GoBlue’s API
- Retrieve your test message
- Show a preview (if confirmation is enabled)
- Open Messages app
- Pre-fill the message content
Send Test Message
Verify Delivery
Shortcut Configuration Options
Basic Settings
API Key Configuration
API Key Configuration
Batch Size
Batch Size
- 1-5: Testing and low volume
- 10-20: Regular business use
- 25+: High volume (may cause performance issues)
Confirmation Mode
Confirmation Mode
- Enabled: Review each message (safer)
- Disabled: Send automatically (faster)
Advanced Settings
Timeout Configuration
Timeout Configuration
Error Handling
Error Handling
Logging
Logging
Running the Shortcut
Manual Execution
- From Shortcuts App
- Via Siri Voice Command
- From Home Screen Widget
Open Shortcuts App
Find GoBlue Shortcut
Tap to Run
Monitor Progress
Automation Triggers
While you can’t fully automate message sending, you can set up triggers to remind you:Time-Based Automation
Time-Based Automation
- Trigger: Time of Day (e.g., 9 AM, 1 PM, 5 PM)
- Action: Show notification “Time to send GoBlue messages”
- Follow-up: Manually run the GoBlue shortcut
Location-Based Automation
Location-Based Automation
- Trigger: Arrive at office
- Action: Show notification to run GoBlue shortcut
- Use Case: Remind you to send messages when you get to work
App-Based Automation
App-Based Automation
- Trigger: Open GoBlue app
- Action: Ask if you want to send queued messages
- Follow-up: Optionally run the shortcut directly
Customizing the Shortcut
Adding Logging
Track shortcut execution for debugging:Add Notes Action
- After API call: Log response status
- After each message: Log recipient and content
- At end: Log summary statistics
Create Log Format
Choose Log Destination
- Notes app: Easy to review and search
- Reminders: Can set alerts for errors
- Files app: Export for analysis
Adding Error Notifications
Improve error handling with custom notifications:Customizing Message Handling
Modify how messages are processed:Priority Sorting
Priority Sorting
- Check for priority field in message data
- Sort messages by priority before processing
- Send urgent messages before standard ones
Recipient Grouping
Recipient Grouping
- Check for multiple messages to same number
- Combine messages or add delays between them
- Prevent overwhelming recipients
Content Filtering
Content Filtering
- Check message length limits
- Validate phone number formats
- Skip messages with missing required data
Troubleshooting Common Issues
Shortcut Won't Run
Shortcut Won't Run
- Incorrect API key
- Network connectivity issues
- iOS permissions not granted
- Shortcut corruption
- Verify API key is correct and hasn’t expired
- Test internet connection
- Re-grant permissions in iOS Settings > Privacy & Security > Shortcuts
- Re-download and reconfigure the shortcut
No Messages Retrieved
No Messages Retrieved
- No messages in GoBlue queue
- API authentication failure
- Form capturing disabled
- Check Messages tab in GoBlue app
- Verify API key is working by testing manually
- Ensure forms have “Enable capturing” turned on
Messages Not Sending
Messages Not Sending
- Messages app permissions denied
- Invalid phone numbers
- iOS restrictions enabled
- Grant Messages app access in shortcut permissions
- Validate phone number formats in your forms
- Check Screen Time restrictions in iOS Settings
Performance Issues
Performance Issues
- Too many messages in batch
- Slow network connection
- iOS device resources low
- Reduce batch size in shortcut settings
- Run on WiFi instead of cellular
- Close other apps before running shortcut
- Restart iOS device if needed
Best Practices
Security
API Key Protection
Device Security
Regular Updates
Permission Review
Performance
Optimal Batch Size
Regular Execution
WiFi Usage
Background Apps
Maintenance
Regular Testing
Regular Testing
- Verify API connectivity
- Check message formatting
- Confirm delivery works properly
Monitor Queue Depth
Monitor Queue Depth
- Don’t let messages pile up too much
- Run shortcut more frequently if queue gets large
- Investigate if queue isn’t decreasing after runs
Update Notifications
Update Notifications
- Follow GoBlue announcements for shortcut updates
- Test new shortcut versions before replacing old ones
- Keep backups of working shortcut configurations
Setting Up Continuous Polling
Configuring Background Operation
To enable continuous polling for automatic message sending:Enable Background App Refresh
- Background App Refresh (main toggle)
- Shortcuts app specifically
Modify Shortcut for Continuous Loop
- Add a “Repeat” action at the beginning of your shortcut
- Set it to repeat indefinitely or for a large number (e.g., 999999)
- Inside the repeat loop, add your existing message-sending logic
- Add a “Wait” action at the end of the loop (2-5 minutes)
- The shortcut will automatically restart the cycle
Start Continuous Operation
- Check for new messages every few minutes
- Send any messages found automatically
- Continue running indefinitely in the background
Configure Device Settings
- Keep your device plugged in when possible
- Ensure Shortcuts app isn’t restricted in Screen Time
- Consider using a dedicated device for business automation
Polling Configuration Options
Polling Frequency
Polling Frequency
- 2 minutes: High-priority business, immediate response needed
- 5 minutes: Standard business use, good balance of speed and battery
- 10 minutes: Low-priority or overnight operations
Battery Optimization
Battery Optimization
- Use longer intervals during off-hours (10-15 minutes)
- Shorter intervals during business hours (2-5 minutes)
- Consider conditional logic based on time of day
Error Handling
Error Handling
- Add try/catch blocks around API calls
- Include retry logic for failed requests
- Log errors but continue the polling loop
Monitoring Continuous Operation
Verify Background Operation
- iOS Settings > General > Background App Refresh > Shortcuts (should show recent activity)
- Shortcuts app should show the shortcut as recently active
Add Status Notifications
- Add occasional “Show Notification” actions (e.g., every 10th loop)
- Include message count and timestamp in notifications
- Use subtle notifications to avoid interruption
Test Message Flow
- Send test webhook data to your form
- Confirm messages appear in GoBlue queue
- Verify messages are sent automatically within expected timeframe
Troubleshooting Continuous Polling
Shortcut Stops Running
Shortcut Stops Running
- Background App Refresh disabled for Shortcuts
- Device restarted (shortcut needs manual restart)
- iOS update reset background permissions
- Re-enable Background App Refresh
- Run the shortcut once to restart continuous operation
- Check and re-grant necessary permissions
High Battery Usage
High Battery Usage
- Increase polling interval (longer wait times)
- Use conditional logic for off-hours
- Consider using a dedicated device for automation
Messages Not Sending Automatically
Messages Not Sending Automatically
- Confirm shortcut is actively running in background
- Test manual shortcut execution to verify API connectivity
- Check GoBlue app for queued messages
- Verify Messages app permissions are granted
Advanced Usage
Multiple Forms Support
If you have multiple GoBlue forms, you can:Create Form-Specific Shortcuts
Add Form Selection
- Add “Choose from Menu” action
- List your forms as options
- Use selected form ID in API call
Batch All Forms
- Loop through multiple form IDs
- Process messages from each form
- Provide summary of total messages sent
Integration with Other Shortcuts
Combine the GoBlue shortcut with other automations:CRM Update Shortcut
CRM Update Shortcut
- Runs GoBlue message sending
- Updates CRM with “contacted” status
- Logs activity in your business systems
Daily Business Routine
Daily Business Routine
- Check email
- Send GoBlue messages
- Review calendar
- Update task list
Client Communication Suite
Client Communication Suite
- Send GoBlue messages
- Post social media updates
- Send email newsletters
- Update team on progress