Sometimes, you need to focus on extracting the text of a Google Doc, including what is displayed on the 'Smart Chips'. In this tutorial, we use the Google Drive API OCR (Optical Character Recognition) to extract text from our Google Docs.
This tutorial is 3 of 4 approaches to programmatically extracting text from a Google Doc. There is no one complete approach, unfortunately, but each approach comes with its pros and cons. Check out the written tutorial for more details @WorkspaceDevs
https://youtu.be/7nTVFmfcNaI