📱 Validate scheduled post queues in Google Drive
⚡ 1 views · 📱 Social Media & Email Marketing
Description
Quick Overview
This manual workflow audits a Google Drive “scheduled post” queue by validating folder names, scheduled times, and required files (tweet.txt and images). It reads each folder’s contents, flags invalid or duplicate schedules, and outputs a human-readable report plus structured results.
How it works
- Runs manually to start a validation pass.
- Loads validation limits (image min/max and supported extensions) and lists all scheduled-post folders under a selected Google Drive root folder.
- Parses each folder name in the
yyyy-MM-dd_HHmm__labelformat to verify it contains a real date/time, converts it to UTC using your offset, checks that it is in the future, and warns on duplicate scheduled times. - Iterates through each scheduled-post folder and lists its files from Google Drive.
- Validates each folder’s contents by requiring exactly one
tweet.txt, enforcing the configured image count and extensions, and failing folders that contain nested folders or “already processed” marker files. - Generates a summary, a readable text report, and a JSON results array showing valid, warning, and invalid folders.
Setup
- Add a Google Drive credential with access to the queue and select the root folder that contains your scheduled-post folders.
- In the validation settings, set
utcOffsetMinutesto match the timezone used in folder names and adjustminImages,maxImages, andsupportedExtensionsas needed. - Ensure each scheduled-post folder follows
yyyy-MM-dd_HHmm__labeland contains exactly onetweet.txtplus the required number of supported image files before running the workflow.
đź”— Nodes Used
Google Drive
📥 Import
Download workflow.json and import into n8n:
Workflow menu → Import from File