For information about the data relating to specific applications, go to the “How to” guides for apps page and click the “How to” link for that app.

When you add an action to your flow, you need to specify data for any required target fields for the action (or operation) to be performed. You can also specify data for any optional fields for the action. For example, if you add a “Create email” action for Gmail, an email address for the recipient is required, whereas a subject for the email is deemed optional.

Note: In each required field for the target application, ensure that you provide a value as needed by the target application. If you map the name of a source field, you should ensure that the source application will pass a suitable value; otherwise, if a value passed is invalid the flow can’t complete successfully. In your flow, you can use conditional logic to do something appropriate if a value passed is invalid.

Tip: If a field name is truncated, hover over the field name to display the full name.

A required field with truncated name and mouse pointer used to show full name

Passing field values from the source application or other preceding target applications

In each target field, you can add the names of source fields to have those field values passed to a target application. For example:

Target field containing Email source field reference
Target field containing Email source field reference

adds Jane to the required target field ‘Email Address’ if the source field ‘Email’ contains Jane (the source application must pass such a valid email address).

You can select fields from the trigger application or from previous target applications in the flow. For example: (Select the image to view the full flow editor screen capture.)

Passing array values and transforming to other formats

Sometimes you may want to pass an array of items to a target application and select values from the array. You can apply functions to process the array to your requirements.

For example, if you have selected a source field that passes an array of Salesforce accounts, you might see a message like: Warning: Contains an array that will be converted to a string: with the dialog link “How can I resolve this?”

If you select a source field that passes an array value, you can choose to pass the value of the first instance in the array, join all instances, pass the array without doing anything, or edit the source field as a JSONata expression.

You might apply a JSONata function to select the first account from the array and select that account’s ID field.
When editing JSONata functions, they are displayed as an expression like:


When finished, the expression is displayed as a source field name with the JSONata symbol.

You can select the source field name to do more, such as to edit the expression or apply more functions. (For information about applying functions, see Applying JSONata functions to transform your data.)

Passing a response code from a previous action

A target application can also use the response code from a previous action. In the following example, an If node follows a Salesforce “update or create” action to provide conditional processing depending on whether the Salesforce record was updated or created. You can use the status code in the If node to perform different actions for existing or new records. For more information about this example, see the tutorial Creating an event-driven flow that updates or creates a contact in Salesforce and updates Asana whenever you receive a form in Wufoo

Applying functions to process data passed to a target application

You can apply functions to the source fields. You can also type text in the target fields.

  • To add source field names, click in the target field and then either:
    • Type part of a source field name, and then select a source field from the list offered.
    • Select source field names from the (+) menu.
  • To use a transform function to customize the value of a source field, select the field name and then select Apply a function; select a function from the list provided.

See also Applying JSONata functions to transform your data.

Filtering fields by using a free text search

When adding or editing actions in the flow editor, you can quickly locate any fields that you want to complete by using the filter bar to perform a free text search. The filter bar is displayed when an action shows 10 or more fields in the default view or in advanced mode, and is retained if you subsequently switch to preview mode after mapping some fields.

The filter bar

To apply a filter, simply begin to type a sequence of characters that are included in the field names that you want to search for. The search is case insensitive and can also include characters like a space or hyphen (-). For example, you can type id to search for all fields with id, iD, ID, or Id in the field name, or type r i to search for a field name like Owner ID, or type y- to search for a field name like Stay-in-touch email subject. Field hierarchies are also typically maintained – so a matching parent field will show nested child fields, and a matching child field will show its parent field.

Example of matching fields for an "id" text filter

Join The Discussion

Your email address will not be published. Required fields are marked *