Adding guest users to boards on Monday.com isn't easy as each e-mail must be entered manually. This script (until their site changes) allows you to supply an e-mail list and this will invite all the e-mails to the chosen board as guests.
Tested with PHP 7.1.
Notes:
- The
userlistfile should be e-mails separated by newlines. - The
userlistfile should contain UNIX line endings\n, else the script might not work!
- Copy
config.phptoconfig.local.phpand then add your company name, the board id you want to add the users to, and the cookie of a logged-in admin user. - Run
php monday-add-guests.phpand enjoy.
- If you'd like to run this in a Docker container, I have one prepared. Follow
the above steps of creating a
userlistand aconfig.local.php. - Run the Docker image supplying a bindmount to the directory with the files:
docker run --rm -v /path/to/configs:/bindmount -t elvenspellmaker/docker-monday:latest