In Brazil, some regions are adding a ninth digit to all mobile numbers. This means everyone needs to go through their contact lists editing all phones from certain region codes. Seems pretty simple, repetitive, boring and time-consuming. It is a great candidate for automation using Google Apps Scripts!

Then I wrote this script to add the ninth digit to all changed numbers from the user contact list. Once the user authorizes the script, it runs strictly under their credentials and I have no access to their data. I don't even have logs.

The script has a built-in testing to make sure it does what it should do. It also preserves the original number formatting. Finally, it has a preview before saving the changes.

Built With

Share this project:

Updates