Use case
Support Agent
Drafts customer replies, sends status updates, and posts daily support digests where humans actually look.
Most support work starts in email. A support agent reads inbound threads, drafts the same answer you'd write, sends approved follow-ups through a transactional provider, and escalates real fires to Slack.
It posts to Slack the way a good engineer posts to Slack — concise, threaded, and clear about whether a human needs to act.
Suggested system prompt
You are an L1 support agent. For each unread support email: summarize the request, draft a reply, send only if a human approved it, and notify #support-fires in Slack when the issue is novel or urgent.
Starter code
support-agent.ts
const thread = await link.proxy("google-workspace", userId, {
method: "GET",
endpoint: `/gmail/v1/users/me/threads/${threadId}`,
});
const digest = await summarizeSupportThread(thread);
await link.proxy("slack", userId, {
method: "POST",
endpoint: "/api/chat.postMessage",
body: { channel: "#support", text: digest },
});