← All N8N workflows
Automation & utilitiesCodeExecute CommandExtract From FileFilterForm

Workflow Importer

Configured with Execute Command, Extract From File, Filter, Form, and additional nodes. Review the connections and setup before adapting this template.

Workflow preview
TransformExtract from FileExtract From FileCodeExport CredentialsExecute CommandFiles / mediaGet Credentials DataRead Write FileTransformBinary to JSONExtract From FileTransformMergeMergeTransformCollect Credentials toReplaceMergeTransformSettingsEdit FieldsCodePrepare Request DataCodeWeb / APIGet WorkflowsHTTP RequestRoutingNo OperationNo OpRoutingDetermine WorkflowSourceIfIntegrationError1FormIntegrationErrorFormTransformSplit Out WorkflowsSplit OutCodeGet Workflow NamesCodeTransformSort by updatedAt DESCSortRoutingNo Operation1No OpTransformRename KeysRename KeysIntegrationCreate WorkflowN8NIntegrationUpload FileFormIntegrationChoose WorkflowFormIntegrationSuccessFormIntegrationChoose InstanceFormTriggerOn form submissionForm TriggerCodeGenerate InstanceOptionsCodeCodeGet Selected WorkflowCodeTransformSplit Out NodesSplit OutRoutingFilter Out Nodes HavingCredentialsFilterTransformExtract CredentialsEdit FieldsTransformRemove DuplicateCredentials by NameRemove DuplicatesIntegrationMap CredentialsFormCodeGet SelectedCredentialsCodeTransformAdd Old NamesEdit FieldsCodeReplace Credentials inWorkflowCodeCodeGenerate CredentialOptionsCodeIntegrationCreate EmptyCredentialsN8NCodeGet Missing CredentialsCode

Node categories in this workflow

  • Transform
  • Code
  • Files / media
  • Web / API
  • Routing
  • Integration
  • Trigger

Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.

Drag to pan; use + and − to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.

How it works

The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.

Workflow node names, types, and operations
NodeCategoryTypeOperation
Extract from FileTransformExtract From FilefromJson
Export CredentialsCodeExecute CommandSee node parameters
Get Credentials DataFiles / mediaRead Write FileSee node parameters
Binary to JSONTransformExtract From FilefromJson
MergeTransformMergeSee node parameters
Collect Credentials to ReplaceTransformMergeSee node parameters
SettingsTransformEdit FieldsSee node parameters
Prepare Request DataCodeCodeSee node parameters
Get WorkflowsWeb / APIHTTP RequestSee node parameters
No OperationRoutingNo OpSee node parameters
Determine Workflow SourceRoutingIfSee node parameters
Error1IntegrationFormcompletion
ErrorIntegrationFormcompletion
Split Out WorkflowsTransformSplit OutSee node parameters
Get Workflow NamesCodeCodeSee node parameters
Sort by updatedAt DESCTransformSortSee node parameters
No Operation1RoutingNo OpSee node parameters
Rename KeysTransformRename KeysSee node parameters
Create WorkflowIntegrationN8Ncreate
Upload FileIntegrationFormSee node parameters
Choose WorkflowIntegrationFormSee node parameters
SuccessIntegrationFormcompletion
Choose InstanceIntegrationFormSee node parameters
On form submissionTriggerForm TriggerSee node parameters
Generate Instance OptionsCodeCodeSee node parameters
Get Selected WorkflowCodeCodeSee node parameters
Split Out NodesTransformSplit OutSee node parameters
Filter Out Nodes Having CredentialsRoutingFilterSee node parameters
Extract CredentialsTransformEdit FieldsSee node parameters
Remove Duplicate Credentials by NameTransformRemove DuplicatesSee node parameters
Map CredentialsIntegrationFormSee node parameters
Get Selected CredentialsCodeCodeSee node parameters
Add Old NamesTransformEdit FieldsSee node parameters
Replace Credentials in WorkflowCodeCodeSee node parameters
Generate Credential OptionsCodeCodeSee node parameters
Create Empty CredentialsIntegrationN8Ncredential
Get Missing CredentialsCodeCodeSee node parameters

Setup

  1. Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
  2. Connect your own credentials through n8n’s credential store. Replace REPLACE_WITH_* values with your resource identifiers.
  3. Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
  4. Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.

Requirements

An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.

Credential types declared in the source

  • n8nApi

Workflow notes

Setup instances

Setup instances

Each instnce requires a name, apiKey and baseURL

Instances config example

Instances config example

[
  {
    "name": "n8n-test",
    "apiKey": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
    "baseUrl": "https://n8n-test.example.com/api/v1"
  },
  {
    ...
  }
]
Sticky Note7

A form which collects the source option. Consider securing the form using Basic Auth.

Sticky Note8

Switch between the available options

Map Credentials

Map Credentials

Being mapped by name since one workflow can have multiple credentials of the same type.

Sticky Note10

Prepare a list of options for the next form

Sticky Note11

Request more input from the user

Sticky Note

Map Settings to selected instance and retrieve all workflows from it

Sticky Note13

Let the user choose a workflow from a list

Sticky Note14

Retrieve all credentials from this instance and convert the data to the final JSON format

Sticky Note15

Convert the retrieved workflow into the final JSON format

Sticky Note16

Combine the workflow and credential data to one item

Sticky Note17

Extract a list of all credentials from the workflow. The reference will be the old/existing name of the credential, since one workflow can contain multiple credentials of the same type.

Sticky Note18

Let the user map every credential or create new ones

Sticky Note20

Split mapped credentials into two streams, depending on wether they exist or not

Sticky Note21

Create empty credentials if the option "[create credential]" was selected. and add the name of the originally assigned credential for future reference

Sticky Note22

Gather all new credential data and update the workflow accordingly. The oldName is being used as a reference during the search.

Sticky Note23

Create the updated workflow on this instance

Sticky Note24

Provide feedback to the user wether the process was successful or not

Workflow Importer

Workflow Importer

Purpose and structure

This folder contains the Workflow Importer workflow. Its executable nodes use code, executeCommand, extractFromFile, filter, form, formTrigger, httpRequest, if, merge, n8n, noOp, readWriteFile, removeDuplicates, renameKeys, set, sort, splitOut. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.

Setup

Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.

Entry points

On form submission

Verification

Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.

Attribution

https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Splitout/1169_Splitout_Code_Import_Webhook.json MIT; preserve source notices.

More in Automation & utilities