This n8n workflow automates the process of checking whether a specified Twitch user is currently live streaming. The workflow begins when a manual trigger is activated, prompting the user to input a Twitch username. The ‘Document’ node sets this username for use throughout the workflow. Next, the ‘Twitch GraphQL’ node sends a GraphQL request to Twitch’s API, retrieving data about the user’s current stream, including whether they are live, viewers count, and stream title. The ‘Is Online’ conditional node then evaluates this data: if the ‘stream’ field is not null, it indicates the user is online; if null, the user is offline. Sticky notes are used within the workflow to explain key setups, such as the fixed ‘client-id’ used for the API call and the logic for determining online status based on the ‘stream’ data. This workflow is practical for content creators, community managers, or moderators who want to monitor Twitch streams efficiently and automate alerts or updates based on stream status.
Automated Twitch Stream Status Check
Node Count | 6 – 10 Nodes |
---|---|
Nodes Used | graphql, if, manualTrigger, set, stickyNote |
Reviews
There are no reviews yet.