What You’ll Build: A content moderation workflow that receives flagged content via webhook, routes it to human reviewers, and returns their decision.
Prerequisites
HITL.sh Account
Sign up for free and get your API key from the dashboard.
Development Environment
Python 3.7+, Node.js 16+, or your preferred language with HTTP client support.
Step 1: Get Your API Key
1
Sign Up
Create your free account at hitl.sh/signup
2
Generate API Key
Go to your dashboard and create a new API key. Copy and save it securely.
3
Test Connection
Verify your API key works using the dedicated test endpoint:You should get a JSON response confirming your API key is valid.
Step 2: Create a Workflow
A workflow is a visual pipeline that routes data through processing steps, including human review. Create one in the dashboard:1
Open the Dashboard
Navigate to my.hitl.sh and sign in.
2
Create a New Workflow
Click Workflows in the sidebar, then click New Workflow. Name it “Content Moderation”.
3
Add a Human Review Node
In the workflow designer canvas, click the + button on the Trigger node and add a Human Review node. Configure it:
- Response type: Single Select
- Options: Approve, Reject, Escalate
- Reviewers: Select your Universe (all reviewers) or a specific group
- Timeout: 3600 seconds (1 hour)
- Default response: Reject
4
Activate the Workflow
Click Save, then toggle Activate. Copy the webhook URL displayed at the top of the designer.
Step 3: Add Reviewers
Your workflow needs human reviewers to respond. Add people in the Humans section of the dashboard:1
Navigate to Humans
Click Humans in the sidebar.
2
Add People
Click Add Person and invite reviewers by email. They will receive an invitation to join HITL.sh.
3
Download the Mobile App
Reviewers download the HITL.sh mobile app (App Store | Google Play) and sign in to receive push notifications.
For Testing: You can test by adding yourself as a reviewer and responding via the web dashboard inbox or the mobile app.
Step 4: Trigger the Workflow
Send a POST request to your workflow’s webhook URL to start an execution:- Python
- Node.js
- cURL
Step 5: Respond and View Results
- Reviewers receive a push notification on the mobile app
- Open the review request, read the content, and select a response (Approve, Reject, or Escalate)
- The workflow execution completes
What’s Next?
Workflow Designer
Learn about all node types, canvas controls, and advanced configuration.
Response Types
Explore all seven response types and their configurations.
Mobile App Guide
Learn how reviewers use the mobile app to respond.
Integrations
Connect your workflows to n8n, Zapier, Make, and more.
SDKs
Use our official SDKs for easier integration.
Humans
Set up reviewer groups for targeted assignment.