TypeDoc API
    Preparing search index...

    Function parseWorkflowJSON

    • Converts a workflow JSON exported from n8n into an n8n-compose configuration.

      Parameters

      • wf: IWorkflowBase

        The workflow JSON object to convert.

      Returns Promise<WorkflowJson<NodeBase<string>[]>>

      A promise that resolves to a WorkflowJson object compatible with n8n-compose.

      If the workflow is not valid or cannot be converted.