Skip to main content

Send website screenshot to Slack

Last verified: Sep 2, 2026

Automate screenshot tasks with ForgeKit API and async jobs.

Steps

  1. Configure ForgeKit API key
  2. Set up trigger (schedule, webhook, or event)
  3. Call ForgeKit screenshot endpoint with your payload
  4. Deliver output to destination (Slack, email, storage)

Node.js example

// Workflow: screenshot-to-slack
const res = await fetch("https://useforgekit.dev/api/v1/screenshot", {
  method: "POST",
  headers: {
    Authorization: "Bearer " + process.env.FORGEKIT_API_KEY,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ url: "https://example.com", width: 1280 }),
});
const job = await res.json();
// Poll GET /api/v1/jobs/{job.id} until completed, then deliver to Slack/email

Python example

# Workflow: screenshot-to-slack
import os, requests

resp = requests.post(
    "https://useforgekit.dev/api/v1/screenshot",
    headers={"Authorization": f"Bearer {os.environ['FORGEKIT_API_KEY']}"},
    json={"url": "https://example.com", "width": 1280},
)
job = resp.json()
# Poll job status, then post result to your destination

Related integrations

Connect this workflow to your stack via our integration guides — Zapier for no-code, Next.js or FastAPI for custom apps, or MCP for AI agents.

FAQ

How do I send a ForgeKit screenshot to Slack?

Capture via POST /api/v1/screenshot, poll the async job until completed, then post the CDN URL to a Slack incoming webhook or chat.postMessage attachment.

Should I use sync or async jobs for Slack alerts?

Use async jobs when pages have heavy JavaScript. Slack notifications can fire from your job-completion handler once the screenshot URL is ready.

Can I schedule this workflow?

Yes. Trigger from cron (GitHub Actions, Vercel Cron, or Inngest) on a schedule, or chain from an event webhook when content changes.

Try the screenshot tool · API docs · Get API key