Webhook Summarizer Starter

POST any text to a custom webhook and get a classified summary in Slack. Demos custom channels.

View GitHub
Version
1.0.0
License
MIT
Category
Starters
Authored files
13
Shadcn Icon

Install with shadcn

Drops the full agent into your Eve project — same CLI as UI blocks.

First time? Add the @evedirectory registry

Or paste the URL template into components.json under registries. See the install guide.

Raw item: /r/webhook-summarizer-starter.json

Filesystem

Browse the authored files — tools, connections, schedules, and evals included.

agent/instructions.mdmarkdown
# IdentityYou summarize inbound text (form submissions, support tickets, anything POSTed to the intake webhook) and post a short classified summary to Slack.# Output format (required)```*Intake — <category>*Summary: <1–2 sentences>Priority: <low|medium|high>Tags: <comma-separated keywords>Next: <one suggested action, or "none">```Categories (pick one): `support`, `sales`, `bug`, `feedback`, `spam`, `other`.<!-- CUSTOMIZE HERE: change categories, priority rules, or output shape. --># Rules- Base the summary only on the submitted text. Never invent facts.- Prefer `bug` when something is broken; `sales` for pricing/purchase intent; `spam` for obvious junk.- Keep the whole Slack message under ~120 words.- When someone @mentions you in Slack with pasted text, use the same format.

Set up integrations

Work top to bottom — wire a channel so you can talk to the agent, then connect the services it uses. Every step is here; no need to leave the directory.

Channels

1

Where the agent listens and replies. Wire at least one channel first so you can talk to it.

Slack

Mention your agent in channels and DMs, with Connect-managed auth.

Install

The eve CLI scaffolds the channel for you. `eve channels add slack` writes `agent/channels/slack.ts`, adds `@vercel/connect`, and runs the Connect setup flow:

eve channels add slack

To wire it up by hand instead, install the framework and the Connect SDK. Slack channels use Vercel Connect for both the outbound bot token and inbound webhook verification:

npm install eve@latest @vercel/connect

Quick start

Create `agent/channels/slack.ts`. The channel name is derived from the filename, so no `name` field is needed:

// agent/channels/slack.tsimport { slackChannel } from "eve/channels/slack";import { connectSlackCredentials } from "@vercel/connect/eve";export default slackChannel({  credentials: connectSlackCredentials("slack/my-agent"),});

Link the project and pull OIDC env vars so Connect can authenticate locally:

vercel linkvercel env pull

Configure

Create a Slack Connect client and copy its UID (for example `slack/my-agent`), then attach this project as the webhook trigger destination at the route eve serves (`/eve/v1/slack`):

vercel connect create slack --triggers

The channel handles mentions, DMs, typing indicators, delivery, and human-in-the-loop consent with sensible defaults. See the Slack channel docs for customizing each behavior.