Route credit card compliance emails to Google Drive

ProductivitySales EnablementDocument/FileMarketingUtilitiesWorkatoData Parser

What it does

When a new email arrives in Gmail with Credit Cards AO Compliance Dashboard in the subject, this automation uploads the file to Google Drive and extracts metrics. Someone organizes compliance reports without manual file handling.

Who it's for

Finance teams who manage credit card compliance and need to organize audit reports automatically.

How teams use this

Organize compliance reports by week

Route each Credit Cards AO Compliance Dashboard email to a Google Drive folder and keep older reports separate. The team sees all metrics in one place without sorting files manually.

Extract metrics into a compliance sheet

After extracting the CSV, parse the out-of-range metrics and append each row to a Google Sheet for tracking. The team can filter and chart the data without opening files.

Flag stale reports for review

When a zip file is older than 7 days, route it to a separate folder so the audit team knows which reports need immediate attention. This keeps current and aged compliance data organized.

How it works

  1. Receive compliance email. A new email arrives in Gmail with Credit Cards AO Compliance Dashboard in the subject line.
  2. Upload file to Google Drive. The email attachment is uploaded to Google Drive so the compliance report is stored in a central location for the team.
  3. Find older compliance reports. Search Google Drive for zip files created more than 7 days ago to identify reports that need archival or review by the audit team.
  4. Extract the metrics file. Uncompress the zip file and locate the out_of_range_report_summary_(last_5_week_range_metrics).csv so the data is ready for analysis.