Guide
n8n chart templates: three workflows you import from a URL
These are whole n8n workflows, not node snippets. Each one turns two columns in a Google Sheet into a chart image, and then either mails it, posts it to Slack, or writes the chart URL back into the sheet. n8n has an Import from URL dialog, so the only setup work is connecting your accounts and editing one Set node.
No UrlChart API key is needed on the free tier: the render step is a plain GET https://urlchart.com/chart?… with the legacy Google Image Charts parameters n8n users already know (cht, chs, chd, chl, chtt). The free tier is 1,000 unique renders a month per IP at 60 requests a minute — a daily chart and a weekly report sit far inside it, and a repeated URL is a cache hit that is not counted.
What each template does, and who it is for
Weekly chart report — Sheets → Gmail + Slack (+ Drive)
The complete weekly loop, run every Monday at 09:00. Reads the metrics tab, drops rows that have no label or no number, renders one chart, and emails the PNG with a one-line summary and a small data table. Posts the same image and summary to a Slack channel, and saves a dated copy to Google Drive when the archive switch is on. The summary carries the week-over-week change in the total; the first run says there is no baseline instead of inventing a delta. Two failure paths are visible: no usable rows sends a no-data notice with the dropped count, and a failed render is retried and then reported with the HTTP status and the URL it asked for.
For whoever currently rebuilds the same chart every Monday: growth and ops teams, agencies reporting to clients, founders who want the number in the inbox before the standup.
Daily chart email — Sheets → Gmail
Six nodes, one purpose: every morning at 08:00 read two columns, render one chart, email it with a one-line summary. Rows that cannot be charted are skipped and counted; if nothing usable is left the run stops with a clear error rather than emailing a broken chart.
For a single daily number going to one inbox — a support queue, a signup count, yesterday's revenue — where the weekly template would be more machinery than the job needs.
Chart URL writeback — Sheets → Sheets
Runs on demand. Builds the full chart URL from the metrics tab and appends one row — date, chart title, chart URL — to a log tab in the same spreadsheet. Logged URLs keep rendering, so the log doubles as an archive of charts already published.
For people who want the URL, not the delivery: an image link to paste into a report, a ticket, a CMS field or a wiki page, and a record of which chart was published when.
The workflow the weekly template produces
chs=720x360 with the weekly template's default chart title — the same parameter shape the HTTP node builds once it has your rows.Import from URL
- In n8n open Workflows and choose Import from URL.
- Paste one of the three template URLs below and confirm the import.
- n8n lists the credentials the workflow uses and asks you to pick or create them. Nothing is embedded in the file — that is deliberate, so the import cannot run against somebody else's account.
- Open Configure report (the yellow note points at it) and set the spreadsheet ID, the tab name, the chart type and title, the size, the recipient, the Slack channel and the archive switch.
- Row 1 of the metrics tab is a header: column A is
label, column B isvalue. - Click Execute workflow once with real rows before you activate the schedule.
See the docs for the parameter reference the render step uses, and the tester if you want to see a URL render before wiring it into a workflow.
The three URLs
These are the files n8n imports — each one is a complete workflow export.
https://urlchart.com/templates/n8n/weekly-chart-report.json
https://urlchart.com/templates/n8n/daily-chart-email.json
https://urlchart.com/templates/n8n/sheets-chart-url-writeback.json
What each one needs
| Template | n8n credentials to connect | UrlChart key |
|---|---|---|
| Weekly chart report | Google Sheets, Gmail, Slack, Google Drive (Drive only if the archive switch is on) | None on the free tier |
| Daily chart email | Google Sheets, Gmail | None on the free tier |
| Chart URL writeback | Google Sheets | None on the free tier |
On a paid UrlChart plan the render step takes one extra header, x-api-key, added to the HTTP Request node. Anonymous renders are capped at 1000 px per side; all three templates ask for 720x360, well inside it.
What is verified, and what is not
- The weekly template was run end to end in a real self-hosted n8n instance (2.49.7). Import, export and re-import produced an identical workflow with no duplicate. A sample-data copy ran twice: the first run reported no baseline, the second computed the week-over-week change against the first. The empty-sheet copy took the no-data branch and reported the dropped rows. The failed-render copy retried twice (three attempts in total, which the broken endpoint's request log confirms), then sent the alert with the HTTP status and the requested URL.
- Both simple templates were imported and their core path run with sample data. The daily one rendered from production UrlChart and the email step received the PNG. The writeback one built its URL, and that URL was fetched once and returned a 720x360 PNG.
- What was not tested: a real Gmail, Slack or Drive account. The runs replaced those steps with stubs that record what they receive, so the sends themselves are unverified — the plausible failure there is a credential or permission problem in your own account, not a bug in the workflow shape. The schedules were also not waited on; the copies ran on manual triggers.
- The failures are documented rather than hidden: if a render fails after its retries you get an email with the error, and if the sheet has no usable rows you get a notice instead of a blank chart.
Also submitted to the official n8n library
The weekly chart report has been submitted for review to the n8n template library as well, and is currently in manual review, so it may later appear there under the title Send a weekly chart report from Google Sheets to Gmail and Slack. That submission is a review process, not a live listing: until it shows up in the library, the URL above is the stable way to import it. The submitted export is also kept in the documentation repository on GitHub, at urlchart-weekly-report-template-v2.json, if you would rather download the file and import it into n8n by hand.
Where to go next
- Docs — the chart URL in three steps, the parameter reference and the error behaviour.
- Examples — a live render for every chart type and capability, each with its copyable URL.
- Pricing — free tier limits, the $29/month plan and the fair-use rules.
Charts can also be built by an agent rather than a workflow: UrlChart exposes an MCP endpoint at POST https://urlchart.com/mcp, a stateless JSON-RPC transport that offers chart generation, URL building and legacy-URL checking as tools. It answers POST only, so it is not a page to open in a browser — point an MCP client at it.