Import Workflows

Import a Workflow into your Catalytic team using a .catalytic file, created by the Export Workflows method or via the Catalytic WebApp. This method returns the newly created Workflow.

Method Signature

Workflow Import(FileInfo importFile, string password = null);
async Task<Workflow> ImportAsync(FileInfo importFile, string password = null);


importFileFileInfoThe Workflow export file to use to create the Workflow
passwordstringOptional Password used to secure the export file
returnsWorkflowThe imported Workflow


 * This example demonstrates importing a Workflow from a password-secured  
 * `.catalytic` Workflow export file.
using Catalytic.Sdk.Entities;
using System.IO;

namespace Catalytic.Sdk.Examples
    class Program
        static void Main(string[] args)
            var catalytic = new Catalytic.Sdk.CatalyticClient(Credentials.Default);
            var importFile = new FileInfo("/path/to/export/file.catalytic");
            var password = "my-export-password";
            var workflow = catalytic.Workflows.Import(importFile, password);