Getting Started
Learn the basics of Rawtoh — connect tools, react to events, and automate everything.
Rawtoh is a real-time automation platform. You connect external tools (modules), they emit events, and your scripts react to them instantly.
How it works
Everything in Rawtoh follows one simple loop:
- Connect — Install a module and enroll it with a one-time token.
- Receive — The module emits events to Rawtoh.
- React — Triggers match events and run actions.
- Execute — Actions call methods on other modules.
Quick start
1. Create an account
Go to Sign up and create your account. You'll need to verify your email address before continuing. Then create your first organization — this is where all your modules, scripts, and data live.
2. Set up a module
The hosted modules — Twitch, OBS, Board — install themselves: open the module's site, sign in with your Rawtoh account, and click Install with Rawtoh. Nothing to copy.
For any other module, head to Module → Instances and add a module instance. You'll get an enrollment token (rth_e_…) — shown once, valid for 15 minutes and for a single use. Paste it into your module: it generates its own key pair, redeems the token, and from then on connects via WebSocket and starts sending events. See Modules for the details.
3. Write your first trigger + action
Open the Script Editor. Create an action (the code that runs) and a trigger (the rule that fires it). Link the trigger to a specific event from your module, and enable both.
Prefer to describe it? When AI is available for your organization, ask the Companion in the sidebar: explain what should happen and when, and it writes the triggers and actions for you.
4. Watch it work
When your module emits a matching event, Rawtoh will execute your action automatically. Check the Activity panel to see process logs, output, and module calls.
Key concepts at a glance
- Event — Something that happened — emitted by a module (e.g.
chat.message,eventsub.stream_online). - Trigger — A rule that watches for a specific event and decides if an action should run.
- Action — TypeScript code that runs when a trigger fires.
- Module — A definition for an integration (Twitch, OBS, etc.).
- Module Instance — An actual running connection of a module, authenticated by its own key pair.
- Companion — The AI assistant in the sidebar that writes, edits and reorganizes your scripts on request.
- Process — A record of one automation run: event → trigger → action.
- Storage — A key-value store your scripts can read and write.