- Home
- Resources
- Integrations
- Elastic Security
Elastic Security n8n integrationAutomate Elastic Security with n8n.
Can a workflow open, comment and close an Elastic Security case on its own? It can. The Elastic Security n8n integration ships 14 operations over 4 resources: cases, case comments, case tags and connectors. No trigger node comes with it, so the run starts somewhere else and the node does the writing.
Verified Trustpilot reviews · AI, automation & growth agency
What does the Elastic Security n8n integration actually do?
It wires the case management side of Elastic Security into the rest of your tooling. One node, 4 resources, 14 operations: create and update cases, read them back, attach or edit comments, add and remove tags, and register a connector toward Jira, ServiceNow ITSM or IBM Resilient. Nothing here watches for changes on its own, so another node has to start the run.
Start with the reporting angle, because it is the fastest win. Get many cases reads the case list with a Status filter and a sort key, and the items land in a Google Sheets tab or straight into a Slack message. Run it on a Schedule Trigger, the n8n node that fires on a fixed interval, and the weekly triage list writes itself.
The second pattern moves in the other direction. A ticket changes state in your own database, and the workflow answers by posting a comment on the matching case. Read the row with Postgres, map the case identifier into Case ID, and Add a comment to a case leaves the trace where analysts will see it. Same idea with tags: Add a tag to a case marks everything that came from an automated path.
Third, connectors. Create a connector registers the third-party system that Elastic Security cases can be pushed into, and it takes the credentials of that system, not of Elastic. Doing it from a workflow is useful when several deployments need the same connector set up the same way.
When an endpoint sits outside these 14 operations, the HTTP Request node calls it directly and reuses the same credential through predefined authentication. That is the normal route, not a workaround, and it keeps one set of secrets for the whole workflow.
One thing to plan for: pagination. Return All chains the API pages and brings back every case or every comment. Leave it off and the node stops at the number you set in Limit, which is fine for a preview and wrong for an export. If you are still weighing platforms before you build any of this, the n8n review goes through the trade-offs.
How do you connect Elastic Security to n8n?
- 01
Get the deployment ready
Two prerequisites before n8n sees anything: an Elastic Security account, and a deployed application. Without a live deployment there is no endpoint to point the credential at, and the node has nowhere to send its calls. If someone else runs the deployment, this is the moment to ask them for access rather than halfway through building the workflow.
- 02
Pick basic auth or an API key
The credential supports two methods. Basic auth takes a Username and a Password, the same pair you log into Elasticsearch with. The other route is an API Key, created for that same account from the Elasticsearch key documentation. A credential in n8n is a saved set of secrets: you fill it once under Credentials, then every Elastic Security node picks it from a dropdown.
- 03
Copy the Base URL out of the deployment
Both methods also need the Base URL, the endpoint of your Elasticsearch application. Choose Manage this deployment in Elasticsearch, open the Applications section, copy the Elasticsearch application endpoint, and paste it into the n8n credential. Save, and the node is ready to run against that deployment.
The 14 operations, one by one
The Elastic Security node exposes 14 operations across 4 resources. For each one: the node as you configure it in n8n, the required fields, and our field notes.
| Resource | Create | Get | Get Many | Update | Delete | Add | Remove | Get Status |
|---|---|---|---|---|---|---|---|---|
| Case | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ||
| Case Comment | ✓ | ✓ | ✓ | ✓ | ✓ | |||
| Case Tag | ✓ | ✓ | ||||||
| Connector | ✓ |
Operations index
Case
6 operationsCreate a case
case.createWhat you see in n8n
Notes & use cases
Opens a new case in Elastic Security and hands the created record to the next node.
Key parameters
- Title: what analysts read in the case list, so make it specific.
- Connector Name or ID: pick it from the list, or pass an ID with an expression, the n8n formula written
{{ $json.field }}. - Connector Type:
.jira,.servicenowor.resilient. It decides the rest of the form: Issue Type and Priority for Jira, Urgency, Severity, Impact, Category for ServiceNow ITSM, Issue Types and Severity Code for IBM Resilient. - Additional Fields: Description, Owner, Sync Alerts.
Delete a case
case.deleteWhat you see in n8n
Notes & use cases
Deletes the case whose identifier you pass, and only that one. Nothing is returned to reuse afterwards, so put any lookup before this node, never after.
Key parameters
- Case ID: the identifier of the case to delete. Usually it comes from a previous node as
{{ $json.field }}rather than being typed in by hand.
Get a case
case.getWhat you see in n8n
Notes & use cases
Reads one case back and pushes its data into the workflow, which is how you check the current state before deciding what to do next.
Key parameters
- Case ID: the identifier of the case to read. An IF node placed right after this one can branch on what came back.
Get many cases
case.getAllWhat you see in n8n
Notes & use cases
Lists cases and sends them on as separate items, one per case, which makes it the entry point for every reporting or bulk workflow.
Key parameters
- Return All: on, n8n walks the API pages and brings back every case; off, it stops at Limit.
- Status in Filters:
open,in-progressorclosed. - Tag Names or IDs: pick tags from the list, or pass IDs with an expression.
- Sort Key and Sort Order:
createdAtorupdatedAt,ascordesc.
open, sorted by createdAt ascending so the oldest one is at the top of the message.Get the status of a case
case.getStatusWhat you see in n8n
Notes & use cases
Retrieves a summary of all case activity instead of a single case. There is nothing to configure: the operation takes no parameters, so drop the node in and run it.
Update a case
case.updateWhat you see in n8n
Notes & use cases
Edits a case that already exists. Only the fields you add to the collection are touched, the rest of the case stays as it was.
Key parameters
- Case ID: which case to edit.
- Update Fields: Title, Description, Status among
open,in-progressandclosed, Sync Alerts, and Version.
closed and rewrites the Title with the resolution, so the case list reads like a log.Case Comment
5 operationsAdd a comment to a case
caseComment.addWhat you see in n8n
Notes & use cases
Posts a comment on a case, which is where automated context belongs: what the workflow found, where it looked, what it did next.
Key parameters
- Case ID: the case that will hold the comment.
- Comment: the text itself, often built from earlier nodes.
- Simplify: on, the node returns a trimmed response instead of the raw payload.
- Owner in Additional Fields: a valid application owner registered in the Cases role based access control system.
Get a case comment
caseComment.getWhat you see in n8n
Notes & use cases
Fetches one specific comment rather than the whole thread, which keeps a workflow small when it already knows which comment it cares about.
Key parameters
- Case ID: the case containing the comment to retrieve.
- Comment ID: the comment itself. Both are identifiers, not text you can guess, so they normally arrive from a previous node.
Get many case comments
caseComment.getAllWhat you see in n8n
Notes & use cases
Walks through the comments attached to one case and outputs them as separate items, so the next node can loop over the thread.
Key parameters
- Case ID: the case whose comments you want. Required here, unlike the case listing, because comments only exist inside a case.
- Return All: on for the full thread; off, the node stops at Limit.
Remove a comment from a case
caseComment.removeWhat you see in n8n
Notes & use cases
Takes one comment off its case. The case itself is untouched, only the comment goes.
Key parameters
- Case ID: the case containing the comment to remove.
- Comment ID: which comment to drop.
Update a comment from a case
caseComment.updateWhat you see in n8n
Notes & use cases
Replaces the text of a comment that is already on a case, rather than stacking a correction underneath it.
Key parameters
- Case ID and Comment ID: which comment to edit.
- Comment: the text that replaces the current comment message. It overwrites, so build the full new text upstream.
- Simplify: on for a trimmed response.
Case Tag
2 operationsAdd a tag to a case
caseTag.addWhat you see in n8n
Notes & use cases
Attaches one tag to a case. Tags are what make the case list filterable later, so this operation pays off in the reporting workflows, not in itself.
Key parameters
- Case ID: the case to tag.
- Tag Name or ID: the tag to attach. Choose it from the list, or specify an ID using an expression when the value is computed upstream.
Remove a tag from a case
caseTag.removeWhat you see in n8n
Notes & use cases
Pulls a tag back off a case, which is how a workflow retires a label once it no longer describes the case.
Key parameters
- Case ID: the case to untag.
- Tag Name or ID: choose from the list, or specify an ID using an expression.
Connector
1 operationCreate a connector
connector.createWhat you see in n8n
Notes & use cases
Registers the third-party system that Elastic Security cases can be sent into. Connectors cover ServiceNow, Jira and IBM Resilient only.
Key parameters
- Connector Name and Connector Type:
.jira,.servicenowor.resilient. - API URL: the URL of the third-party instance.
- Email, API Token and Project Key: the Jira registered email, its API token and the project key.
- Username and Password: the ServiceNow ITSM account.
- API Key ID, API Key Secret and Organization ID: the IBM Resilient side.
Need help automating Elastic Security with n8n?
A person reads every message.
Questions people ask next
01Is the Elastic Security n8n integration free?
02What credentials do you need to connect Elastic Security to n8n?
03What are the limits of the Elastic Security node in n8n?
04Is there an Elastic Security trigger in n8n?
05n8n or Make for Elastic Security?
Get our weekly integration tips.
No spam. Unsubscribe anytime.



