Shout out every live teammate in parallel
Expert
Graph structure (text alternative)
Trigger: onChatCommand
Nodes:
- On Chat Command
(entry.onChatCommand) - Twitch: Live Team Members
(twitch.filterTeamMembers) - For Each (Parallel)
(flow.forEachParallel) - Send Chat Message
(action.sendChat) - Return
(flow.return)
Connections:
- On Chat Command.out → Twitch: Live Team Members.in
- Twitch: Live Team Members.out → For Each (Parallel).in
- Twitch: Live Team Members.liveMemberLogins → For Each (Parallel).source
- For Each (Parallel).body → Send Chat Message.in
- For Each (Parallel).item → Send Chat Message.text
- For Each (Parallel).completed → Return.in
Walkthrough
Shout out every live teammate at once.
How it works
- On Command fires on
!shoutteam(moderator-only). - Twitch: Filter Team Members returns just the members of your team who are currently live.
- For Each (Parallel) runs its body for every live login concurrently, up to 4 at a time
(
maxDegreeOfParallelism). - Send Chat Message shouts each teammate; once all are done, completed ends the flow.
Unlike a plain For Each, the parallel version fans the shout-outs out simultaneously. That helps when the list is long. See For Each (Parallel) and Filter Team Members.
