How to use OneDrive with Guillotine
Connect Microsoft OneDrive so Sanson can create and update CSV and text files there, like a list of your subscriptions, and learn why an Excel workbook needs one extra step.
Last updated
If your household paperwork lives in OneDrive, you’ve probably wished a list like “everything we pay for each month” would keep itself up to date. Sanson can see your subscriptions in your transactions, and with OneDrive connected it can save that list as a file in your OneDrive and update it when something changes. There’s one catch worth knowing before you start, which is that Sanson works with CSV and text files and can’t open an Excel workbook. We’ll start there.
Start with a CSV, not a workbook
Sanson can read and write three kinds of file in OneDrive: CSV, plain text and Markdown, ending in .csv, .txt and .md. Word documents, Excel workbooks and OneNote notebooks won’t appear when you search.
That doesn’t shut Excel out. A CSV opens in Excel like any spreadsheet, so a list Sanson keeps as a CSV is one you can still sort and total there. And if the list you want help with is already in a workbook, save a copy as a CSV: in Excel, choose File, then Save As, and pick CSV as the file type. Only the sheet you’re looking at is saved, and formulas are saved as the numbers they produce, so keep the workbook for your formulas and let Sanson look after the CSV.
Connect your Microsoft account
On the Standard or Advanced plan, open Integrations, choose Microsoft OneDrive and sign in. A personal Microsoft account works, and so does one from work or school, though your employer’s settings may require an administrator to approve the connection first.
Microsoft asks you to let us read and write the files in your OneDrive. That covers your own files only. A file someone else shared with you from their OneDrive is out of reach, so if your partner owns the file, they’d need to connect it from their own Guillotine account.
If you’re told the account has no OneDrive available, that Microsoft account doesn’t have a OneDrive set up yet. Sign in at onedrive.com once and try again, or connect a different account.
OneDrive is a separate connection from Outlook, even with the same Microsoft account. Connecting one doesn’t give Sanson the other.
Have Sanson create the list
Here’s how that goes. Start a thread and ask: “What subscriptions am I paying for each month?” Say Sanson finds three: a streaming service at $15.99, cloud storage at $2.99 and a gym at $39.00. That’s $57.98 a month, or about $696 over a year, and seeing it in one place is often what prompts people to cancel something.
To keep the list, ask in your next message: “Save those as a CSV in my OneDrive at /Money/subscriptions.csv, with the service, the monthly cost and the next renewal date.”
Sanson shows you a card in the thread. For a new file, it has the exact folder and name the file will have and every row that will be in it. If the columns aren’t what you wanted, press Cancel, say so and Sanson will prepare it again. When it looks right, press Confirm. The file is created at that point, and you have 10 minutes before the card expires.
A new file never replaces an existing one. If /Money/subscriptions.csv already exists, nothing is written and you can pick another name.
Keep the list current
Next month, when you’ve cancelled the streaming service, ask Sanson to find subscriptions.csv, and then ask it to remove that row. An update rewrites the whole file, so this time the card shows the complete contents before and after. Read the “after” side through to be sure the rows you didn’t mention are all still there.
If the file changed after Sanson read it, the update is refused so that your newer version isn’t overwritten. Renaming or moving the file counts as a change too, so leave it alone between asking and confirming. Ask Sanson to read the file again and it’ll work from the current version.
If you confirm an update and want the old file back, right-click the file on onedrive.com and choose Version history. Personal accounts keep earlier versions for 30 days.
Attach a file to ask about it
For a question about a file you don’t want changed, attach it. Press the paperclip in a thread, choose OneDrive, and search by name or browse your files. The attachment is a copy taken at that moment, so Sanson’s answers are about that copy and your file is left alone. A file has to be under about 20,000 characters to attach or edit, which is a few hundred rows of a typical CSV.
Reading from OneDrive also ends web searching for that thread, so nothing from your files can leak into a search. Start another thread when you need Sanson to look something up online.
Disconnect, and remove us at Microsoft too
Disconnecting takes two steps here, and the second is easy to miss. First, under Integrations, choose Microsoft OneDrive and press Disconnect. We delete our saved access right away, and your files aren’t affected.
Microsoft doesn’t give apps a way to withdraw their own permission, so the second step is yours. For a personal account, open the apps you’ve given access to and remove Guillotine OneDrive. For a work or school account, remove it in the My Apps portal.