Task Instructions
Please create a PHP-file [login to view URL] with the following functionality:
The PHP-file is called as [login to view URL] with GGP-EP-123 being the folder name.
Then, via Google Drive API (OAUTH) the PHP-file creates a folder GGP-EP-123 in the Google Drive of the authenticated user.
The folder is created as a sub-folder of the folder “Artwork” (screenshot).
Also, the folder should be automatically shared with “david.b (at) [login to view URL]”, “alex.s (at) [login to view URL]”, and have the setting “Anyone with the link can view” (screenshot)
Then, the shareable link should be identified (in this case [login to view URL]).
Then, we connect to the KnackHQ-API ([login to view URL]) and if there is a record with record ID=GGP-EP-123 then we save the link into the field “Google Drive Folder”
If any errors happen (e.g. cannot create folder, cannot find Knack-ID, etc.) then the script should display an error message.