Skip to main content

n8n integration

Self-hosted automation. Call AI Detector API from any n8n workflow using the HTTP Request node.

~10 minute setup · 6 steps · Webhooks supported

n8n is a self-hostable workflow automation platform with a fair-code license. Teams that need data residency, on-prem deployment, or unrestricted customization often pick n8n over Zapier or Make.

AI Detector API integrates via the built-in HTTP Request node. No custom node required.

When to use this

Use n8n when you need self-hosted automation. GDPR data residency, on-prem deployment, custom transformations, or just lower per-execution cost at high volume.

Steps

  1. 1

    Spin up n8n

    Use the official Docker image or install via npm. Open the n8n UI at http://localhost:5678/.

  2. 2

    Create a new workflow

    Pick a trigger node. Webhook, Cron, or app-specific. Connect it to an HTTP Request node.

  3. 3

    Configure the HTTP Request

    Method: POST. URL: https://api.aidetectorapi.com/v1/detect/. Authentication: Header Auth with name Authorization and value Bearer YOUR_API_KEY.

  4. 4

    Set the body

    Body Content Type: JSON. Specify body parameters: text → the expression {{ $json.text }} (or wherever the text lives).

  5. 5

    Add an IF node

    Compare {{ $json.score }} against your threshold. True branch routes to a review queue; False branch passes through.

  6. 6

    Output to your destination

    Slack node, Postgres node, S3 node. N8n has integrations for ~400 apps and supports raw HTTP for anything else.

Example use case

Cron-triggered n8n workflow scoring overnight content uploads and posting digests to Slack.

Rate-limit tip

n8n's HTTP Request node has a Retry on Fail option. Enable it with exponential backoff to handle 429s gracefully.

Other integrations

Get your API key. Free

1,000 requests/month, no credit card. Drop straight into your n8n workflow.

Get my free API key