Guides

How to use Grok Bot with multiple ZeroSettle iMessage numbers

ZeroSettle numbers on the account in this guide's example

Estimates number
Test estimate
Service number
Test pickup
Same Apple phone
Two threads, one recipient
From the two-number test below

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.

Label

Estimates or Service, so you can tell the lines apart.

Number

The current phone number. Show it in previews.

Line ID

Stable. Use it for recurring instructions. It stays with the conversation history if ZeroSettle replaces the number.

Prompt
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.

Prompt
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

  1. 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.
  2. 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.
  3. 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.

  1. Customer textArrives with message.line_id
  2. Your routineChooses the instructions and scopes reads and sends by that line ID
  3. ReplyPOST /api/imessage/send with the same line_id in the body

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 is $49/month for one dedicated number through self-serve signup, and you can add more numbers anytime from the console at $49/month each. Growth starts at $199/month for teams that start conversations; book a 15-minute demo. Enterprise uses custom pricing through sales for high volume or compliance needs. Check the line count in your console to confirm the setup before assigning numbers to teams. Compare ZeroSettle plans.

Pro

$49/month per number through self-serve signup.

Growth

Starts at $199/month. Book a 15-minute demo.

Enterprise

Custom pricing through sales for high volume or compliance needs.

Written by Ryan Elliott, co-founder of ZeroSettle. ZeroSettle gives businesses and AI agents a dedicated iMessage number with an API and signed webhooks.

Text your customers from your own iMessage number

ZeroSettle gives your business its own phone number on real iMessage, running on Apple hardware we operate for you. Your code sends with one API call and hears every reply on a signed webhook.

Pro is $49/month for one dedicated number. Growth starts at $199/month. Enterprise has custom pricing through sales.