This utility script retrieves images from a Google Doc and saves them to a specified Google Drive folder.
Original Blog Post: https://community.appsmith.com/content/guide/five-ways-extract-all-images-google-doc
/**
* Retrieves images from a Google Doc and saves them to a specified Drive folder.
* @param {string} sourceId - The ID of the source Google Doc.
* @param {string} destinationId - (Optional) The ID of the destination Drive folder.
*/
function getDocImages(sourceId, destinationId) {
// Function logic
}