Knowledge Base - Smart Flows
Breadcrumbs

Managing Flows

Managing Flows in Smart Flows enables users to create, configure, and control the document generation process through the Project Console and Flow Builder. Users with the appropriate permissions can define flow logic, connect flow blocks using linked fields, and determine how outputs are structured and shared with downstream systems. Features such as Flow Output and linked fields provide flexibility for passing data between flow steps and external applications. Understanding these capabilities helps users build efficient, reusable, and well-structured automation workflows.

The Flows List

To open the flows list, in Project Console, select Flows. The flows list shows the flows in your project. From the flows list, you can create and manage flows, and find flows by using filters and tags. For general information about list views, such as selecting, sorting, and paging, see User Interface Overview | The List View.

Columns

By default, the flows list shows the following columns:

  • Name

  • Description

  • Template

  • Primary entity

  • Flavor - Where the flow gets its data: the connector type, such as Salesforce.com, Smart Flows if the flow does not use a data set, or Another program if the flow uses a data set that is not provided by a connector.

  • Type - Simple or Advanced.

To show or hide columns, select the columns icon on the right side of the action bar, and then select or clear the columns in the Columns panel. The following columns are also available: Created on, Created by, Modified on, Modified by, Tags: Categorisation, and Tags: Flow visibility.

Actions

The action bar of the flows list contains the following actions.

Action

Description

Create

Creates a flow. For more information, see Creating a Flow.

Clone

Creates a copy of the selected flow. Enter a name and a description for the copy. Available when one flow is selected.

Edit

Opens the basic settings of the selected flow. Available when one flow is selected.

Build

Opens the selected flow in the Flow Builder. Available when one flow is selected.

Tag

Applies Categorization and Flow Visibility tags to the selected flows. Available when one or more flows are selected. For more information, see Tags.

Export

Exports the selected flows. Available when one or more flows are selected. For more information, see Exporting and Importing Items.

Delete

Deletes the selected flows. Available when one or more flows are selected.

Filter

Shows or hides the column filters and the Filter panel. For more information, see Filter the List.

Browse

Shows or hides the Browse panel. For more information, see Browse Flows by Tag.

Columns icon

Opens the Columns panel, where you select the columns to show.

Refresh icon

Reloads the flows list.

You can also select the name of a flow to open the flow in the Flow Builder, or select the name of a template to open the basic settings of the template.

Filter the List

Select Filter to show a filter row under the column headers and to open the Filter panel.

In the filter row, you can filter by the following columns:

  • Name, Description, Template, Primary entity, Created by, and Modified by - Enter text.

  • Type - Select Simple or Advanced.

The Filter panel contains the following filters:

  • Flow Visibility tags - Select a tag group, and then select a tag. The list shows only the flows that have the selected tag.

  • Flavor - Select one or more flavors. Smart Flows and Another program are always available. Connector flavors are available only for the connector types that are available in your project.

  • Steps - Select one or more flow blocks. The flow blocks are grouped by category. The list shows only the flows that contain all selected flow blocks. Deprecated flow blocks are not available in the Steps dropdown.

To clear all filters, select Reset in the Filter panel. When you select Filter again to close the filters, the filters are also cleared. If the Browse panel is open, the tag selected in Browse is kept.

Browse Flows by Tag

Select Browse to open the Browse panel. The Browse panel lists the Categorization tag groups and their tags, with the number of flows for each tag. Flow Visibility tags are not shown in the Browse panel. For more information, see Tags.

  • Select All to show all flows.

  • Select a tag group to show the flows that have a tag from this group.

  • Select a tag to show the flows that have this tag. Select the tag again to show all flows.

  • Select Untagged to show the flows that have no Categorization tags. Untagged is shown only if such flows exist.

  • Select Pin on a tag to show the tag at the top of the panel. Select Unpin to remove it from the top.

  • By default, tags that are not used by any flow are hidden. Select Show unused tags to show them, or Hide unused tags to hide them again.

Your selection in the Browse panel is kept when you reload the page. You can open the Browse and Filter panels at the same time and resize the side panel.

Creating a Flow

A flow is the logical sequence of steps a user defines to generate a document. Users can define and run their flows using the Smart Flows Project Console. To create flow, a user needs the security role of Administrator or Designer. This page describes the steps to create a flow in Project Console.

Steps for creating a flow

Note: You can also access the Flows section by clicking on the Flows tab in the Navigation Bar.

  1. In Project Console, select Flows > Create.

  1. In the Name field, input the name of the flow.

  2. (Optional) In the Description field, input a description for the flow.

  3. In the dropdown menu, select the Template you want to use for your flow.

    If the template uses a data set from a connector, the Primary entity field is shown. The template uses the primary entity to extract data from the data set. If the data set has one primary entity, it is selected automatically. If there are several, select the primary entity.

    Primary entity.png

Decision Point

The Relevant output and delivery blocks field is empty by default. You can select the output and delivery blocks here, or add them later in the Flow Builder.

  1. (Optional) From the Relevant output and delivery blocks dropdown menu, select the output and delivery blocks to add to the flow. If the flow type is Simple, blocks that are available only for Advanced flows are not listed.

Decision Point

The Advanced type gives you more freedom to control each flow block. However, once a flow is set to Advanced, it cannot be reverted back to Simple. You can also upgrade a Simple flow to Advanced later in the Flow Builder by selecting Upgrade.

  1. Select the Type of flow. By default, the flow is set to Simple. If you change the type to Simple, the selected blocks that are available only for Advanced flows are removed.

    Simple.png
  1. Select the Create button.

You are redirected to Flow Builder, which allows you to define the steps for your generated document.

Flow block viewer.png

Linked Fields

Linked fields allow you to link a parameter field to another block's output or a data set field.

There are 3 reasons why you would want to link blocks together:

  • A block requires input, such as Print. If you don't give the Print block a Document as input, nothing will be printed.

  • You want to make a parameter field dynamic by using a data set field in it. For example, to personalize an e-mail, you put the AccountName field in the e-mail subject field.

  • You want to make a parameter field dynamic by using a block's output in it. Instead of selecting a data set field, it sometimes makes sense to use a block's output, such as Docusign's envelopeUri, which produces a link that you to the signed document. This could then be used in an email message text field to provide a link to signed document in the body of the email.

Visual cues

The flow builder comes with a few visual cues to help you identify linked blocks quickly.

  • Blocks linked to the selected block are gold-colored.

ss4309.png
  • Hovering over a link in the flow block inspector colors both the link and the block that it points to in a darker gold.

ss4310.png
  • In the Flow Builder, select View > Show full dependency chain to open an alternative view. In this view, blocks that are indirectly linked to the selected block (there is no direct link, but they are connected via blocks in between them) show a gold-colored highlight behind their icon. In the example pictured below, Create note is directly linked to Send to Docusign. It is also indirectly linked to the Generate Document and Create data.

image2018-5-7_10-56-16.png

Procedures

Make a linked field

Not all parameter fields can be made into linked fields. Applicable fields will display the Linked field icon, allowing you to toggle between linked and normal behaviors.

  1. Above the applicable parameter field, select the Linked field icon.

    Field Value.png

    The icon turns bold, and a + symbol appears in the field. The parameter field is now a linked field, but there's no link in place yet.

    image2018-5-7_10-20-38.png
  2. Select the + icon to open the Connect blocks modal.

    image2020-5-12_14-43-13.png
    1. In the left column, select the source of the data.

    2. If you just need a block's output, you're done. If you require a data set field, you can then select it in the right column.

    3. Select OK.

      The selected output/field shows up in a gold-colored link in the linked field:

Once a link is in place, you can add text or additional links to the linked field:

image2018-5-7_10-21-7.png

To edit a link, simply select it, and the Connect blocks modal opens.

Format date field

When configuring a linked field with a field of type 'Date', you'll notice a calendar icon next to the field. If you select the calendar icon, a field will appear at the bottom of the window, and you can specify the format you want Smart Flows to apply at execution time. You can select a predefined format from the drop-down or select the pencil icon to specify your own custom format.

Date Format.png

Flow Output

The Flow Output step defines how data from a Smart Flow is structured and passed to downstream processes such as Dynamics workflows or external applications.

This topic explains how to structure flow output, configure output data instances, and map field values for reuse in subsequent systems.

Understand the Flow Output Block

Each Smart Flow ends with a Flow Output block. This block consolidates data produced during the flow execution and presents it to the end user or external process.

image2018-7-31_10-0-26.png

The Flow Output block performs two functions:

  • Displays the output from flow blocks to the user at runtime.

  • Enables mapping of values that can be reused in workflows or custom applications.

image2018-7-30_17-48-49.png

Configure Output Data

Use output data to transfer structured information from the flow to another system. Each instance of output data is based on a data set, which defines the format and available fields.

To define output data, select the + icon under the Output data section:

image2018-7-31_10-16-4.png
image2018-7-31_10-16-36.png

For each instance:

  • Enter a Name for the output instance. This name is referenced in downstream systems.

  • In Output data set type, select one of the following:

    • A connector-specific output data set, such as Dynamics workflow for Microsoft Dynamics 365 workflows.

    • Any dataset, and then select the data set in Data set.

    • None.

  • Map fields is available after a data set is selected.

Map Fields to Output Data

Select Map fields to open the mapping dialog. This interface allows you to connect fields from flow blocks to fields in your selected data set:

image2018-7-31_10-34-10.png
image2018-7-31_10-35-17.png

In the left column, the structure of the data set is shown. The right column displays mapped outputs from flow blocks.

Example: The ID of a created e-mail is mapped to the Email field, a note ID to Note, and document messages to Output 1. These values are then retrievable in a downstream process such as an automated document generation, see Generating Documents.

To map a value to a field:

  • Select a target field from the left column.

  • Select the + icon to open the block selector.

  • Choose a value from a flow block or enter static text.

image2018-7-31_10-39-55.png

Flow Output Panel

The Flow Output Panel allows users to view and interact with outputs generated by a completed flow or a flow that is paused while waiting for an external event. Most flow blocks can generate one or more output elements. For example, the Generate Document block may produce both a document and a document name as its output elements.

Flow Waiting for an External Event

The following image shows how the Flow Output Panel appears when a flow is waiting for an external event:

image2020-5-11_15-6-21.png

Completed Flow

After a flow has completed execution, the Flow Output Panel displays the results of the entire flow:

image2020-5-11_15-7-32.png

Multiple Records

When a flow is run on multiple records, each record’s output is grouped separately. Users can expand or collapse the display for individual records or for all records simultaneously.

Expanded View

Collapsed View

image2020-5-11_15-9-40.png
image2020-5-11_15-10-45.png