Skip to main content
Tech Radar TechRadar the technology experts
Sign in
  • View Profile
  • Sign out
RSS
Asia
flag of Singapore
Singapore
Europe
flag of Danmark
Danmark
flag of Suomi
Suomi
flag of Norge
Norge
flag of Sverige
Sverige
flag of UK
UK
flag of Italia
Italia
flag of Nederland
Nederland
flag of België (Nederlands)
België (Nederlands)
flag of France
France
flag of Deutschland
Deutschland
flag of España
España
North America
flag of US (English)
US (English)
flag of Canada
Canada
flag of México
México
Australasia
flag of Australia
Australia
flag of New Zealand
New Zealand
  • Phones
  • Computing
  • TVs
  • AI
  • Streaming
  • Health
  • Audio
  • VPN
  • More
    • Cameras
    • Home
    • News
    • Reviews
    • Opinion
    • How to
    • Versus
    • Deals
    • Coupons
    • Best
Tech Radar Pro
Tech Radar Gaming
Trending
  • Nintendo Switch 2
  • ChatGPT
  • Best laptop
  • Best VPN
  • NYT Wordle today

Recommended reading

an image of an iPhone 16 Pro Max on a black table showing the Passwords app
iPhone My favorite iOS 18 app is a tool you're probably not using – and I suggest you try it right away
The Mail app running on iOS, with categories shown on-screen.
iOS How to turn off Mail categories on iPhone, or customize them to your needs
Google Wallet update
Android Google Wallet loyalty cards are getting an upgrade – giving you one less reason to carry around the real thing
Apple MacBook Air 13-inch (M4) REVIEW
Macs You can now set up your new Mac with an iPhone or iPad, and it might just be the best new time-saver
1Password tax season hack landing page
Pro Get your passwords secure this tax season— 1Password is offering a 25% discount on its individual plan
Apple’s new Invites app gives iCloud Plus subscribers an easier way to organize parties – and Android fans are invited too
iOS How to use Apple Invites: creating and responding to invitations on iPhone
The iPhone 14 next to an iPad 10.2 (2022)
iPad How to sync iPhone and iPad – iCloud, Photos, Calendars, and more
  1. Computing
  2. Cloud Computing

How to save web receipts to iCloud

How-to
By Nik Rawlinson published 26 June 2016

Digital wallet

When you purchase through links on our site, we may earn an affiliate commission. Here’s how it works.

Send receipts to a folder on iCloud Drive

Send receipts to a folder on iCloud Drive

These days, you probably do a lot of shopping online, in part because it saves you paying the mark-up charged by many high street stores.

You can choose at your leisure without traipsing around town, then sit back and wait for your shopping to arrive. All of your confirmations, invoices and receipts will be neatly stored in your email inbox or appear on a checkout screen in your web browser, from which you can save them for reference. If you ever need to make a claim or return an item, you'll know exactly where to find the necessary 'paperwork', which is rarely the case when you're stashing till slips into folders and envelopes.

However, it's easy to let things slide, and tempting to leave everything floating in your inbox, or to drag out PDFs into what seems – at the time – an entirely logical folder, until you realise you can't find it again when you need it.

  • Apple Mail: How to annotate images and PDFs

Moreover, not all receipts come as a PDF, or any kind of attachment at all. Some are text in the body of an email, while others are shown on a web page after you finish your purchase.

What do you do then? The PDF pop-up menu in OS X's Print dialog provides you with a way to save a PDF of a web page, an email or any other printable document to a dedicated Web Receipts folder. The trouble with this is that it gives you no control over the location of the Web Receipts folder, which is automatically placed within Documents in your user account, out of reach of your iOS devices and, typically, your other Macs, too.

  • 62 OS X El Capitan tips and tricks

iCloud Drive

You could just create a folder on iCloud Drive and save PDFs there manually, but that gets tedious. Alternatively, you could create a special shortcut, a symbolic link, to relocate OS X's own Web Receipts folder to iCloud Drive, making its contents available on all of your Macs, in iOS 9's iCloud Drive app (turn it on in Settings > iCloud > iCloud Drive > Show on Home Screen), and wherever you can sign in to iCloud.com.

Here, though, we're going to construct a new workflow from scratch, which will appear as a new command in the Print dialog's PDF menu. This route gives you full control over how your saved PDFs are named and where they are saved.

So, for example, you may want to create separate commands that save your business and personal receipts in different folders.

Introducing Automator

We'll do this using an Automator workflow, specifically in the app's Print Plugin template. Of course, you can use this to process many more things than just web receipts – you could adapt the technique shown here to save any other kind of printable document, encrypt your PDF file, email it, and so on.

Technically, working with Automator is programming, just not in the traditional sense of writing code. While Apple has a dedicated method for writing apps for iOS and OS X, called Xcode, Automator is its programming tool for the rest of us.

Think of it as a digital game of Jenga, only in reverse. Rather than pulling the Jenga tower to bits, you'll be stacking it up, with each brick that you add being a specific action that you're asking your Mac to perform. Like a Jenga tower, though, get one action wrong and the whole workflow will fail to produce your intended result.

Think of each action as a macro, just like the step-by-step routines you may have used to accomplish the same task on multiple occasions in Photoshop or Microsoft Word.

Automator workflows are smarter than regular macros, as they're not restricted to running inside particular apps. Although we'll build one that processes output from OS X's printing system, turning it into a PDF and then performing additional tasks on the resultant file, you can also create workflows that act like a standalone app, or that keep an eye on a particular folder and perform actions on any files dropped into it.

Workflows can also process images imported from a camera using the Image Capture utility, perform a task when you give a particular instruction to OS X's dictation system, or run when a calendar event's alarm goes off.

Apple has already done a lot of the grunt work for you by providing a library of useful actions. Each one calls upon the services of an app, such as Finder, Calendar or Mail, to give you direct access to its core features, such as renaming a file, setting up an event, or sending a new message.

Each action in your workflow takes some input, which could be a web address, a name or, in our case, a PDF of a receipt we've received by email or been presented with in a web page, performs some actions on it, and then either gives you the result or passes it to the next action in the chain for further work.

It's up to you to pick out the actions that will help accomplish your overall task and add them to a workflow in the appropriate order.

You can have as many actions as you like, but each must understand the output of the preceding one. For example, you couldn't get an event from your calendar in one action and perform colour correction on it in the next, as there'd be no colours to work with.

Our workflow

In the six steps that follow we're going to create a Print Plugin workflow that's accessed when you choose File > Print or press Command + P.

It will use the message that's selected in Mail or the web page displayed in the browser as its input but, rather than sending it straight to the printer, it'll first convert it into a PDF, give it a unique name so it doesn't overwrite any other stored documents, and put it on iCloud Drive for safekeeping.

Our workflow doesn't need any third-party actions, only those provided with Yosemite and El Capitan. These systems are required to access iCloud Drive; if you're running an earlier version of OS X, you could amend the closing steps to save the file to a folder that syncs with a service like Dropbox or OneDrive, or to a NAS (network attached storage) drive in your home or office.

Page 1 of 7
Page 1 of 7
1. Make a print plug-in

1. Make a print plug-in

In Automator, choose File > New, select Print Plugin, then click Choose. This type of workflow extends OS X's Print dialog; if you use Chrome as your web browser, press Option + Command + P to use that dialog instead of Chrome's custom one.

Page 2 of 7
Page 2 of 7
2. Use a unique filename

2. Use a unique filename

By default, when our workflow saves a PDF to a folder, it'll overwrite any file of the same name already there. To avoid this, select Files & Folders or Finder in the first column, then drag Rename Finder Items action from the second to the third.

Page 3 of 7
Page 3 of 7
3. Add the time

3. Add the time

Click Don't Add when asked if you'd like to add a Copy Finder Items action as well. In the Rename Finder Items action, set Format to Hour Minute Second, Separator to Dash, and Where to Before Name. Also turn on Use Leading Zeros.

Page 4 of 7
Page 4 of 7
4. Add the date

4. Add the date

Add another Rename Finder Items action below the existing one and again click Don't Add. This time set Format to Year Month Day, and the other options as you did in step 3.

Your receipts will be uniquely named down to the second.

Page 5 of 7
Page 5 of 7
5. Create a folder

5. Create a folder

In Finder, press Shift + Command + I to go to iCloud Drive. Create a folder called Web Receipts, then return to Automator, drag the Move Finder Items action into your workflow, and use the pop-up menu to select the folder you just created.

Page 6 of 7
Page 6 of 7
6. Save and test

6. Save and test

Save the workflow, calling it Save to iCloud Receipts. In Mail, find a receipt and press Command + P. Click PDF at the dialog's bottom-left corner, then your workflow's name.

A PDF of the receipt will be saved to the folder you created on iCloud Drive.

  • Enjoyed this article? Get more tutorials, guides, and tips on how to get the most from your Apple devices inside MacFormat. Take advantage of an exclusive offer in our sampler today.
Page 7 of 7
Page 7 of 7
TOPICS
Apple
Nik Rawlinson

Nik is an Esperanto-speaking, pencil-bothering, manual typewriter fan who also happens to have a soft spot for tech after sufficient years in the business to know what that disk icon on the save button actually means. Never happier than when out in his campervan, coffee in one hand, ebook in the other, listening to the rain on the roof.

See more Computing How Tos
Read more
an image of an iPhone 16 Pro Max on a black table showing the Passwords app
My favorite iOS 18 app is a tool you're probably not using – and I suggest you try it right away
The Mail app running on iOS, with categories shown on-screen.
How to turn off Mail categories on iPhone, or customize them to your needs
Google Wallet update
Google Wallet loyalty cards are getting an upgrade – giving you one less reason to carry around the real thing
Apple MacBook Air 13-inch (M4) REVIEW
You can now set up your new Mac with an iPhone or iPad, and it might just be the best new time-saver
1Password tax season hack landing page
Get your passwords secure this tax season— 1Password is offering a 25% discount on its individual plan
Apple’s new Invites app gives iCloud Plus subscribers an easier way to organize parties – and Android fans are invited too
How to use Apple Invites: creating and responding to invitations on iPhone
Latest in How Tos
AC Milan's Christian Pulisic scores ahead of Coppa Italia final against Bologna.
Milan vs Bologna: Watch Coppa Italia final 2025 online today (and for free), team news
Rory McIlroy playing a wedge shot in the build up to the second major of the year, PGA Championship 2025.
PGA Championship 2025 live stream: how to watch the golf online, schedule, tee times
WBO junior lightweight champion Emanuel Navarrete during a junior lightweight title fight in 2023
Watch Navarrete vs Suarez online: how to live stream boxing tonight; fight card and ringwalks, weigh-in results
The Samsung Galaxy S25 Edge on display the January 22, 2025 Galaxy Unpacked event.
How to watch the Samsung Galaxy S25 Edge launch live
Alexander Skarsgård as the titular Murderbot
How to watch Murderbot online – live stream the sci-fi series from anywhere
Jumbo-Visma's Slovenian rider Primoz Roglic celebrates on the podium with the race's winner's "Trofeo Senza Fine" (Endless Trophy) after winning the Giro d'Italia cycling race in Rome (Photo by ALBERTO PIZZOLI/AFP via Getty Images)
How to watch Giro d'Italia online (it's free)
LATEST ARTICLES
  1. 1
    12 Nvidia RTX 5090 GPUs will take 14 days to crack a complex 6-character password but I don't think you should care
  2. 2
    "Meta AI non-compliant with GDPR" – Digital rights group menaces Meta with injunction over EU AI training
  3. 3
    Nintendo reveals that the Switch 2's GL/G2 buttons are easily customizable, and can be mapped for any game in the console's quick menu
  4. 4
    Garmin surprise launches two new Forerunner watches – the Garmin Forerunner 570 and Garmin Forerunner 970 – plus the HRM 600
  5. 5
    Scattered Spider moves beyond the UK, places crosshairs on US companies

TechRadar is part of Future US Inc, an international media group and leading digital publisher. Visit our corporate site.

  • About Us
  • Contact Future's experts
  • Contact Us
  • Terms and conditions
  • Privacy policy
  • Cookies policy
  • Advertise with us
  • Web notifications
  • Accessibility Statement
  • Careers

© Future US, Inc. Full 7th Floor, 130 West 42nd Street, New York, NY 10036.

Please login or signup to comment

Please wait...