Use it in

Charts in Slack.

Post an image block from a bot or a workflow and the chart shows in the channel, no attachment upload needed.

# opsToday

Ops bot 09:00

Jobs in the last hour. Workers failed 27.

Stacked horizontal bars: jobs in the last hour by service, Workers with the most failures at 27

Set it up.

  1. Write the URL

    Start from the Slack status example: two series, stacked, h=300 so it fits the preview.

  2. Post an image block

    Sign the URL and put it in image_url with alt text.

  3. Schedule it

    Send it from your bot every hour. Each new hour is one render.

{
  "blocks": [{
    "type": "image",
    "image_url": "https://c.renderchart.com/?key=rc_pub_live_7Hq2mX9pLk4vN8sT1wEa&type=hbar&x=API,Web,Workers,Queue&y1=982,1204,640,310&y2=12,3,27,4&n1=Succeeded&n2=Failed&stacked=1&title=Jobs%20in%20the%20last%20hour&h=300",
    "alt_text": "Slack status chart"
  }]
}

Which kind of URL.

Signed, from a bot

  • A bot or a scheduled job signs each URL before it posts: no watermark on a paid plan, and nobody can change the numbers.
  • Workflow Builder and other no-code tools can't sign, so their charts are unsigned and carry the watermark.
  • Slack takes image URLs up to 3,000 characters. Save a longer chart as a short URL, which also keeps your key and data out of the channel.

Unsigned, signed and short URLs compared

Worth knowing.

Hide the key
Short URLs (/s/) hide your key and data, on Starter and above.
New numbers
Post each hour as a new message with its own chart URL. Each new chart is one render.