Export a Workflow

Export an existing Workflow from your Catalytic team, optionally secured with a password. This method produces a File that can be downloaded and used to import the Workflow into another team.

šŸ‘

Permissions Required

You must have Find permissions to the Workflow in order to for this request to succeed.

Method Signature

export(string $id): File

Parameters

ParameterTypeDescription
$idstringThe string Id of the Workflow to export
$passwordstringOptional Password used to secure the exported file
returnsFileThe exported Workflow file

Example

<?php

/*
 * This example demonstrates exporting a Workflow from a Catalytic
 * team and downloading the export file.
 */

require_once(__DIR__ . '/vendor/autoload.php');

use Catalytic\SDK\CatalyticClient;

$catalytic = new CatalyticClient();
$file = $catalytic->workflows()->export("c9f2beec-10c0-4f2f-b4e0-1d884c7e053c");