Add a screenshot step to an n8n workflow
An n8n workflow can take a picture of a web page by calling a screenshot API. There are two ways to wire it in: an HTTP Request node when the workflow decides what to capture, or an MCP tool when an AI Agent decides.
- Which node to use
- Get a key
- The HTTP Request node
- Handle failures
- The MCP Client Tool, for AI Agents
- The MCP Client node, as a plain step
- Schedules and quota
- When this is the wrong tool
- Sources
Which node to use
| You want | Use | The image arrives as |
|---|---|---|
| A fixed step: "capture this address, then send it somewhere" | HTTP Request node | A binary file on the item |
| An AI Agent that decides when to look at a page | MCP Client Tool, attached to the agent | A tool result handed to the agent |
| An MCP tool call as an ordinary step | MCP Client node | A binary file on the item |
If you are not building an agent, use the HTTP Request node. It is the plainest of the three, and the one whose behaviour is easiest to predict.
Get a key
A Calotype key is free for 100 screenshots a month and needs no account. Make one with the button on For agents, or from a terminal:
curl -s -X POST https://calotype.dev/v1/keys
The answer's key field starts with cal_. It is shown once. Put it in an n8n credential, not in the workflow, so that it does not travel with an exported or shared workflow.
The HTTP Request node
This is the request the node has to make:
curl -G https://calotype.dev/v1/screenshot \
-H "Authorization: Bearer cal_your_key" \
-d url=https://example.com -d width=1280 -d height=800 -d format=jpeg
n8n can read that for you: the node's Import cURL button fills in the fields from a pasted command. Afterwards, move the key out of the header and into a credential. Set by hand, the node looks like this:
- Method:
GET - URL:
https://calotype.dev/v1/screenshot - Authentication: Generic Credential Type, then Header Auth, with a new credential: a header named
Authorizationwhose value isBearer cal_your_key. n8n's credentials page also lists a Bearer Auth type, which holds the key alone. - Send Query Parameters: on. Add
urlwith the page's address, and any others you need:width,height,full_page,format,dark_mode,block_ads. The whole list is in the API reference. - Options > Response > Response Format: File. In Put Output in Field, enter a name such as
data.
The answer to a successful call is the image itself, not JSON, which is why the response format matters. n8n's documentation describes the File format as putting the response into a file in the field you name. The next node can then use that binary field: attach it to an email or a chat message, upload it to storage, or pass it to a model that reads images.
To capture a different page for each item, make the url parameter an expression that reads the address from the incoming item, and feed the node a list of items. Two things to know before you do:
- Unknown parameters are refused. Calotype answers
400 invalid_parametersfor a name it does not know, so a typo fails loudly. Imported curl commands bring their values as strings, which is fine: in a query string, booleans aretrueandfalse. - Send a few at a time. Each Calotype server renders a few pages at once. The node's Batching option (items per batch, and an interval between batches) keeps a long list from arriving all together.
Handle failures
By default the node reports success only for a 2xx answer; anything else is an error. Calotype's errors are JSON with a stable code, and they fall into three groups:
| Answer | Meaning | What the workflow should do |
|---|---|---|
503 busy, 504 timeout | Every renderer was busy, or the page took more than 30 seconds | Try again after a pause |
422 target_unreachable, 400 dns_error | The page could not be loaded | Record it and move on; a retry rarely helps |
429 quota_exceeded | The key has used its month | Stop. The answer includes resets_at |
400 blocked_target, 422 blocked_target | The address is private, or the page redirected to one | Nothing; this is refused on purpose |
Two of the node's response options help here. Never Error makes the node succeed whatever the status code, so the next node can branch on the result instead of the workflow stopping. Include Response Headers and Status adds the status code and headers to the output. With it you can read X-Calotype-Usage, which shows the key's count and limit for the month, such as 12/100, and X-Calotype-Target-Status, the status the page itself answered with. A page that answers 404 is still captured and still counts, so check that header if you only want pictures of working pages.
Failed captures and refused requests are not counted against the quota.
The MCP Client Tool, for AI Agents
Use this when an AI Agent node should decide for itself when to look at a page. Add the MCP Client Tool to the agent's tools and set:
- Endpoint:
https://calotype.dev/mcp?ref=guide-n8n-screenshot-workflow - Server Transport: HTTP Streamable
- Authentication: Bearer Auth, with the credential that holds your key
- Tools to Include: All. Calotype has one tool,
screenshot.
The ?ref= tag only tells Calotype that this guide brought the key; the endpoint works the same without it.
The version matters. Calotype speaks the streamable HTTP transport only. n8n's release notes list "MCP Client Tool Node: Add support for HTTP Streamable Transport" under version 1.104.0, released on 21 July 2025. Before that release the node spoke only the older SSE transport, so it cannot connect to Calotype. In n8n's current source, the other choice in the list is labelled "Server Sent Events (Deprecated)".
What I have not verified. n8n's source shows the node handing the tool's result content to the agent. Calotype's result is an image plus one line of text. Whether your chat model then receives that image as a picture it can see depends on the model and on your n8n version, and I have not tested it in n8n. Check it with a question that can only be answered from the image:
Take a dark-mode screenshot of https://calotype.dev/pricing and tell me the Starter price.
If the agent answers $19, it saw the page. If it cannot, use the HTTP Request node to fetch the image and give the binary file to a model step that takes images. That path does not depend on how tool results are passed along.
The MCP Client node, as a plain step
n8n also has an MCP Client node that calls an MCP tool as a regular workflow step, with no agent. Its documentation lists the same transport and authentication settings, a Tool field that is filled from the server, and an option named Convert to Binary, which turns images in the result into binary data. For Calotype it does the same job as the HTTP Request node. Use whichever you find clearer; the HTTP route gives you the response headers as well.
Schedules and quota
A scheduled workflow uses quota in a way that is easy to work out in advance:
- One page a day is about 30 screenshots a month. Three pages a day is about 90. Both fit the free plan's 100.
- One page an hour is about 720 a month. That needs Starter: $19 a month for 5,000.
- Ten pages every 15 minutes is about 28,800 a month, which is more than Pro's 25,000 at $49. Write to skewbald@agentmail.to before you build that.
At the limit, calls answer 429 quota_exceeded until 00:00 UTC on the first of the next month. Nothing extra is charged. To be emailed at 80% and 100% of the quota, add an address to the key; see quota emails. Plans are on Pricing.
When this is the wrong tool
- The page is inside your network. An intranet dashboard, a staging site, anything on a private address. Calotype refuses those, and no hosted API can reach them without an opening in your firewall that you probably do not want. If you host n8n yourself, run a browser on your own machines for these pages.
- The page needs a login. Calotype sends no cookies or headers of yours to the page. Some other screenshot APIs do; Switching to Calotype lists what others offer.
- You need a PDF, a single element, or the banner hidden. Calotype returns PNG, JPEG or WebP of the viewport or the full page, and does not click or hide anything.
- You need to act on the page first. Scroll, click, type, wait for a result. That is browser automation, not a screenshot call.
For the same capture from a coding agent, see Screenshots in Claude Code or Cursor. For doing it yourself in code, see Playwright screenshots in Python.
Sources
Read on 21 November 2026:
- n8n: HTTP Request node (authentication, query parameters, Import cURL, Batching, the Response options)
- n8n: HTTP Request credentials (the generic credential types)
- n8n: MCP Client Tool node (authentication methods, Tools to Include)
- n8n: MCP Client node (Tool, Convert to Binary)
- n8n 1.104.0 release notes (HTTP Streamable transport)
- n8n source: the MCP nodes (field names, transport labels, how a tool result is returned)