Set Automate

Set Automate enables manual triggering of a workflow to check if a Twitch user is online by integrating with GraphQL. It retrieves real-time streaming data, allowing users to monitor viewer counts and stream titles efficiently. This workflow simplifies the process of tracking Twitch activity, ensuring users stay updated with minimal effort.

7/8/2025
7 nodes
Medium
manualmediumgraphqlsticky notelogicconditional
Categories:
Manual TriggeredMedium Workflow
Integrations:
GraphqlSticky Note

Target Audience

This workflow is ideal for:
- Streamers looking to monitor their live status on Twitch.
- Developers who want to integrate Twitch's GraphQL API into their applications.
- Content Creators who need a quick way to check if they are online without manually checking the Twitch platform.
- Social Media Managers who want to automate updates based on the stream status.

Problem Solved

This workflow addresses the challenge of determining whether a specific Twitch user is currently streaming. By automating this check, users can:
- Save time by avoiding manual checks.
- Receive immediate updates on their streaming status.
- Enhance engagement by automating notifications or actions based on the user's online/offline status.

Workflow Steps

  • Manual Trigger: The workflow begins with a manual trigger, allowing users to start the process at their convenience.
    2. Document Node: The Document node assigns the Twitch username to a variable, which will be used in the GraphQL query.
    3. Twitch GraphQL Node: This node sends a query to the Twitch GraphQL API to fetch the streaming status of the specified user. It retrieves details such as viewers count, title, and game ID.
    4. Is Online Node: The Is Online node checks if the stream field returned from the query is not empty. If it contains data, the user is considered online; if it is empty, the user is offline.
    5. Sticky Notes: Additional Sticky Note nodes provide helpful comments and reminders about the workflow, including explanations of parameters and conditions.
  • Customization Guide

    Users can customize this workflow by:
    - Changing the Twitch Username: Update the value in the Document node to monitor a different Twitch user.
    - Modifying the GraphQL Query: Adjust the query in the Twitch GraphQL node to fetch different data points or add more fields as needed.
    - Adding Actions Based on Online Status: Integrate additional nodes after the Is Online node to perform specific actions based on whether the user is online or offline, such as sending notifications or posting to social media.
    - Updating Client ID: If you have a different client-id, replace it in the headerParametersUi of the Twitch GraphQL node.