Integrations

Forward MyGroundBiz verification codes from an Android phone

Set up MacroDroid on the Android phone that gets your MyGroundBiz verification texts so it forwards only those codes to HaldiTech, and your MGB data keeps importing overnight.

When MyGroundBiz (MGB) asks for a sign-in verification code, FedEx texts the code to the mobile phone on your MGB account. HaldiTech needs that code to keep importing your MGB data overnight. This guide sets up the Android phone that gets those texts so it automatically forwards only the verification-code texts to your private HaldiTech address, using the MacroDroid app from Google Play.

You still get every code on your phone as usual. It takes about ten minutes, and you only do it once.

The whole setup in MacroDroid

Before you start

  • The right phone. Use the Android phone that receives your MGB verification texts.
  • Your private forwarding address. In HaldiTech, go to Account Settings → Integrations → MyGroundBiz and click MFA Forwarding next to your business unit. If you haven't set it up yet, check the three boxes and click Set Up Forwarding. You'll see an address that starts with https://fcssmsreceiver.azurewebsites.net/api/mgb/mfa/.
  • Get the address onto the phone. The easiest way is to sign in to HaldiTech in Chrome on the phone, open the same MFA Forwarding screen, and tap Copy. Each business unit has its own address, so if you have more than one, set up one macro per business unit.
  • You'll need MacroDroid Pro. It's a one-time purchase in the app ($7.99 at the time of writing; no subscription). The free version only runs for 7 days, and forwarding stops when those days run out. You can set everything up and test it during the free days, then upgrade.

Keep the address private. It works like a password: anyone who has it can send codes for your business unit. Don't email or text it to anyone. If you think it was exposed, click Regenerate Address in HaldiTech and update the macro with the new one.

Step 1. Install MacroDroid.

Open the Play Store, search for MacroDroid, and install MacroDroid - Device Automation by ArloSoft.

MacroDroid in the Play Store, with Install highlighted

Step 2. Open MacroDroid and get through the welcome screens.

Open MacroDroid and tap the skip arrow at the bottom left of the intro. When it asks, tap Allow so MacroDroid can show notifications; it needs this to keep running in the background.

Allow MacroDroid to send you notifications

Next you'll see the MacroDroid Pro offer. Tap Unlock Pro to buy it now, or tap the back arrow at the top left to buy it later from the Upgrade button on the home screen. Either way, upgrade before the 7 free days run out.

The MacroDroid Pro offer, with the back arrow highlighted

Step 3. Start a new macro.

On the home screen, tap Add Macro. Tap Enter macro name at the top and type a name such as HaldiTech MGB codes. Then tap + next to Triggers. (If a tip pops up, tap OK or GOT IT.)

A new, empty macro with the Triggers + button highlighted

Step 4. Trigger on the MGB verification text.

  1. Tap Call/SMS, then SMS Received.
  2. When Android asks, tap Allow so MacroDroid can see incoming texts.
  3. Choose Any Number and tap OK.
  4. Choose Contains, type PurpleID verification code exactly, and tap OK.

Call/SMS triggers with SMS Received highlighted

SMS Content set to Contains PurpleID verification code

Step 5. Add the HTTP Request action.

Tap + next to Actions, tap the search icon, type HTTP, and tap HTTP Request. Set Request method to POST, then tap Enter url and paste your private forwarding address.

Request method menu with POST highlighted

The address pasted into the URL box

Step 6. Send the text of the message.

  1. Tap the Content Body tab.
  2. Tap Content type and choose text/plain.
  3. Tap the blue ... button next to the Text box, choose Incoming SMS message, and tap OK. The box now shows {sms_message}.
  4. Tap the ✓ at the top right to save the action.

Magic text options with Incoming SMS message selected

Content Body set to text/plain and {sms_message}, with the save check mark highlighted

Step 7. Save the macro.

Your macro should show SMS from Any Number (Contains: PurpleID verification code) under Triggers and HTTP Request (POST) with your address under Actions. Tap the round save button at the bottom right. An ad may appear on the free version; close it with the X at the top left once its countdown ends.

The finished macro, with the save button highlighted

The macro now appears under Macros, switched on.

Step 8. Let MacroDroid run in the background.

So Android doesn't put MacroDroid to sleep overnight, open your phone's Settings → Apps → MacroDroid → App battery usage, tap Allow background usage, and choose Unrestricted.

Battery options with Unrestricted highlighted

The names differ a little between phone makers. On Samsung phones, look for Settings → Apps → MacroDroid → Battery → Unrestricted, and make sure MacroDroid isn't in Sleeping apps or Deep sleeping apps under Battery → Background usage limits.

Step 9. Stop Android from pausing MacroDroid.

On the same App info screen for MacroDroid, scroll down and turn off Manage app if unused (on some phones it's called Pause app activity if unused). Otherwise Android may take away MacroDroid's permissions after a few months of not opening it, and forwarding would quietly stop.

Manage app if unused, with the switch highlighted

Keep it working

  • Keep the phone switched on and connected (Wi-Fi or mobile data) in the evening. HaldiTech signs in to MGB roughly 7 PM to 1 AM Central.
  • If you click Regenerate Address in HaldiTech, open the macro in MacroDroid, tap the HTTP Request action, choose Configure, and paste the new address over the old one.
  • To stop forwarding, click Turn Off Forwarding in HaldiTech, then delete the macro in MacroDroid (or uninstall MacroDroid).

Troubleshooting

HaldiTech says it didn't get a code.

  • Open MacroDroid and check the macro is switched on under Macros. After a code arrives, it shows when it last ran.
  • Check you've upgraded to MacroDroid Pro. If the bar at the bottom of the MacroDroid home screen still shows days remaining (or none left), forwarding stops when they run out.
  • Check the Contains text is exactly PurpleID verification code, and the address matches the one in HaldiTech.
  • Check Steps 8 and 9 are still set; some phone updates reset them.

MacroDroid's trigger mentions RCS or chat messages. MacroDroid can only see regular text messages (SMS). FedEx sends its verification codes as regular texts, so this doesn't affect them.

Using an iPhone? See Forward MyGroundBiz verification codes from an iPhone.

Still stuck? Email support@halditech.com. Please never include your forwarding address in the email.

Need help?

Email support@halditech.com or call us at (470) 594-2534.

← Back to all help articles