Skip to content

Import API ignores workflow “settings” object #15835

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
michaelgorskiBS24 opened this issue May 29, 2025 · 1 comment
Open

Import API ignores workflow “settings” object #15835

michaelgorskiBS24 opened this issue May 29, 2025 · 1 comment
Labels
in linear Issue or PR has been created in Linear for internal review

Comments

@michaelgorskiBS24
Copy link

Bug Description

Describe the bug

When a workflow is imported via /v1/workflows/import, any settings included in the JSON payload are not applied.
Only the nodes are updated, leaving the existing workflow settings untouched.


To Reproduce

  1. Have an existing workflow in n8n (e.g., ID 42) with default settings.
  2. Prepare an export JSON that changes some settings:
    {
      "name": "My Workflow",
      "nodes": [/* … */],
      "settings": {
        "timezone": "Europe/Berlin",
        "executionTimeout": 300,
        "errorWorkflow": "errorHandler"
      }
    }
    
    

To Reproduce

  1. Export a workflow, change a value in its settings (e.g. timezone).
  2. POST the file to /v1/workflows/import.
  3. Open the workflow → nodes updated, settings still unchanged.

Expected behavior

unable to import workflow with setting with the n8n api

Operating System

22.04

n8n Version

1.94.1

Node.js Version

18.16.0

Database

SQLite (default)

Execution mode

main (default)

@Joffcom
Copy link
Member

Joffcom commented May 29, 2025

Hey @michaelgorskiBS24,

We have created an internal ticket to look into this which we will be tracking as "GHC-2239"

@Joffcom Joffcom added the in linear Issue or PR has been created in Linear for internal review label May 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in linear Issue or PR has been created in Linear for internal review
Projects
None yet
Development

No branches or pull requests

2 participants