---
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}`

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

---

[API](https://skmtc.net/evolution-foundation/apis/evolution-api-2.md) · [All operations](https://skmtc.net/evolution-foundation/apis/evolution-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/evolution-foundation/evolution-api-2/revisions/153363ee7f38/schema)
