Getting Started with Automod

5 min read

1. Create an Account

Sign up at /auth/login to create your Cacuda account. Every new account comes with 100 free credits so you can start testing right away.

2. Create Your First Automod

Navigate to /automod, enter a name in the input field, and click "New Automod". This opens the visual flow builder where you'll design your moderation pipeline.

3. Add a Trigger

From the node palette on the left, drag a Webhook trigger onto the canvas. This is the entry point for your pipeline — it receives incoming content to moderate.

Click on the trigger node to open the config panel and set the content field to map to the incoming payload.

4. Add a Detector

Drag a Spam Detection or NSFW Text Detection processor node onto the canvas. Connect its input handle to the trigger's output handle.

In the config panel, set the threshold (e.g. 0.5). Content scoring above this value will be routed to the Fail output.

5. Add Actions

Drag an Approve action node and a Reject action node onto the canvas.

  • Connect Approve to the detector's Pass handle (green)
  • Connect Reject to the detector's Fail handle (red)

6. Save and Activate

Click Save to persist your pipeline, then click Activate to enable live processing. Once activated, your automod's detail page will display a Webhook URL — copy this for the next step.

7. Test It

Send a test POST request to your webhook URL using curl:

curl -X POST https://api.cacuda.com/hooks/your-webhook-path \
  -H "Content-Type: application/json" \
  -H "x-cacuda-signature: your-hmac-signature" \
  -d '{
    "content": "Check out this amazing product! Buy now!!!",
    "metadata": {
      "author": "test-user",
      "source": "manual-test"
    }
  }'

Check the execution log at your automod's Executions tab to see the results.