How to use Grok Bot with multiple ZeroSettle iMessage numbers
If customers can text both your sales and support numbers, a phone number alone won’t identify the conversation. Give Grok Bot the exact ZeroSettle line to read and reply from. A two-number test on your own Apple phone can catch a wrong sender before a customer sees it.
Key takeaways
- Give each ZeroSettle line a label and keep its stable line ID handy.
- Use the same line for the thread lookup, the preview and the send.
- Carry the incoming line ID through a webhook routine so replies use the number the customer texted.
Map each number to the work it handles
Say you run a repair shop with one iMessage number for estimates and another for jobs already in the shop. A customer might ask for an estimate in one thread and text a pickup question in the other. Grok Bot should answer the pickup question from the service number, even if the estimate thread has a newer message.
Start with two active ZeroSettle numbers on the same account. In the Grok Bot desktop app, open Connect apps, choose Add a custom connector, select Remote HTTPS, and use https://portal.zerosettle.io/mcp. Complete sign-in when prompted. If you've already connected ZeroSettle, use the existing connection. Grok Bot setup guide.
Call get_line to see the account's numbers. Save a small map with a label, the current phone number, and the stable line ID for each. Use the ID for recurring instructions and show the current number in previews. If ZeroSettle replaces a number behind a line, the ID stays with its conversation history. Name and photo are set per line group, so use separate groups when Estimates and Service need different sender names or photos. ZeroSettle line selection.
Use the ZeroSettle connector to call get_line. Show each line's current
phone number, stable line ID, and group ID. I'll tell you which one
handles Estimates and which one handles Service. Keep this step read-only.
Preview the thread on the selected line
On an account with several numbers, the same person can have a separate thread on each one. For a manual reply, ask Grok Bot to read the chosen thread and show you the proposed sender, recipient, and message. The MCP tools list_conversations and list_messages accept a line argument containing either the stable ID or the phone number. An unfiltered read can include multiple lines. ZeroSettle MCP reference.
Open the iMessage thread with [customer's number] on the Service line.
Use the Service line ID as the line argument and the customer's number
as the handle. Draft a reply here in Grok Bot and show me From, To, and
the exact text. If you can't confirm the line or thread, ask me.
Wait for my approval before sending.
After approval, have the Bot pass the same line value to send_imessage. If you leave the line out, ZeroSettle chooses the thread with the newest message when that person appears on several lines. Passing the line keeps the send on the one you reviewed. If the selected line rejects the send, have the Bot report the error. An account-wide opt-out applies to every line. How to approve Grok Bot replies.
Run a two-number test from your own Apple phone
- Text the Estimates number “Test estimate,” then text the Service number “Test pickup” from the same Apple phone. This gives you two threads with the same recipient.
- Ask Grok Bot to preview a reply to “Test estimate.” Verify the message and sender in its preview. Approve one test send and check that it lands in the Estimates thread on your Apple phone.
- Repeat for Service. If an automatic reply also appears in the test thread, check who handles inbound replies for that line group before enabling a Grok Bot routine. Grok Bot and the ZeroSettle hosted agent.
Carry the line ID through an automatic reply
When you move from manual prompts to a webhook routine, keep the incoming message.line_id in the relay payload. Use it to choose the right instructions and to scope reads and sends. With the REST API, filter message reads by line_id and put that same value in the body of POST /api/imessage/send. Store the line ID alongside any draft you queue for later approval. If an event in your multi-number routine has a missing or unrecognized line ID, surface it for review. ZeroSettle line routing.
The line selector routes a request within the connected ZeroSettle account. Grok Bot makes an app connection available across the Bots you run on your Grok Bot account. If team access differs by brand, check which ZeroSettle account each person authorizes before connecting. Grok Bot app connections.
Choose a plan for your line setup
Pro starts with one dedicated number through self-serve signup; accounts with an eligible card subscription can add numbers from the console. For a Growth invite, pricing combines a monthly platform fee with a price per line. Enterprise uses custom pricing through sales for high volume or compliance needs. Use your plan terms and the line count in your console to confirm the setup before assigning numbers to teams. Compare ZeroSettle plans.