No-code automation

AgentSEO + n8n

Use n8n HTTP Request nodes to submit a content-gap check, wait for the same job to finish, and route its result into Slack, Notion, Sheets, or your CMS queue.

Copy the setup first, validate one live workflow, then decide whether this path belongs in docs, automation, or your agent runtime.

No-code automationHTTP Request nodeAsync jobs

Before you start

Best for technical marketers and agencies who want a real SEO automation loop running fast, not a long integration project.

Use This Guide For

Set up the integration and check the result

Open the configuration, see a sample response, or review the API quickstart.

Core workflows

What you can do

  • Send weekly content-gap checks into Slack or Notion for review.
  • Trigger local visibility scans after a CRM stage changes.
  • Route ranking drops into tickets, summaries, or client reports.

Setup snapshot

HTTP Request example

POST https://www.agentseo.dev/api/v1/content/gap
x-api-key: sk_live_...
Content-Type: application/json

{
  "url": "https://example.com/seo-audit",
  "keyword": "seo audit checklist"
}

Use this POST in the first HTTP Request node. The setup steps show how to poll the returned jobId from a second node.

Implementation plan

How to set it up

  1. 1

    In both HTTP Request nodes, choose Generic Credential Type > Header Auth. Set the header name to x-api-key and the value to your server-side AgentSEO API key.

  2. 2

    Name the first HTTP Request node Submit content gap and use the POST above. Leave Include Response Headers and Status off so the JSON fields appear at the top level. Leave Never Error off and submit once per workflow run.

  3. 3

    After the POST returns jobId, use a Wait node for retry_after_seconds, then a second HTTP Request node with method GET and URL https://www.agentseo.dev/api/v1/jobs/{{ $('Submit content gap').first().json.jobId }}.

  4. 4

    Use a Switch on the GET response body's status. For queued, processing, or retrying, loop back to Wait and repeat the GET. Stop polling after a deadline you set, such as two minutes, and keep jobId for later.

Output shape

What users get back

  • Strict JSON payloads that are easier to map into downstream nodes than raw provider responses.
  • agent_workflow summaries with a clear decision, evidence, and recommended next actions.
  • Pollable job state for long-running checks that should not block the whole workflow.

Limits

What to check before you run it

  • No first-party AgentSEO n8n node today.
  • You still need to model polling or retries for async workflows.
  • Complex branching belongs in n8n logic, not in the API page copy.

Visual flow

n8n workflow shape

The clean pattern is queue, poll, branch. Keep AgentSEO narrow and let n8n handle orchestration.

1

Schedule

Cron or trigger starts the flow.

2

AgentSEO API

HTTP Request node enqueues content gap or rank check.

3

Job Poll

Wait and repeat the GET for the original job until it finishes or the deadline is reached.

4

Action

Slack, Notion, sheet, or CMS queue gets only high-signal results.

Concrete example

Weekly content-gap review in n8n

Use one scheduled workflow to identify pages worth updating, then push only high-signal items into Slack or Notion.

HTTP Request node payload

POST https://www.agentseo.dev/api/v1/content/gap
x-api-key: sk_live_...
Content-Type: application/json

{
  "url": "https://example.com/seo-audit",
  "keyword": "seo audit checklist"
}

Example POST response (HTTP 202)

{
  "jobId": "7e5ed208-d91d-43a5-8b8b-099f6f6b84a4",
  "status": "queued",
  "poll_url": "/api/v1/jobs/7e5ed208-d91d-43a5-8b8b-099f6f6b84a4",
  "events_url": "/api/v1/jobs/7e5ed208-d91d-43a5-8b8b-099f6f6b84a4/events",
  "retry_after_seconds": 2
}
  • A status GET can return HTTP 200 while the job is still running. On completed, read result and use result.agent_workflow.decision for downstream filters.
  • On failed, stop and report error.message. If the POST returns HTTP 402, handle the insufficient-credit error before polling. The response has no jobId.
  • If you enable retries for a timed-out POST, set an Idempotency-Key before the first attempt and reuse the same value for that submission.

FAQ

Questions this page should answer fast

Package-level docs

Is there an official AgentSEO n8n node?

Not today. The supported path is n8n's HTTP Request node against the public AgentSEO API.

Which AgentSEO endpoints fit n8n best?

Content gap, local audit, rank tracking, and webhook-oriented jobs are the strongest starting points because they produce clear next actions.