Nothing is sent without a yes

Bot Cookbook

Search the index

Search templates, guides, and prompts.

Prompt

List the files in a Drive folder: Grok Bot prompt

Directory listing of the folder.

Updated 15 Oct 2026.

We looked this up in the docs; we have not run it in a bot yet.

Are you the creator? Ask us to remove this.

Prompt

Use the Google Drive connector. List the files and folders in [FOLDER NAME or ID]. Include names, types, and last-modified dates. Do not open, edit, or share anything.

Fill in

  • [FOLDER NAME or ID]

Connectors

Google Drive

Uses this feature

Files and results · Computer and apps

When is “Drive folder list” worth pasting into Grok Bot?

“Drive folder list” gives the bot one job: “Use the Google Drive connector. List the files and folders in [FOLDER NAME or ID].” Run it on a bot that can use Google Drive.

What do I replace [FOLDER NAME or ID] with in “Drive folder list”?

Fill the blanks in “Drive folder list”: where it says “files and folders in [FOLDER NAME or ID]. Include names,”, put the folder name or id you mean. Send it without [FOLDER NAME or ID] still sitting in the text. Connect Google Drive on the bot first.

What should “Drive folder list” hand back?

Expect “Drive folder list” to come back with “Directory listing of the folder.” Check the reply against the job you gave it: “Use the Google Drive connector. List the files and folders in [FOLDER NAME or ID].”

What should “Drive folder list” stop short of?

If you rewrite “Drive folder list” in your own words, keep “Do not open, edit, or share anything.” If a shorter draft of “Drive folder list” drops that sentence, put it back before you run the prompt.

Also in the index

No related guides or templates are published yet.