Skip to content

Quick Start

This guide walks you through creating your first automation on Rawtoh.

Go to app.rawtoh.io and create your account.

Modules are the services Rawtoh interacts with. To connect one:

  1. Go to Modules in the navigation
  2. Create a Module Group (e.g. “twitch”) — optionally add a manifest describing its methods and events
  3. Add a Module inside the group with a name and a token
  4. 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.

Actions are the scripts that run when something happens.

  1. Go to the Script panel
  2. Click New Action
  3. Give it a name and a path (e.g. twitch/welcome-reply)
  4. Write your JavaScript in the built-in editor:
// Send a welcome message back to the chat
const user = event.payload.user;
await module.request("twitch", "sendMessage", {
text: `Hey @${user}, welcome!`
});
  1. Save the action

Triggers connect events to actions.

  1. In the Script panel, click New Trigger on your action
  2. Select the module group to watch (e.g. “twitch”)
  3. Enter the event name to listen for (e.g. “ChatMessage”)
  4. Write a condition to filter events:
// Only trigger when someone types "!hello"
event.payload.message.startsWith("!hello")
  1. Save the trigger

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.