Quick Start
This guide walks you through creating your first automation on Rawtoh.
1. Sign in
Section titled “1. Sign in”Go to app.rawtoh.io and create your account.
2. Connect a module
Section titled “2. Connect a module”Modules are the services Rawtoh interacts with. To connect one:
- Go to Modules in the navigation
- Create a Module Group (e.g. “twitch”) — optionally add a manifest describing its methods and events
- Add a Module inside the group with a name and a token
- The module uses these credentials to connect via WebSocket
Once connected, you can ping the module to verify it’s online, and use the Test RPC button to try its methods directly from the dashboard.
3. Create an action
Section titled “3. Create an action”Actions are the scripts that run when something happens.
- Go to the Script panel
- Click New Action
- Give it a name and a path (e.g.
twitch/welcome-reply) - Write your JavaScript in the built-in editor:
// Send a welcome message back to the chatconst user = event.payload.user;await module.request("twitch", "sendMessage", { text: `Hey @${user}, welcome!`});- Save the action
4. Create a trigger
Section titled “4. Create a trigger”Triggers connect events to actions.
- In the Script panel, click New Trigger on your action
- Select the module group to watch (e.g. “twitch”)
- Enter the event name to listen for (e.g. “ChatMessage”)
- Write a condition to filter events:
// Only trigger when someone types "!hello"event.payload.message.startsWith("!hello")- Save the trigger
5. Test it
Section titled “5. Test it”Send a message matching your trigger in the connected service. You should see:
- The event appear in the Events panel
- A process created, showing the trigger matched
- The action executed with its logs
That’s it! You’ve created your first automation. Check the Core Concepts section to dive deeper.