Card Basics

A Flow is made up of steps represented by cards. Each card represents one specific action that is completed before progressing to the next step in the Flow. For a higher level overview of how it works, see Getting Started.

Connection and Options

Many cards require you to first choose a Connection and Options in order to use the card.

Examples:

  • The Create Record Action for Salesforce requires a connection and a requires a Record Type option choice.
  • The New Email Event for Gmail requires a connection but has no options.
  • The Add Function in the Math category requires no connection and has no options to choose from.

When first adding a card, you’ll be prompted to choose a Connection if one is needed. If you’ve already used a connection for the chosen application, that connection will be chosen by default. If any Options are required, you’ll also be prompted for those before you continue.

Once a Connection and Options are chosen, you can edit them by clicking the name of the Connection at the top of the card or by clicking Options just below that. If a Connection is not working or any required Options are missing, a red icon will show to the left of the name. A green check indicates the connection is healthy and all required options have been provided.

Additionally, when setting up some cards (e.g. Add Row for a spreadsheet) you may be prompted to choose which fields you would like to operate on. There could be hundreds of fields to choose from (e.g. column names or database fields). Use the Filter Fields button at the bottom of the card to search for particular fields. You can edit your choices later by clicking the gear at the bottom right of the card and choosing the Choose fields command. (Both buttons are explained below.)

Inputs and Outputs

Once a Card has been set up with any required Connection and Options, you’ll see the card’s Input and Output fields.

Input fields accept values. These values determine how an App Action or Function will proceed. For instance, for a Send Email action, there are input fields for To:, Subject: and Message Body. For a Replace function, there are input fields for the text to look in, the text to look for and the text to replace with.

Output fields are assigned values after an Event, Action or Function runs. For instance, for the Replace function there’s an ouput that has the new text value after the replacements are made. For a Salesforce New Record event, there’s an output for the id of the newly created record.

A powerful feature of Flows is the ability to map the output field from one step to the input field of another step. For instance, you can drag an email name output from a Read Customer action and drop it into the input field of a Send Email action. Every time the Flow runs, the email from that specific customer will be used as the address to send the email to. Chain together multiple cards and map outputs to inputs to build Flows that tranform data, use logic to decide on next steps, and take actions using that data.

abstract_flo_example

Custom Fields

Many cards allow you to create custom input and output fields. When available, you’ll see a grayed out version of a field that says “Click or drag to create” (for a custom output) or “Click or drop to create” (for a custom input). You can click and type a unique name for the field. Or, if you drag an output to an input, the custom field will pick up the name and type of the origin or destination. For instance, the Math-Add function comes with two inputs already set, but you can add additional inputs to add more than two numbers at once.

Field Types

All input and output fields have a type. There are five basic types in Designer: Text, Number, True/False, Date & Time, and File. Plus, there are two special types, Object and List, that are composites of the other types. An object is a collection of keys and values where each value can be a different type, such as a Customer object that could be made up of First Name (text), Last Name (text), ID (number), and Sign Up (Date & Time). A list is a collection of items all of the same type, such as a list of numbers or a list of objects.

If you are seeing errors in your Flow, one of the first things to check is the types of your fields. For instance, “1”, “19” and “2” will sort differently if they are set to type Text versus Number. For an input field, the card will try to automatically convert any incoming value to the input field’s type. For custom output fields, you must set the type correctly or you may encounter errors with your Flow (e.g. if you define your API to accept a number but pass it an object).

To learn more about types, see Getting Started - Types.

Additional Card Options

Along the bottom of each card, you’ll see a set of buttons with available options, including:

  • Help:  The “?” icon. Provides a help topic specific to that card.
  • Test This Card:  (for action and function cards only) Allows you to provide sample input values and see the resulting output.
  • Monitor Options:  (for application event cards only) Let’s you set your event to trigger once for all new records (rather than once for each record) or trigger only when no records are found. See Monitor Options.
  • Schedule Options:  (for non-webhook application and schedule events only) Controls how often to check for new data or run the Flow.
  • Endpoint Settings:  (for API Endpoint event cards only) Allows you to choose a security level and provides the URL for invoking the endpoint.
  • Form Settings:  (for Form event cards only) Provides the details for accessing the form via URL or embedding it into a page.
  • Filter Fields: Useful for cards that have many fields, such as a Salesforce record that could have hundreds. Lets you filter the view to only show fields that match the text you type.

Additionally, there is a gear button at the bottom-right with Other Options:

  • Edit card:  When in customize mode, you can rename the card (great for documentation) and rename or reorder fields. Additional details here.
  • Choose fields : Allows you to turn on or off fields that appear on the card. This is useful for cards that have many fields, possibly hundreds, where you only need access to some of them.
  • Error handling:  Gives access to error options such as automatic retry or running an error handling Flow when the card fails. Additional details here.