Save incoming client faxes and scans to cloud folder
Each fax or scan that lands in the scanner label is saved to your secure cloud folder under a dated, consistent filename and the email is marked processed, so legal staff can find client files fast.
Install it
Set up this Zap for me, read how here: https://zapier.sh/zapier/awesome-zaps/save-incoming-client-faxes-and-scans-to-cloud-folder/
Paste into Claude, ChatGPT, Cursor or any agent.
- Category
- Legal · E discovery litigation support
- Author
- Zapier
- Source
- zapier/awesome-zaps, folder zaps/save-incoming-client-faxes-and-scans-to-cloud-folder
Set it up with the CLI
- Add it. Copies the folder into
zaps/save-incoming-client-faxes-and-scans-to-cloud-folder/. Outside a project, it makes one first.npx zap-pack add awesome-zaps/save-incoming-client-faxes-and-scans-to-cloud-folder - Fill in the values in
config.ts, and in any other file the list marks. Replace each one as its comment and SKILL.md say. - Deploy it. Asks for any value still left, signs you in to Zapier if you aren't, then publishes it to your account.
npx zap-pack deploy save-incoming-client-faxes-and-scans-to-cloud-folder - Check it. Its recent runs, with status and errors.
npx zap-pack logs save-incoming-client-faxes-and-scans-to-cloud-folder
zaps/save-incoming-client-faxes-and-scans-to-cloud-folder/
- README.mdWhat it does, for people
- SKILL.mdHow an agent sets it up: what to ask you, and how to test it
- config.tsIts settings 3 to fill in
- connections/gmail.tsThe
gmailaccount it uses - connections/google-drive.tsThe
google-driveaccount it uses - triggers/attachment.tsWhat starts it:
gmailattachment - workflow.tsThe code; each
ctx.stepis a step in the Zap
Agents: add --yes to any command so it never prompts. When it needs an answer only the user can give, it stops and names the flag that supplies it.
SKILL.md
View MarkdownWhat it does
- Trigger: a new attachment arrives in the scanner label (
gmail,attachment). - Filename: the workflow builds it from the message date and the original attachment name, for example
2026-10-29_scan-0042.pdf. - Google Drive (
google-drive) uploads the attachment to the archive folder under that filename. - Gmail (
gmail) adds the processed label to the message so the mailbox stays uncluttered.
The Zap only adds a label. It never moves, deletes or replies to the email.
Ask the user
Each REPLACE_… value is set per person. Resolve names to IDs with the user's own connections; don't ask them to paste an ID you can look up.
| Setting | What goes there |
|---|---|
REPLACE_SCANNER_LABEL_ID |
The Gmail label the scanner or fax system files into. The trigger watches this label. |
REPLACE_PROCESSED_LABEL_ID |
The Gmail label added after each save. Create it first if it does not exist. |
REPLACE_ARCHIVE_FOLDER_ID |
The Google Drive folder that is the secure archive. Create it first; the workflow does not create folders. |
Also confirm which Google account owns the archive uploads. It must be a work or firm account.
Build it
If you can run shell commands, set it up with zap-pack: run npx zap-pack add awesome-zaps/save-incoming-client-faxes-and-scans-to-cloud-folder, replace each REPLACE_… value as this file says, then run npx zap-pack deploy save-incoming-client-faxes-and-scans-to-cloud-folder, which signs the user in to Zapier when it gets there. Otherwise build with Zapier MCP, as the steps below say. No Zapier MCP tools? Read https://docs.zapier.com/mcp/get-started/quickstart.md and follow the page for the app you are running in to get the user connected, then continue with this build.
- Accounts: bind
gmailto the user's work Gmail account, for the trigger and the label step, andgoogle-driveto the Google Drive connection for the account that owns the archive folder. Every app here needs a connection. - Source: publish
workflow.tsandconfig.ts, with eachREPLACE_…replaced by the user's answer.triggers/attachment.tsandconnections/are settings, not code: set the workflow's trigger and connection bindings from them. Set the trigger'slabel_idsto the scanner label's ID so it fires only on that label. The trigger file names the app by its slug; for the trigger'sselected_api, callsearch_triggerswith that slug, find the row whosekeyis the trigger'sevent, and use<app_key>@<app_version>from it. - Build guide: load Zapier's build guide with
get_zapier_skill("zapier:build-workflows")and follow it to create, test and publish the workflow. - Fields: inspect each action's fields with the user's connections and sample the trigger before the first test run, and fix any key in
workflow.tsthat doesn't match.
Test it
Create a test email with a small PDF to the scanner label, then run it once as a draft test with this sample payload. Use [install-test] in the name of any test label or folder.
{
"message_id": "<message id of a test email you created>",
"filename": "scan-test.pdf",
"message_date": "2026-10-29T10:15:00Z",
"attachment": "<URL or file of the test PDF>"
}
Check that:
- a file named
2026-10-29_scan-test.pdfappears in the archive folder - the test email has the processed label
- nothing else in the mailbox or Drive changed
Compare the sample with a real trigger sample before publishing. If run-status tools aren't available, check the result in Google Drive and Gmail directly. The user deletes the test data, not the agent.
Notes
- The processed step adds a label rather than moving the message out of the inbox.
- Keep real label, folder and account IDs out of any copy you share.
- To make PDFs searchable, add an OCR step before the upload.
- To file by client, route uploads into subfolders with a lookup table instead of one flat folder.