Analyze URLs with Cortex in n8n for Job Details

This workflow uses n8n and Cortex to analyze URLs for security insights by running abuse detection and retrieving job details automatically. It helps cybersecurity analysts save time and reduce manual effort when investigating URL-related threats.
cortex
manualTrigger
cortex
Workflow Identifier: 2397
NODES in Use: Manual Trigger, Cortex
Analyze URLs with n8n and Cortex

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

What this workflow does

This workflow checks if a URL is dangerous or abused by using Cortex security tools.

User inputs a URL. The workflow sends this to Cortex Abuse Finder analyzer. Cortex runs its checks and gives a job ID.

Then, workflow asks Cortex for full details about that job. It saves info about the URL’s risk and problems found.

This saves a lot of repeated manual work. It stops errors from typing wrong job IDs and helps react faster to bad URLs.


Tools and services used

  • n8n: Automation platform to link steps and run workflow.
  • Cortex: Security platform that analyzes URLs with Abuse Finder.
  • Cortex API: Enables n8n to securely ask Cortex for analysis and job details.

How the workflow works (Input → Process → Output)

Input

User gives a URL to check, like https://n8n.io.

Processing

1) Sends URL to Cortex “Abuse Finder” analyzer.

2) Cortex processes and produces a job with ID.

3) Uses that job ID to ask Cortex for detailed results.

Output

The workflow shows full job report with info on threats or abuse detected.


Beginner step-by-step: How to use this workflow in n8n production

Import the workflow

  1. Download workflow from this page using the Download button.
  2. Open your n8n editor. Click “Import from File” and select the downloaded workflow file.

Configure after import

  1. Add Cortex API credentials in n8n Credentials if not already set.
  2. Check the first Cortex node uses the right Abuse Finder 3.0 analyzer ID: f4abc1b633b80f45af165970793fd4fd::Abuse_Finder_3_0.
  3. Update the URL to analyze if needed or keep the example https://n8n.io.

Test and activate

  1. Click Manual Trigger and press “Execute Workflow” to run a test.
  2. Check the output shows the Cortex job details for the URL.
  3. Toggle the workflow to Active to enable for real use.

Consider self-host n8n if you want to run this workflow on your own server.


Common mistakes to avoid

  • Wrong Cortex API credentials cause errors. Check credentials carefully.
  • Incorrect job ID reference in second Cortex node breaks job details fetching.
  • Wrong analyzer ID or observable type stops analysis from starting.

Customization ideas

  • Analyze other kinds of data like IP addresses or file hashes by changing observable type and value.
  • Use different Cortex analyzers by replacing analyzer ID for other threat checks.
  • Add notifications via email or Slack if dangerous URLs are found.

Troubleshooting common problems

Authentication failed with Cortex API

Means API key is wrong or expired.

Fix by re-entering correct API key in n8n credentials and testing connection.

JobId expression returns empty or undefined

Means the first Cortex node did not send correct job ID.

Check execution logs. Make sure _id field exists and reference {{$node["Cortex"].json["_id"]}} is correct.


Pre-production checklist

  • Confirm Cortex API credentials are active in n8n.
  • Verify Abuse Finder analyzer ID matches your Cortex setup.
  • Test with valid URLs you want to analyze.
  • Ensure nodes connect as: Manual Trigger → Cortex Analyze URL → Cortex Get Job Details.

Deployment guide

After testing, switch workflow on by toggling Active.

Use Manual Trigger to run on demand, or switch to HTTP Webhook node for automatic URL inputs.

Watch workflow logs in n8n to track successful runs and errors.


Summary and results

✓ Saves manual URL threat checking time every day.

✓ Reduces mistakes by linking job IDs automatically.

→ Gives full detailed security reports on URLs quickly.

→ Lets user react faster to malicious URL risks.


Analyze URLs with n8n and Cortex

Visit through Desktop to Interact with the Workflow.

Author
Written By
Vikash Kumar
Building AI agents, n8n workflows and end-to-end automation for 30+ Brands across India, the US, Europe, Dubai & Australia. 7+ years of Experience saving founders real hours every week - no code required.
Author
Written By
Vikash Kumar
Building AI agents, n8n workflows and end-to-end automation for 30+ Brands across India, the US, Europe, Dubai & Australia. 7+ years of Experience saving founders real hours every week - no code required.

Related Workflows

Automate Twist Channel Creation and Messaging with n8n

This workflow automates creating and updating a channel in Twist and sending a personalized message to specific users. It eliminates manual setup errors and saves time managing Twist communications.

Automate Ideogram Image Generation with Google Sheets & Gmail

This workflow automates graphic design image generation via Ideogram AI, storing image data in Google Sheets and Google Drive, with email alerts via Gmail. It saves designers hours by automating image creation, remixing, review, and record-keeping.

Automate IT Support with Slack and OpenAI in n8n

Streamline IT support by automating Slack message handling using n8n and OpenAI. This workflow handles Slack DMs, filters bots, queries a Confluence knowledge base, and delivers AI-generated responses, improving support efficiency and response time.

Automate Crypto Analysis with CoinMarketCap & n8n AI Agent

Discover how this unique n8n workflow leverages CoinMarketCap’s multi-agent AI to deliver precise, real-time cryptocurrency insights directly via Telegram. Manage crypto data analysis efficiently with automated multi-source API integration.

Automate Gumroad to Beehiiv Subscriber Sync with n8n

Learn how to automatically add new Gumroad sales customers as Beehiiv newsletter subscribers using n8n automation. This workflow saves time by syncing sales data to Google Sheets CRM and notifying your Telegram channel instantly.

Generate On-Brand Blog Articles Using n8n and OpenAI

This workflow automates the creation of on-brand blog articles by analyzing existing company content using n8n and OpenAI. It extracts article structures and brand voice to produce consistent draft articles, saving significant content creation time.
1:1 Free Strategy Session
Your competitors are already automating. Are you still paying for it manually?

Do you want to adopt AI Automation?

Every hour your team does repetitive work, you're burning real money.
While you wait, faster businesses are cutting costs and moving quicker.
AI and automations aren't the future anymore — they're the present.

Book a live 1-on-1 session where we show you exactly which of your daily tasks can be automated — and what it’s costing you not to.