Create a CSV file and upload it on google drive

See also here:

Yes, on Android 11 this path is no longer visible on your device using the default FileManager.
Use Total Commander (app) or connect your device to your computer / notebook via USB and open this path from there.