---
title: "Create a new n8n bot instance"
method: PUT
path: "/n8n/update/:n8nId/{instance}"
tags: ["n8n Controller"]
---

# Create a new n8n bot instance

`PUT /n8n/update/:n8nId/{instance}`

## Request

- Base URL: `https://evolution-example`
- URL: `https://evolution-example/n8n/update/:n8nId/{instance}`
- Auth: API key in header `apikey`

Update bot n8n

## Path parameters

- `instance` string, required
- `n8nId` string, required

## Request body

- object
  - `enabled` boolean, required
  - `webhookUrl` string, required
  - `basicAuthUser` string
  - `basicAuthPassword` string
  - `triggerType` 'all' | 'keyword'
  - `triggerOperator` 'contains' | 'equals' | 'startsWith' | 'endsWith' | 'regex' | 'none'
  - `triggerValue` string
  - `expire` integer
  - `keywordFinish` string
  - `delayMessage` integer
  - `unknownMessage` string
  - `listeningFromMe` boolean
  - `stopBotFromMe` boolean
  - `keepOpen` boolean
  - `debounceTime` integer
  - `ignoreJids` string[]

## Response `200`

n8n bot instance created successfully

- object
  - `message` string

## Changes

- **2025-05-16** (v2) `153363ee7f38`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/evolution-foundation/apis/evolution-api-3/changes/n8n/update/:n8nId/:instance/put.md)

---

[API](https://skmtc.dev/evolution-foundation/apis/evolution-api-3.md) - [All operations](https://skmtc.dev/evolution-foundation/apis/evolution-api-3/llms.txt) - [OpenAPI document](https://skmtc.dev/evolution-foundation/apis/evolution-api-3/revisions/153363ee7f38?raw)
