Twitch
App · Video & Audio · 3 actions · 1 trigger
Look up Twitch profiles, find live streams, and list channel followers.
Triggers
Start a workflow when something happens in Twitch. See how triggers work.
Twitch channel goes live
Starts the workflow when a channel you specify starts streaming.
Filters
Narrow which events start a run.
channelRequired
Event fields
What a run starts with. Later steps read each field with an @ reference.
stream_idtextuser_idtextuser_logintextuser_nametextgame_idtextgame_nametexttitletextviewer_countnumberstarted_attext
Actions
| Action | What it does |
|---|---|
| Get user profile | Look up a Twitch user's profile by their username. |
| List channel followers | List the people who follow a channel, along with when they followed and the total follower count. |
| List live streams | List live streams by channel name or game. |
Get user profile
Look up a Twitch user's profile by their username.
Inputs
- Username
user_logintextRequired - The Twitch username to look up, for example 'ninja'.
Outputs
userobject- The user's profile details.
Example output
{
"user": {
"description": "mock_value",
"display_name": "mock_value",
"id": "mock_value",
"login": "mock_value"
}
}List channel followers
List the people who follow a channel, along with when they followed and the total follower count. You can only list followers for your own channel or a channel you moderate.
Inputs
- Channel username
channeltextRequired - The channel's Twitch username, for example 'ninja'. This must be your own channel or one you moderate.
- Number of followers
firstnumber - Maximum number of followers to return, from 1 to 100. Defaults to 20.Default:
20.
Outputs
followerslist- The people who follow the channel.
totalnumber- The total number of people who follow the channel.
Example output
{
"followers": [
{
"followed_at": "mock_value",
"user_id": "mock_value",
"user_name": "mock_value"
}
],
"total": 1024
}List live streams
List live streams by channel name or game.
Inputs
- Channel username
user_logintext - Only show the live stream for this channel's username, for example 'ninja'.
- Game or category ID
game_idtext - Only show streams playing this game or category. Use the numeric ID Twitch assigns to the game or category.
- Number of streams
firstnumber - Maximum number of streams to return, from 1 to 100. Defaults to 20.Default:
20.
Outputs
streamslist- The live streams that matched your search.
Example output
{
"streams": [
{
"id": "mock_value",
"title": "mock_value",
"user_id": "mock_value",
"user_name": "mock_value",
"viewer_count": 123
}
]
}