Auto-summarize every link shared in a Slack channel

By General Input

When someone drops a link in a watched Slack channel, an agent reads the page, writes a short summary, and posts it back as a thread reply.

Integrations

  • Slack Bot
  • Diffbot

Type

Agentic Task

Categories

  • Operations
  • Personal Productivity

Build me an agent workflow that auto-summarizes any link shared in a watched Slack channel and posts the summary as a thread reply on the original message.

Trigger: a Slack Events API webhook for link_shared / message events on the channels I configure. When the workflow fires, the event payload includes the channel, the message ts, and the URL (or URLs) that were shared. Treat each URL as one summarization job.

Before doing anything else, check the URL against a configurable ignore list (default examples: twitter.com, x.com, our internal docs domain, status pages). If the host matches the ignore list, skip silently.

Read the page with Diffbot. Use the Analyze URL (Auto-detect Page Type) operation so the same workflow handles articles, product pages, and discussion threads without me having to branch on page type. If Diffbot classifies the page as an article, fall back to Extract Article on the same URL to get cleaner title, author, source, date, and body fields.

Use the built-in LLM to write a short summary from the extracted content: 3 to 5 bullet points capturing the core argument or main facts, plus a small header line with the title, author (or site name if no author), source domain, and publish date when those are available. Keep it tight. No filler, no marketing voice.

Post the result back to Slack with the Slack Bot Send a Message operation. The message must go to the same channel as the original event, and it must be a thread reply (use the original message's ts as thread_ts) so the summary attaches to the link instead of creating a new top-level message. Format the summary as Slack mrkdwn: a bold header line followed by bulleted lines.

If Diffbot returns an error, a paywall, or no extractable text, skip posting (do not send a broken summary). If the same URL has already been summarized in this thread within the last 24 hours, skip to avoid duplicates.

Integrations: Diffbot (Analyze URL with Extract Article fallback) and Slack Bot (Send a Message as a thread reply). The built-in LLM handles the summarization step.

Related prompts

Explore more prompts
A brand asset library your marketing team actually searchesTurn Mailjet email clicks into ranked HubSpot follow-upsClean out the Looker dashboards and Looks nobody opensLiveKit live operations console for room moderationWake up dormant Keap leads with a researched reasonLiveChat coverage board for planning next week's shiftsPhone routing control panel for LiveKit voice agentsLinkedIn Ads budget pacing dashboard for every client accountGive your team Looker numbers without buying more seatsPause marketing emails to escalated customers, then restore them