Bulk processing: hundreds of items at once
Updated:
When the same instruction has to run over hundreds of rows (classify 500 customer messages, summarise every line of a spreadsheet), you don't need to write any code: Claude Code in the desktop app does the technical part. It needs a paid plan.
- Put the data file (for example an Excel file with 500 rows) in a dedicated folder, and open a Code tab session on that folder (see section 3).
- Paste this, filling in the brackets:
There's a file in this folder called [file name]. Go through every row and apply this instruction to it: [the instruction from the guide]. Save the results to a new Excel file next to the original, with one result column added. Before you start, tell me in one sentence per step how you'll do it, then process the first 5 rows so I can check them.
- Approve the actions it asks for. Check the first five results; if they're right, tell it to carry on with the rest.
- Open the finished file and spot-check at least five rows yourself.
Very large or repeating jobs (thousands of rows, every week): ask Claude to set the job up with Anthropic's Message Batches API. It costs half the normal API price, most batches finish within an hour, and every batch finishes or expires within 24 hours. It runs on an API key and Console credits, billed separately from your plan. Don't have a key? → API key setup. Treat the key like a password, and follow Claude's instructions on where to store it.
Usage: big jobs in the Code tab use more of your plan's usage. You can check where you stand under Settings › Usage.