Skip to content
Integration

Twitch integrations and automation

Say what should happen in Twitch, in plain words. Whenever builds it and runs it on a schedule, webhook or app event.

Connection requirements, provider permissions and optional AI usage apply. Read the runtime limits.

No credit card needed.

Twitch on Whenever

About Twitch

Twitch is a live streaming platform popular with gamers, creators, and communities, offering real-time interaction and monetization through subscriptions and donations

How Whenever connects

Through its API, with the provider’s credentials and permissions.

Build it from your AI client

Connect Claude, Cursor or Codex to the Whenever MCP server. Your coding agent builds and deploys the Twitch workflow. It then runs on Whenever, with the chat closed.

Set up the Whenever MCP server

Plan your Twitch workflow

Twitch automation revolves around one moment: a broadcaster going live. Twitch’s EventSub system can push that moment, and many others, to a webhook as it happens. The stream.online and stream.offline subscription types fire when a channel starts and ends a broadcast; channel.follow, channel.subscribe, channel.cheer and channel.raid cover community activity; channel.update reports a title or category change. Because EventSub pushes events, there is no need to poll the Helix streams endpoint every minute to find out whether someone is live.

EventSub webhooks have a handshake people trip over. When you create a subscription, Twitch sends a verification challenge to the callback and expects the challenge string echoed back; afterwards every notification carries a signature computed with the secret you chose, and well-behaved receivers check it and ignore duplicate message IDs, since Twitch may resend a message. Webhook subscriptions are created with an app access token, but the broadcaster still needs to have authorized your app for scopes that protect private data, such as subscriptions or channel point redemptions.

The Helix API is the place for reads and writes outside of events. Get Streams returns live status, viewer count and game; Get Videos lists past broadcasts, highlights and uploads; Get Clips returns clips for a broadcaster within a date range; and channel endpoints can change a stream’s title or category with the right scope. Requests need both a Client ID and a token, and Twitch applies a points-based rate limit per token, reported in response headers, so large lookups should be paced.

Chat is a separate concern. Sending chat messages and moderating are available through Helix endpoints with chat scopes, while reading live chat at volume is a long-running connection rather than a scheduled job. Keep chat workflows narrow, such as posting one announcement when a stream starts, rather than trying to mirror the whole conversation somewhere else.

Twitch workflow examples

Starter briefs to set up with your accounts, not finished workflows.

Go-live announcement in Discord

Uses the stream.online event so the post goes out shortly after the broadcast begins, without minute-by-minute polling.

Build this workflow

Weekly clip roundup

Collects the most-viewed clips of the past week into a list for editing a highlights video.

Build this workflow

Thank new subscribers after the stream

Stores subscription events during the broadcast and sends one summary at the end, rather than an alert per event.

Build this workflow

Related apps for your workflows

All integrations

Twitch FAQs

How do I know when a Twitch streamer goes live without polling?

Subscribe to the stream.online EventSub type for that broadcaster with a webhook transport. Twitch sends a notification when the broadcast starts, after your callback has answered the verification challenge.

Which token does an EventSub webhook subscription need?

Webhook subscriptions are created with an app access token. For event types that expose private data, such as channel.subscribe, the broadcaster must also have granted your app the required scope.

Why am I receiving the same Twitch event twice?

Twitch may resend a notification if it is unsure of delivery. Each message carries a message ID; store handled IDs and ignore repeats.

What are the Helix API rate limits?

Twitch uses a token bucket of points per minute: one bucket for app access requests and, for user tokens, limits per client per user. Each response carries Ratelimit-Limit, Ratelimit-Remaining and Ratelimit-Reset headers, and an empty bucket returns 429.

Can a workflow change my stream title or category?

Yes, through Modify Channel Information with the channel:manage:broadcast scope authorized by the broadcaster.

Your first workflow is one sentence away.

One workflow free. No card. Weekly AI-building limits.