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
userlist
file should be e-mails separated by newlines. - The
userlist
file should contain UNIX line endings\n
, else the script might not work!
- Copy
config.php
toconfig.local.php
and 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.php
and enjoy.
- If you'd like to run this in a Docker container, I have one prepared. Follow
the above steps of creating a
userlist
and 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