Multi steps
Last updated
Last updated
In this video, we will step you through everything you need to know to multi steps while building an automation using Easyflow.
Let’s first create a new flow with the title Steps and conditions.
From the workflow designer canvas, drag and drop the Mapper built-in connector. This connector acts as a variable placeholder.
In the first example, we will create a JSON object consisting of 5 keys: "company", "country", "city", "email" and "established date".
Be sure to set this step as your starting point.
Let's see the outcome by clicking on the Preview Results button from the bottom menu bar. As you can see the company information appears in JSON format as expected.
In the next step, we will use the mapper connector to update the JSON payload from the first step. We will add an additional key named industry. For this, we will use the UPDATE function expression. Let's see how to configure that and test the results.
As we can see, the flow returns a JSON containing the industry key.
To continue demonstrating the multi-steps logic, let’s add an additional step by sending the data to Google Sheets.
The third step is to send data to Google Sheets. To do this, drag the Google Sheets connector into the "designer canvas," then configure it by selecting the "Add a Row" option from the operations panel.
After selecting the connection and filling out the Spreadsheet Id and the Range, you will need to map the “Google Sheets” data with the data coming from the second step.
This can be done by following the below instructions:
First: Highlight a column item from the data text box in the Google Sheets configuration panel.
Click on the "4 dots" icon located to the left of the data text box.
In the Dynamic Content panel, locate the "Step 2" group and map the desired columns, such as "Company", "country", "city", "email", "established" and "industry".
Remember to connect the steps together and save.
Finally, let's run the flow and test the results. We can see that the data went to "Sheet1" in "Google Sheets" as expected.