Once installed, you will be able to add Twitch triggers and actions to your n8n workflows.
Search for Twitch node:
Select the desired action or trigger:
Parametrize it:
🚀 Installation instructions
This node is in the process to be officially verified by n8n.
The installation process will be as simple as searching for "Twitch" in the nodes panel once we get that verification,
but in the meantime, you have several options that depend on how you use n8n.
It is not possible to install unverified community nodes in n8n cloud (documentation).
Once we get that verification, you will be able to install this node following this step by step.
This is the officially recommended way for self-hosted n8n instances running in queue mode (documentation.
Go to the folder where n8n is installed (if you are using the standard Docker installation, it will probably be:
/usr/local/lib/node_modules/n8n) and install the package as any other npm package:
1npm i @codelytv/n8n-nodes-twitch
b.b.b) Install as Custom Docker image
Dockerfile contents example for a custom image with this node added:
b.b.c) Install using Docker Compose / Docker Swarm with mapped volume
Take into account that this option has a considerable downside:
The workflows you create will contain CUSTOM.twitchTrigger as the node type reference instead of @codelytv/n8n-nodes-twitch.twitchTrigger. However, it could be the best approach if you want a faster feedback loop while developing.
Take into account that localhost will not be reachable from Twitch, so you probably are interested into exposing it with a tunnel using something like cloudflared`, or just expose a remote host to Twitch.
Click on the "+ Register Your Application" button.
Fill out the form as follows and click "Create":
Name: Name your app (e.g., “n8nTwitchBot”).
OAuth Redirect URLs: Use a valid redirect URL.
Something like http://localhost:5678/rest/oauth2-credential/callback works.
We do not plan to display Twitch authentication to end users with Oauth.
We're only interested in getting the Client ID and Client Secret, so it's fine to specify a local URL.
Category: Application Integration
Client Type: Confidential
Get your credentials:
Click on "Manage"
Client ID: Visible right away.
Client Secret: Click "New Secret" to generate one. Be sure to store this securely (it won’t be shown again).