Catalytic for Developers

Welcome, developers

Catalytic speaks your language. Our developer tools allow you to code, customize and create more with our platform.

Get Started    

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);

Parameters

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

Example

/*
 * 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);
          
        }
    }
}

Updated 6 months ago

Import Workflows


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.