Use one Mac worker script for two-way Apple Messages sync (outbound + inbound)
Open Terminal on your Mac and paste these commands:
The installer will:
worker.sh)When prompted, choose Option 1 (Auto-Start / Background).
Already installed an older worker? Update it first:
nextora-imessage install💡 Tip: Have your credentials ready to paste when the installer asks for them.
The worker now runs automatically in background. Now test it:
Privacy-safe default: inbound sync only tracks replies from contacts you messaged via CRM.
Fully Automatic
Zero user interaction - no taps needed
24/7 Operation
Mac can stay on and run continuously
Free
No per-message carrier costs like traditional SMS
Reliable
Direct AppleScript integration
⚠️ Important: iOS cannot send iMessages fully automatically due to Apple security restrictions. Mac is the only platform that supports zero-interaction sending.
Solution: Make the script executable first:
chmod +x install.sh && ./install.shSolution: Install the CLI again, then rerun the installer:
curl -fsSL https://www.usenextora.com/imessage/install | bashSolution: Make sure you:
Solution: Check these:
launchctl list | grep imessage-workerSolution: Check these:
nextora-imessage installInbound enabled: yes in logsSolution: Restart the auto-start service:
launchctl bootout gui/$(id -u) ~/Library/LaunchAgents/com.nextora.imessage-worker.plist 2>/dev/null || truelaunchctl bootstrap gui/$(id -u) ~/Library/LaunchAgents/com.nextora.imessage-worker.plistAnswer:No, but they'll queue and send when Mac wakes up.
To prevent Mac from sleeping:
caffeinate -s /bin/bash ~/.nextora-imessage/worker.shAuto-start is the default and recommended mode:
Check or restart your background service:
launchctl list | grep imessage-workerlaunchctl kickstart -k gui/$(id -u)/com.nextora.imessage-workerView logs:
tail -f ~/Library/Logs/imessage-worker.logUse caffeinate to prevent Mac from sleeping:
caffeinate -sYou send a message from CRM
Open any client → Activities → Send via Apple Messages
Gateway queues the message
Message is stored and assigned to your Mac device
Mac worker polls gateway
Checks every 10 seconds for new messages
Message sent automatically!
AppleScript sends via Messages app - no user interaction needed
If the one-command installer doesn't work, download these files manually:
nextora-imessage
CLI wrapper with install/status/test/logs/uninstall
imessage/install
One-command bootstrap installer
worker.sh
Unified outbound + inbound shell worker
After downloading:
~/imessage-worker/)chmod +x nextora-imessage./nextora-imessage install./nextora-imessage statusFor real-time automatic sending, yes. If your Mac is off or sleeping, messages will queue and send automatically when the Mac wakes up. For 24/7 operation, use a Mac Mini or keep your MacBook plugged in and awake.
iOS has security restrictions that prevent fully automatic sending. Even with shortcuts, you'll need to tap "Send" for each message. Mac is the only platform that supports zero-interaction automatic sending.
Yes! Your Device ID and Secret are stored only on your Mac. The worker only has access to messages sent from your CRM account. Each user's data is completely isolated.
Unload the launchd service:
nextora-imessage uninstallYes! Register each Mac separately in the CRM. Each device gets its own credentials. Messages will be distributed across available devices.