Interface FlowInstance

interface FlowInstance {
    id: string;
    userId: string;
    user?: Customer;
    connectionId?: string;
    connection?: Connection;
    flow?: Flow;
    flowId?: string;
    universalFlowId?: string;
    integrationId: string;
    integration?: Integration;
    instanceKey?: string;
    name: string;
    parameters?: any;
    parametersSchema?: DataSchema;
    nodes?: Record<string, FlowInstanceNode>;
    enabled: boolean;
    createdAt: string;
    updatedAt: string;
    dependencies?: IntegrationElementInstance[];
    state?: WorkspaceElementState;
    outdated?: boolean;
    customized?: {
        name?: boolean;
        nodes?: boolean;
    };
}

Properties

id: string
userId: string
user?: Customer
connectionId?: string
connection?: Connection
flow?: Flow
flowId?: string
universalFlowId?: string
integrationId: string
integration?: Integration
instanceKey?: string
name: string

This flow's unique user-readable name.

parameters?: any

This flow's parameters. Can be used as variables in nodes.

parametersSchema?: DataSchema

Schema of parameters the flow accepts. Copied from FlowBlueprint

nodes?: Record<string, FlowInstanceNode>

Dictionary of flow's nodes: :

enabled: boolean

Whether the flow is enabled (i.e. triggers are active)

createdAt: string
updatedAt: string

List of dependencies.

outdated?: boolean
customized?: {
    name?: boolean;
    nodes?: boolean;
}

customization details.

Type declaration

  • Optionalname?: boolean
  • Optionalnodes?: boolean

    added or removed nodes.