Notify Slack when a CSV uploads to Google Drive

Document/FileSales EnablementData ParserMarketingUtilitiesCollaboration

What it does

When a new file appears in Google Drive, this automation checks if it is a CSV. If it is, the file downloads and parses, then posts each row as a message in Slack so the team sees the data right away.

Who it's for

Operations teams who monitor data imports and need to review CSV contents in Slack without downloading files.

How teams use this

Review imported data in Slack

A CSV lands in Google Drive and each row posts to Slack automatically. The team reviews the data in the channel without leaving Slack or downloading the file.

Monitor vendor uploads to shared folder

Route CSV files from a vendor folder to a Slack channel so the procurement team sees new data as soon as it arrives. The same automation works for any shared Google Drive folder.

Filter rows by column value before posting

Add a condition to check a specific column in each row and only post messages when that column meets a certain value. This keeps the Slack channel focused on relevant data only.

How it works

  1. Monitor Google Drive for new files. Monitor a Google Drive folder in real time and trigger this automation whenever a new file or folder appears.
  2. Download if filename contains CSV. Check the file name to see if it contains .csv. If yes, download the file contents from Google Drive. If no, stop.
  3. Parse the CSV into rows. Parse the downloaded file so each line becomes a separate item that can be sent to Slack one at a time.
  4. Post each row to Slack. For each parsed row, post a message in Slack so the team can review all the data from the CSV in the channel.