Nobody opens the dashboard. They open Slack. This workflow runs before the working day, signs in to the dashboard with a service account, captures it and posts the image where the team already is. The sign in is the interesting part, because a plain capture has no session.
600 free requests / month, no credit card
// live preview
Add the clicks and the typing the page needs, then capture. Once the sequence works here, it is the same list the workflow sends. Use a page you are allowed to automate against, and never your own password in a shared builder.
// the workflow

The capture runs through an HTTP Request node rather than the screenshot operation, because the sign in needs commands and the node operation takes a URL only. The body carries the URL and the command list together.
{
"url": "https://dashboard.internal.example.com/overview",
"commands": [
{ "type": "type", "selector": "input[name=email]", "value": "={{ $credentials.dashboardUser }}" },
{ "type": "type", "selector": "input[name=password]", "value": "={{ $credentials.dashboardPass }}" },
{ "type": "click", "selector": "button[type=submit]" },
{ "type": "click", "selector": "[data-range='last-7-days']" }
]
}const { SCREENSHOT } = require('./utils');
// input carries both the url and the commands, so one function serves every dashboard
return SCREENSHOT(input);// step by step
Open the node panel and search for CustomJS. The node is published, so on n8n Cloud it is in the list already and nothing has to be installed. On a self-hosted instance, add it once under Settings, Community nodes as @custom-js/n8n-nodes-pdf-toolkit-v2. The installation page has the details.
Create a credential of type CustomJS API and paste the key from your workspace. One key covers PDF, screenshots and the other endpoints.
Create a read only account for the capture and store it in n8n credentials. Reusing a personal login puts a password in a workflow body and ties the report to one person leaving the company.
Open the visual builder and click through the sign in on a test account. The selectors it produces are the list the workflow sends, which beats guessing at them from the page source.
Use an HTTP Request node pointing at your stored function with x-api-key in the header. The screenshot operation on the node takes a URL only, so interactions need the raw call.
Upload the file to a Slack channel with a one line caption. A message that says what changed is read, an image on its own is scrolled past.
// what to watch for
Three failures account for most broken morning posts, and all three are worth handling before the first run rather than after the first silent week.
// There is no way to type a code nobody has yet.
// Options, in order of preference:
// 1. A service account with 2FA not enforced, limited to read only
// 2. A long lived API token and a chart rendered by you
// 3. A signed share link the dashboard issues for exactly this purpose// IF node after the request: a sign in page is small, a dashboard is not
const bytes = $binary.data.fileSize;
// Under 30 kB almost always means the login failed and you captured the form
return bytes < 30000
? [{ json: { ok: false, reason: 'capture looks like a login page' } }]
: [{ json: { ok: true } }];A broken capture that posts a picture of a login form every morning is worse than one that posts nothing, because nobody reports it.
One node turns a URL into a PNG inside your workflow. Full page rendering, binary output, ready to upload, attach or post.
Render a 1200 by 630 Open Graph image from an HTML card for every article you publish, without opening a design tool.
A daily capture of the pages you care about, stored with the date, with a notification when the page stops looking like it did yesterday.
Create a workspace, add the API key, and build the sign in sequence in the builder.