MISP automation with n8n

A planning guide for teams that want MISP events, attributes and feeds handled by n8n workflows. It covers the MISP node, API key scoping, n8n licensing and queue mode, and where the work and risk sit.

On this page

How MISP automation with n8n works

Analysts on a MISP instance often repeat the same tasks: publishing events after review, adding tags that drive downstream sharing, refreshing feeds, or checking whether a new indicator is already known. Workflows can take over this repetition. The supported method in n8n is the MISP node, which calls the MISP REST API using an API key issued to a MISP user. The node covers attributes, events (including publish and unpublish), event tags, feeds, galaxies, noticelists, object search, organisations, tags, users and warninglists. Each operation maps to an API call, so the workflow runs with the permissions of the account that owns the key.

The node is a wrapper over the API, not a complete client. If an operation you need is missing from the node's list, such as a specific endpoint or a request shape the node does not expose, you will need an HTTP Request node in n8n that calls the MISP API directly, or a script outside n8n built on PyMISP. Before you design a workflow, check the node's current operations in the n8n MISP node documentation against the exact actions your analysts need, and confirm them on a test instance running the MISP version you operate. Node coverage can change between n8n releases, so record the n8n version alongside the workflow design.

Treat the API key as the main design decision. Every write a workflow makes, whether creating an event, adding a tag or publishing, is attributed to that MISP user and limited by its role and organisation. Create a dedicated automation user with the narrowest role that still permits the operations in the workflow, and confirm which actions that role allows on your instance before the first run. Publishing deserves a separate review step, because a publish action can push data to sync partners. Plan for key rotation and for disabling the key quickly if a workflow misbehaves, since n8n stores the credential and anyone with access to the n8n editor may be able to use it.

What the integration needs before the build starts

Five things have to be in place before any n8n workflow touches MISP: a supported MISP release, a self-hosted n8n instance with a settled license position, a dedicated MISP account for the workflow, network paths between the systems, and a clear list of which ticketing and chat tools the workflows will reach. Confirm each one first, because most rework in this kind of build traces back to a missing decision here.

A running MISP 2.5 instance

Start from MISP 2.5, which the project recommends for new deployments. MISP 2.4 is end of life with security fixes only, and the project strongly advises against installing new 2.4 instances, so do not build workflows against it. Record the exact patch version you run, because the n8n MISP node calls the REST API and endpoint behavior can differ between releases. Confirm with your MISP administrator which version is live in the environment where the workflows will run, and whether the test and production instances match.

MISP download page

A self-hosted n8n instance

Decide where n8n runs, who administers it, and how its credentials are stored and backed up. Workflows that hold MISP keys need the n8n encryption key protected and recorded, because losing it makes stored credentials unusable. Confirm the n8n edition you will run before design starts, since features such as SSO, environments with Git, and multi-main high availability depend on the plan.

n8n pricing page

License terms for n8n

n8n is licensed under the Sustainable Use License, which permits use for your own internal business purposes and limits distribution. Files with .ee in their name or directory need a valid n8n Enterprise License. Have legal or procurement confirm that your internal use, any shared automation you plan to offer partners, and any Enterprise-only features fit these terms before you design the integration around them.

n8n license text

A dedicated MISP workflow account

Create a separate MISP user and API key for n8n, rather than reusing an analyst's key. Assign the narrowest role that covers the operations each workflow performs, and avoid site admin rights unless a workflow must manage users. Name the account so audit logs show which automation made each change, and plan a rotation and revocation procedure before the first production run.

Network paths and trust boundaries

Map each connection the workflows need: from n8n to the MISP API, and from n8n to the ticketing and chat systems. Confirm that the MISP HTTPS endpoint is reachable from the n8n host or workers, that firewall rules and TLS certificates are trusted by n8n, and that outbound paths to chat and ticketing services are allowed by your security policy. Document which direction each flow runs, since a workflow that receives webhooks needs inbound access that a polling workflow does not.

Target ticketing and chat systems

List the ticketing and chat tools the workflows will reach, along with the API credentials and permissions each one needs. Confirm who owns each system, what fields a ticket must carry, and which MISP events should trigger a message. Agreeing these targets early keeps the workflow design tied to actual handoffs rather than to every event MISP can produce.

Configuration sequence for the n8n MISP node

This sequence takes a team from a scoped MISP key to a working n8n workflow that reads intelligence, then adds write actions and ticketing or chat only after each earlier step has been checked. Each step closes with a verifiable result so problems surface before any data leaves MISP.

  1. Create a scoped MISP user and key

    The MISP administrator creates a dedicated user for the workflow account, assigns a role that grants only the permissions the first workflows need, and generates an API key for that user. Keep the account separate from any analyst login so its activity is attributable in the logs. Confirm the role's permissions in the MISP administration interface before you copy the key. Check that the user appears in the user list with the intended organisation and role, and that a request made with the key succeeds while a request outside the role's permissions is refused. Confirm the exact role options and API key settings in your MISP version, since they vary by release.

  2. Add the MISP credential in n8n

    An n8n owner or editor creates a MISP credential in the n8n credentials panel, entering the MISP base URL that your users reach in the browser and the API key from the previous step. Use the HTTPS address of your instance, not a test address copied from documentation. Save the credential once, then avoid pasting the key into any node field or expression. Check that the credential saves without an error and that the connection test in n8n reports success. If the test fails, confirm that n8n can reach the MISP host over the network and that the certificate is trusted by the n8n server.

  3. Test a read-only tag operation

    Build a manual-trigger workflow with a single MISP node set to the tags resource and a list or get operation, then run it once from the editor. A tag listing is a low-risk read that proves the credential, the base URL and the role all work together. Review the output panel for the expected tag names and count. Compare a few returned tag names with what the MISP tag list shows in the web interface. If the call returns an authorization error, the role likely lacks the tag read permission; fix the role rather than widening it to administrator.

  4. Build one read workflow

    Add a second MISP node that searches events or attributes using a bounded filter, such as a single tag and a recent time window, and route its output to a node that counts items. Keep the workflow read-only and run it manually several times with the same filter. Confirm that the returned event count matches a search performed in the MISP interface with identical filters. Check the MISP audit log for entries from the workflow account, which shows that the reads are attributed to the scoped user as intended.

  5. Review and add the write step

    Before adding any publish, tag or unpublish operation, have a MISP administrator and the owner of the intelligence review the workflow and agree which events it may change. Add the write node to a copy of the workflow, initially with an IF node or a manual approval gate in front of it so that no event changes without a person checking the selection. Run the write against a test event created for the purpose, then inspect the event in MISP to confirm the expected tag or publish state. Confirm the change also appears in the audit log under the workflow account. Only then enable the scheduled or triggered version.

  6. Connect ticketing and chat nodes

    Add the ticketing or chat node downstream of the MISP read, mapping only the fields the recipient needs, such as an event identifier, title, tags and a link back to the MISP event, rather than the full event body. Store the ticketing and chat credentials in n8n in the same way as the MISP credential. Send the notification to a test channel or test project first. Check that one message or ticket is created per intended event, that it contains the correct identifier, and that it does not include attribute values the recipients are not cleared to see.

Choosing n8n edition and topology

A single self-hosted Community instance is the simplest starting point for a small team building a few MISP workflows. The free Community edition runs the main process, triggers, webhooks and executions on one node, so there is one service to patch, back up and monitor. It suits teams whose workflows run on modest schedules and whose tolerance for a short outage during maintenance is reasonable.

  • Licensing: The Sustainable Use License permits internal business use, so confirm that your use fits its terms before you run the instance for an organization.
  • Identity: SSO and LDAP are not part of the Community tier, so the team signs in with local accounts and manages access directly.
  • Scale limit: All executions share one process, so long bulk imports or many concurrent MISP jobs compete for the same resources.
  • Recovery: Back up the database and the encryption key together, because stored MISP credentials cannot be read without the key.
  • Upgrades: Plan a maintenance window, since the single node is also the only path for webhooks and triggers.

Before committing, confirm with n8n's pricing page which features apply to your edition and whether your planned use is internal.

Mapping MISP objects to workflow fields

This table maps the MISP event, attribute, tag, feed, warninglist and user fields that an n8n workflow reads to the ticket and chat fields they populate. Use it as a starting design, then confirm each mapping against your own taxonomy, distribution policy and to_ids rules before the workflow goes live. The main takeaway is that to_ids, distribution and tag names decide what a workflow may act on, so they should be mapped deliberately rather than passed through as they arrive.

MISP fieldTypical workflow useMapping to ticket or chat fieldDefine or confirm
Event info and event IDTicket title and referenceTicket title and a link back to the MISP eventNaming convention for events created by your team versus partner feeds
Attribute type and valueIndicator line in the ticket bodyObservable field or indicator list in the chat messageWhich attribute types your SOC accepts for ticket creation
Attribute to_idsGate for blocking or detection actionsOnly attributes with to_ids set may trigger a blocking ticketYour rule for when to_ids is true, since feeds set it differently
Attribute categoryRouting and priorityTicket category, queue or chat channelMapping from MISP categories to your queues and channels
Distribution and sharing groupDecides whether data may leave the instanceFilter before any push to external chat or ticketingWhich distribution levels may reach third-party tools
Event and attribute tagsSeverity, TLP label and taxonomy valuesTicket priority, labels or chat mention rulesExact tag names in your taxonomy and how tag logic maps to priority
Feed and warninglist statusNoise and false-positive handlingSuppress or annotate items that match a warninglistWhich feeds are trusted and which warninglists trigger suppression
User and organisationOwnership and assigneeTicket requester, assignee or chat ownerMapping of MISP user accounts to people in your ticketing system

Scoping the API key and hardening the workflow account

An n8n workflow that writes to MISP acts with whatever authority its API key carries, so the account, the key and the n8n instance around them need to be scoped together. The cards below cover the MISP side, the n8n side and the recovery material that ties them together.

Dedicated MISP user with minimal role

Create a separate MISP user for the n8n workflows rather than reusing an analyst or administrator account. Assign the lowest role that still lets each workflow do its job, such as reading events for a ticketing sync or adding attributes for an enrichment step. Review the role's permissions in MISP before go-live, because a broad role turns a misconfigured workflow into a broad change to shared intelligence.

Separate keys for read and write

Issue one key for workflows that only query MISP and a different key for workflows that create events, add attributes or publish. Read-only jobs such as ticket enrichment should never hold a key that can alter data. If a read key leaks from a chat integration, the exposure is limited to what it can already see.

Key rotation and revocation

Set a rotation schedule for each workflow key and record which n8n credential uses it, so a rotation updates the right workflow. Test the sequence once in a staging instance: create the new key, update the n8n credential, run a test execution, then revoke the old key. Confirm with your own change process how emergency revocation is triggered when an employee who built a workflow leaves.

Keys stored only in n8n credentials

Enter the MISP key only in n8n's credential store, never in workflow expressions, node parameters, sticky notes or exported JSON. Anyone who can open a workflow should not be able to read the key. Check exported workflow files and version history before sharing them with other teams.

Restricting who can edit workflows

Limit workflow editing to a small group of named builders and give others view or run access only. A workflow that can call the MISP node can publish or delete intelligence, so edit rights are effectively write rights to MISP. Confirm which n8n plan includes the access controls you need before you design around them, since SSO and environment features are limited to the Business and Enterprise plans.

Protecting and backing up the instance key

n8n encrypts stored credentials with the instance encryption key, so a database backup without that key cannot recover the MISP key, and anyone who obtains both can. Keep the key in a secrets manager with restricted access, back it up separately from the database, and record how it is restored. In queue mode, every worker and webhook processor must receive the same key.

Logging actions taken by the workflow account

Use MISP's own audit logging to attribute every event, attribute and tag change to the workflow user, and review those entries on a schedule. Pair this with n8n execution history so each MISP change can be traced to a specific workflow run. Ask your MISP and n8n administrators which logs are retained, for how long and where they are shipped.

What n8n licensing means for a MISP workflow

n8n's license decides whether your MISP workflows can run in your organization at all. n8n is licensed under the Sustainable Use License, which allows use or modification only for your own internal business purposes or for non-commercial or personal use. Distribution is allowed only free of charge and only for non-commercial purposes. For a MISP workflow that moves intelligence between your SOC, ticketing and chat tools, internal use is the usual case, but a partner or managed service provider that runs the automation for several customers should read the license text closely before building on it. Any files with .ee in their name or directory fall outside that license and require a valid n8n Enterprise License, so confirm that your deployment does not depend on them.

n8n offers several plans, and the choice depends on where the instance runs and which features you need. The free self-hosted Community edition has no fee for the software. The cloud Starter and Pro plans are listed at 20 euros and 50 euros per month billed annually. The Business plan is listed at 667 euros per month billed annually and is currently self-hosted only. Enterprise is priced on request for self-hosted or cloud. n8n states that every plan includes unlimited users, workflows and integrations, and that SSO and LDAP, Git-based environments and log streaming are limited to Business and Enterprise. Multi-main high availability is restricted to Enterprise self-hosted deployments. If your MISP automation needs SAML single sign-on for the people who build workflows, the Business tier is the lowest listed option that includes it.

Execution counting also affects cost. n8n counts one execution as one run of a whole workflow, regardless of how many steps it contains, so a MISP enrichment flow that queries events, adds tags and posts to chat in one run counts once. Ask n8n to confirm in writing which plan, license terms and execution limits apply to your organization, how the Community edition's terms apply to your internal use, and whether any .ee components are part of your planned build. Record that answer alongside your MISP data classification decision, because the license and plan you choose determine who can administer the automation platform that holds MISP credentials.

How MISP, n8n and downstream tools exchange data

The flow starts with a trigger source such as a schedule, webhook or ticket event, which reaches the n8n main instance. The main instance hands executions to queue workers, and the workers call the MISP API with a dedicated key. Only that key sits inside the trust boundary around MISP, so ticketing and chat endpoints receive filtered results, never the credential. Check which key scopes each workflow uses and that workers can read the shared encryption key they need.

Data moves from triggers through n8n workers to MISP, with the scoped key bounding access.

Common n8n to MISP failures and their fixes

This table lists the failures teams most often hit when n8n workflows call MISP, with the likely cause and fix for each. Rows marked as needing MISP-side confirmation should be checked in the MISP instance itself, not only in n8n, before changing the workflow.

FailureLikely causeFixNeeds MISP-side confirmation
401 unauthorized from the MISP nodeThe API key is missing, copied incorrectly, expired or revoked, or the MISP URL in the credential points to the wrong instance.Create a new key for the workflow account in MISP, store it in an n8n credential, and test the credential against a read-only operation before enabling the workflow.Yes, confirm the key is active and belongs to the intended user
403 forbidden on event or attribute writesThe workflow account's role lacks permission for the operation, such as adding attributes, tagging or publishing.Assign the workflow account a role that grants only the write actions the workflow needs, then retest each operation separately.Yes, confirm the role permissions and the organisation scope of the user
Publish step fires on unreviewed dataThe workflow publishes events directly after creation, so new or imported intelligence reaches sync partners before an analyst reviews it.Create events unpublished, add a review step or tag such as a pending-review marker, and publish only after an approved trigger or human action.Yes, confirm which sharing communities receive synchronised events
Warninglist hits ignoredThe workflow sets to_ids on values that match warninglists, such as common benign domains or public resolvers, and pushes them to detection tools.Query warninglist matches before publishing, route hits to review, and keep to_ids false for matched values unless an analyst confirms them.Yes, confirm which warninglists are enabled on the instance
Timeouts or slow responses on large searchesUnbounded restSearch queries return large result sets, and the n8n execution waits on one long request.Narrow the search with time windows and tag filters, paginate the results, and split the work across smaller scheduled runs.Yes, confirm the instance's response limits and the server capacity available for API calls
Credentials fail after an encryption key change in queue modeWorkers and webhook processors do not hold the same encryption key as the main instance, so stored credentials cannot be decrypted.Restore the original encryption key to the main instance and every worker and webhook processor, then restart the services and re-test one MISP credential.No, this is resolved on the n8n side
Webhook URLs unreachable behind a proxyThe n8n webhook base address does not match the public address the proxy exposes, or the proxy strips or blocks the webhook path.Set the external webhook URL in n8n to the public address, configure the reverse proxy to forward the webhook path, and test with an external request.No, this is resolved on the n8n and proxy side
Silent duplicate events from retried runsA failed step is retried after the event was already created, so the same event or attributes are written twice.Check for an existing event by its unique info or UUID before creating, and make retried steps idempotent.Yes, confirm how the instance handles duplicate event information

Questions buyers ask before automating MISP with n8n

How much does it cost to automate MISP with n8n?

Cost is driven by who builds the workflows, which n8n edition you run, and how many workflows need ongoing care. The n8n Community edition is free to self-host, and the pricing page lists Starter and Pro cloud plans at 20 euros and 50 euros per month billed annually, a Business plan at 667 euros per month billed annually that is currently self-hosted only, and Enterprise at custom pricing. Cloud plans would move your workflow execution outside your infrastructure, which many MISP operators will not accept for threat data. Your largest cost is usually labor: scoping, building, testing and maintaining the workflows. Ask any partner for a fixed-scope quote that lists the workflows, the MISP and ticketing or chat systems involved, the number of environments, and the handover documentation.

How long does an n8n automation project for MISP take?

Duration depends on the number of workflows, the systems they touch, and how quickly your team can review and approve changes. A small set of read-only workflows, such as pulling new events into a chat channel, is much shorter than a set of write-back workflows that create events, add tags or publish data into MISP. Each MISP connection needs an API key scoped to the workflow account, so access reviews and test runs against a non-production MISP instance add time. No duration is given here because none was supplied for this scope. Ask for a written timeline tied to the agreed workflow list and a testing stage in a staging MISP.

What does our team need to provide before the work starts?

You will need a working MISP instance you can reach from n8n, a non-production copy for testing, and named owners for the MISP organisation, the ticketing system and the chat tool. Your MISP admin must create dedicated user accounts and API keys for each workflow, with roles that match what the workflow does. You also need a list of the events, tags, feeds or warninglists the automation will touch, and rules for what may be published automatically. Provide access to the n8n host or a staging n8n instance, and a decision on where credentials are stored and who holds the encryption key.

Can our analysts build these n8n workflows without outside help?

Analysts who already understand MISP events, attributes, tags and to_ids can build simple read-only workflows in n8n, because the MISP node exposes operations for attributes, events, tags, feeds, galaxies, noticelists, objects, organisations, tags, users and warninglists. Write operations need more care. Publishing events, changing tags and managing users can affect partner sharing, so these should be reviewed by someone who knows your sharing rules and distribution levels. Outside help is most useful for designing the scoped API accounts, setting up a hardened n8n host, building error handling, and reviewing workflows before they touch production. Many teams split the work: internal analysts own the logic, and a specialist owns the platform and security review.

Which parts of an n8n and MISP automation need outside expertise?

The parts that most often need specialist help are the platform and the security controls around it. These include deploying n8n with queue mode if you need scale, managing the encryption key shared with worker and webhook processors, and deciding whether high availability is required. Note that multi-main setup, which runs several main instances for high availability, is restricted to Enterprise self-hosted deployments. Other areas are API key scoping, network placement between n8n and MISP, logging of workflow actions, and testing that a workflow cannot publish or delete data it should not. Engage a specialist before any workflow writes to a sharing community.

What licensing terms apply to n8n when we use it with MISP?

n8n is fair-code software under the Sustainable Use License, which permits use or modification for your own internal business purposes or for non-commercial or personal use, and distribution only free of charge for non-commercial purposes. Internal use to automate your own MISP work fits within that grant, but you should confirm your exact use with your legal team, especially if you plan to offer workflows to customers or other organisations. Files with .ee in their name or directory are not covered by that license and require a valid n8n Enterprise License, so features in those files need an Enterprise agreement. MISP itself is licensed under the GNU AGPL version 3, which is a separate question covered by the MISP buyer's guide.

What changes in the automation when MISP is upgraded?

Each MISP upgrade can change API behaviour, field names, available endpoints or the way the MISP node in n8n reads and writes data, so workflows must be retested after every upgrade. MISP 2.5 is the recommended line for new deployments, and MISP 2.5.47, released on 17 September 2026, introduced a new database migration system with PostgreSQL support. Plan a staging upgrade, rerun your workflows against the staging instance, check the n8n node version against the MISP release notes, and confirm that API keys still have the scope they need. Keep a record of the workflow version that was tested with each MISP version, and ask your partner for an upgrade runbook.

How do we scope the API key that n8n uses to reach MISP?

Create a dedicated MISP user for each workflow group, assign the lowest role that supports the operations it performs, and generate a separate API key for it. Read-only workflows should use a key that cannot create, edit or publish events. Write workflows should be limited to the specific tags or organisations they need, and publishing should be restricted to a small number of reviewed flows. Store each key as an n8n credential, rotate keys on a schedule, and disable the account when a workflow is retired. Log which workflow account made each change so that problems can be traced back to a single automation.

How DeployOpen scopes and delivers MISP automation

DeployOpen plans n8n workflows against your MISP instance as a fixed-scope piece of work, with the API account, workflow boundaries and handover agreed in writing before the build starts. The result is a set of documented, tested workflows that your own team can run, change and review inside infrastructure you control.

How we scope

  • Map each workflow to the MISP node operations it needs, such as event creation, tagging, publishing or feed updates.
  • Define which ticketing and chat systems receive MISP data, and which direction each connection flows.
  • Agree the written scope, deliverables and timeline before work starts, with support available as a retainer afterward.

How we build

  • Create a dedicated MISP workflow account with API key permissions limited to the operations each workflow performs.
  • Store credentials in n8n's encrypted credential store and confirm the encryption key handling for any queue mode workers.
  • Test each workflow against a non-production MISP instance, including failure paths, duplicate events and publish actions.

How we hand over

  • Document each workflow's trigger, inputs, MISP operations, outputs and the owner responsible for changes.
  • Record the n8n license terms, edition and hosting model so your legal and procurement teams can review them.
  • Walk your operators through monitoring, failed execution handling and how to rotate the workflow's API key.

How we support

  • Review workflows when your MISP version or n8n release changes, so node behavior stays matched to both.
  • Retest publish, tagging and sharing paths after changes to access rules, distribution settings or connected tools.
  • Offer ongoing support, upgrades and continuous testing as a retainer covering the workflows delivered.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.