Back to Templates
This workflow runs every two minutes to sync a Google Sheets file queue with an OpenAI Vector Store by deleting outdated entries, downloading new files from Google Drive, AWS S3, or a URL, uploading them to OpenAI, and updating each row’s processing status.
outdated, deletes the referenced file from the OpenAI Vector Store and updates the row status to deleted in Google Sheets.file_url and no status, then processes them one by one.completed, then marks the row as active in Google Sheets.completed or in_progress, marks the row as error in Google Sheets and continues with the next item.YOUR_GOOGLE_SHEET_ID in all Google Sheets steps and ensure the sheet includes file_url, status, openai_file_id, last_updated, and a row_number column used for updates.YOUR_VECTOR_STORE_ID in the OpenAI Vector Store delete, add, and poll HTTP requests.YOUR_S3_BUCKET_NAME in the AWS S3 download step.YOUR_ARTICLES_DOMAIN in the URL routing rules used to decide when to download via HTTP.