Overview
This guide walks you through routing your Apple MFA (SMS) codes into a Teams channel — or email, SMS, or any other workflow output — using a dedicated Twilio number and MSP Process.
Using a number dedicated to Apple MFA codes keeps them cleanly separated from your other messaging.
Most of this set up can be self-service, however one step, connecting your number in Twilio, can be handled either by you (if you have your own Twilio account) or by an MSP Process support member.
Content
- Before you start
- Setup
- 1. Number Provisioning
- 2. Generate a webhook URL in MSP Process
- 3. Connect the webhook to Twilio
- 4. Send a test text and confirm it arrives
- 5. Name the webhook and select your fields
- 6. Verify the data view
- 7. Set up the workflow
- Where your codes appear
- Useful information
Before you start
- Access to your MSP Process tenant
- The destination you want codes sent to (a Teams channel is the most common choice)
- A Twilio number for Apple MFA codes
Don't have a Twilio account or number?
You don't need to set one up yourself. Please contact support and MSP Process will provision a dedicated number for you and help connect it.
Setup
1. Decide who's connecting Twilio
There are two ways to complete this setup. Pick the one that fits best:
Support-assisted (most common)
- MSP Process provisions your number and connects it in Twilio for you.
- You'll generate a webhook URL (step 2) and share it with the support member assisting you, they handle the Twilio side.
- Choose this if you don't have your own Twilio account, need a number provisioned, or would simply prefer MSP Process to configure it.
Self-service
- You have your own Twilio account and will connect the number yourself.
Either way, the steps after the connection are the same.
2. Generate a webhook URL in MSP Process
- Log in to MSP Process.
-
Go to Monitor & Notify → Webhooks.
- Click +Create.
-
Click Generate URL.
-
Click the copy icon to copy the URL.
3. Connect the webhook to Twilio
If you're being assisted by support
Share the copied webhook URL with the MSP Process support member helping you, and stay on this page while they plug it into Twilio. They'll let you know when it's ready to test.
If you're connecting your own Twilio account
- Choose Messaging and select your Messaging Service, then open the link to configure the number.
-
In the number's settings, switch from Voice to Messaging in the left navigation and open the configuration details (the blue Edit button, top right).
- If Twilio asks "Select a method — how do you want to configure this number?", continue to the screen with the webhook URL field.
- Paste the webhook URL and click Save.
4. Send a test text and confirm it arrives
- Text your Twilio number from your phone.
- In MSP Process, click the magnifying glass to view incoming data — you should see the new entry.
- If the entry shows an error, remove that webhook and create a fresh one, then resend the test. If you're working with support, let them know and they'll help resolve it.
5. Name the webhook and select your fields
Once the test message shows successfully:
- Give the webhook a clear name, e.g. "Apple MFA codes."
- Select the fields you care about: body (this contains the MFA code), to, and from.
-
Set the unique identifier: use the SMS Message SID and map it to the ID field so each text is treated as its own event.
- Click Test, then Submit.
- Open Create data view, turn on Link to web, and click Submit.
6. Verify the data view
Send one more test text, then go to the Data page and pick your Apple MFA data view from the dropdown. Your message should appear — the body column holds the code.
7. Set up the workflow
- Go to Workflows and edit the workflow you want to use.
- In the Input section, choose your Apple MFA webhook and click Update.
- Edit it once more to confirm the delivery configuration: click the gear icon and set the notification destination (Teams channel, email, SMS, etc.). For a Teams channel set to Direct URL, turn on that toggle.
- If you don't have a Teams connection yet, set up a Teams workflow that accepts the incoming message and posts it to your channel, then choose which channel should receive the codes. Support can help with this step if needed.
Where your codes appear
Once set up, every new Apple MFA code flows to your chosen destination automatically.
You can also always find codes on the Data page — open your Apple MFA data view and read the body column, which contains the code.
Useful information
- If the flow isn't set up yet, codes can't be retrieved from a mobile app. Once configured, they'll route to your destination and appear on the Data page.
- Depending on your Apple setup, you may need an additional dedicated number down the line.
- You can add one the same way whenever it's needed — or reach out to support to have it provisioned.
Need Help?
At any point in this setup, if you're unsure or run into an error or still experiencing an issue, please contact MSP Process Support.