Actions - Data
In this article, we’ll review all of the Flow actions available under Data Actions. In general, “Record” functions are used for web forms and uploaded CSV datasets, while “Data” functions work with connected datasources such as Elasticsearch, SQL and Oracle databases.
Search Record
Use the Search Record action to look up data based on the criteria you select. Use the branch options to perform actions based on the number of records found.
First, select the type and name of the dataset to search, then choose the field(s) and value(s) you want to search for.
Below the search box, you’ll see three branch options where you can place actions depending on the number of results found. You can specify different sets of actions for each of these three branch options.
Note: The Search Record action will loop through multiple records found individually. For example, if five records are found, the actions under the Multiple Records Found will be performed five times, once for each record.
Updating/Deleting Records
Once you have searched and found one or more records in your dataset, you can use the Update Record and Delete Record to take appropriate actions.
Note: These actions can only be used in Search action branch options corresponding to one or multiple found records.
The Delete Record action deletes a previously located record(s).
Insert Record
Use the Insert Record action to add a new record to an existing dataset. Just select the type and name of the dataset, and then choose the values for each field or column.
Submit Data
Use the Submit Data action to send data to a third party system via URL, similar to a “form POST” in HTML. Simply provide the URL you’d like to submit your data to and the format you’d like to use, followed by the parameters or field/value pairs you’d like to send.
Post Data
Use the Post Data action to send data to a connected data source. Select the connection, database and table to update, followed then by the data itself.
Reload Data
Use the Reload Data action to reload the data from an existing data connection. To use it, just provide the name of the connection you wish to reload. Note, that it may take a few minutes for the reload to complete, depending on the size of your dataset and the speed of the data connection.
Get Data
Use the Get Data action to search a connected datasource and get results based on the field/value criteria you provided. Then, you can provide different actions for the branch options to handle the cases of one, multiple, or no records found.
To begin, select the connection, database and table you’d like to search, and provide the field/value pairs to narrow your criteria.
Update Token
Use the Update Token action to update the value of a stored token. You can update one or multiple tokens by selecting their name and providing a value. To create a new token, click the Add/Manage Tokens button.