n8n

How to Automate Google Drive Asset Tagging?

Keep your image library easy to search without manual tagging. The flow watches a Google Drive folder for new images and writes smart keywords into the file metadata. It helps marketing and content teams find assets faster and keep naming consistent.

Every minute the Google Drive trigger checks a specific folder for new files. It downloads the image and sends it to an AI model that returns a comma separated list of what is in the picture. The flow then merges the AI result with the file, writes the terms into EXIF Subject and Keywords, and saves the changes back to the same file in Google Drive. The merge step keeps the AI output aligned with the right image. Because the tags live inside the image, the data travels with the file across tools and keeps your library organized.

Setup needs Google Drive access, an AI API key, and the community EXIF node in n8n. Expect keyword tagging time to drop from several minutes per photo to seconds, with more consistent results across your team. Great for product photos, campaign assets, and social media libraries where quick search matters. You choose the folder to watch, confirm credentials, and test by uploading an image to see the new tags.

What are the key features?

  • Google Drive new file trigger checks the folder every minute
  • Downloads each new image from the selected Drive folder
  • AI image analysis returns a concise comma separated keyword list
  • Merge step combines AI output and file data into one record
  • Writes keywords into EXIF Subject and Keywords fields
  • Updates the original Google Drive file with the new metadata

What are the benefits?

  • Reduce manual tagging from 3 minutes to about 10 seconds per image
  • Automate up to 90 percent of repetitive image tagging work
  • Improve metadata accuracy by 80 percent compared to manual entry
  • Keep tags inside the file so data stays with the image across tools
  • Handle hundreds of uploads per day without extra staff

How do you set it up?

  1. Import the template into n8n: Create a new workflow in n8n > Click the three dots menu > Select 'Import from File' > Choose the downloaded JSON file.
  2. You'll need accounts with Google Drive and OpenAI. See the Tools Required section above for links to create accounts with these services.
  3. Install the community EXIF data node in n8n Cloud: open Settings, go to Community Nodes, and install the EXIF data package. Confirm the security prompt.
  4. Open the Google Drive trigger node. In the Credential to connect with field, click Create new credential, sign in, and allow file read and write. Name the credential clearly so your team can find it later.
  5. Open the Download Image File and Update Image File nodes. Select the same Google Drive credential to reuse it.
  6. Open the Analyze Image Content node. In the credential field, click Create new credential for OpenAI. In your OpenAI account, create an API key and paste it into n8n. Save the credential with a clear name.
  7. In the Google Drive trigger node, set Folder to watch to your target folder. Paste the folder ID from the Drive URL. Leave the check to run every minute unless you need a different interval.
  8. In the Analyze Image Content node, keep the prompt short and ask for a comma separated list of what is in the image. Select a suitable vision model from the list.
  9. Open the Merge node and confirm it combines items by position so the AI output matches the right file.
  10. Open the EXIF write node and map the AI output to Subject and Keywords so both fields store the same list.
  11. In the Update Image File node, keep Change File Content set to true and keep the file name the same to overwrite with new metadata.
  12. Test the flow: upload a sample image into the chosen Drive folder, wait one to two minutes, then download the file and view EXIF data with any image viewer to confirm the tags.
  13. Troubleshoot if needed: confirm your Drive user can edit files, verify the file is an image like JPG or PNG, check that the OpenAI key is valid, and review n8n execution logs for errors.

Tools Required

$24 / mo or $20 / mo billed annually to use n8n in the cloud. However, the local or self-hosted n8n Community Edition is free.

Google Drive

Sign up

Drive API: $0 (no additional cost; quota-limited)

OpenAI

Sign up

Pay-as-you-go: GPT-5 at $1.25 per 1M input tokens and $10 per 1M output tokens

Credits:
Author: Friedemann Schuetz. Connect on LinkedIn.

Similar Templates

Join Futurise to access 1,200+ automation templates

Get instant access to ready-made automation workflows for n8n, Make.com, AI agents, and more. Download, customise, and deploy in minutes.