How to Create a Flow

Estimated reading time: 4 min

Start your automation journey with Wiresk, let’s create a Flow to automate your task.


A Flow is our Wiresk terminology to define a workflow automation that you create with our Flow Builder. A Flow can be a single step or a multi-step. 

To make it simple, a Flow is: When something happens, a series of actions will start by following predefined rules and conditions.

For this tutorial, we will create a simple automated Flow that will:

Watch for new emails received then add a new row to your Google spreadsheet.

Banner with white background, shows Gmail logo with a transition arrow to Google sheets logo.

You can select your group by clicking on the dropdown field next to Wiresk logo, then you will be redirected to the Flow section screen.

GIF animated screen of Wiresk, showing the way to create a new Flow.

On the Flow management tab, click on “Create Flow”, then name your Flow.

  • Click on the (+) button to open the Trigger settings side panel.
  • On the settings side panel, click on the “+ Add” button.
Screenshot of Wiresk Flow Builder with a new Flow in progress. The large blue Trigger circle is shown on the canvas with a red arrow pointing to the “+ Add” button in the right panel under “All Triggers,” where users can select the first Trigger to start the Flow.
  • Search or select “Google” app in the list .
  • Then search or scroll down the list to select the Trigger “New Email Received”.
Screenshot of Flow Builder’s Trigger selection panel. A red arrow highlights the search bar where “google” is typed, and another arrow points to the Google app icon listed under “All Apps,” indicating the next step of choosing a Google-related Trigger.
Screenshot of Flow Builder displaying the available Google Triggers. The Gmail section is expanded, and a red arrow points to the “New Email Received” Trigger option, which can be used to start the Flow when a new email arrives.
There are two ways to connect your app to Wiresk, first, in “My apps” section, where you can manage your connections, and second, is during the creation of your Flow, like in this case.

1. Rename the Trigger if needed.

2. Select an existing connection, or create a connection.

Screenshot of the Trigger configuration panel for Gmail. Red arrows indicate the Name field labeled “New Email Received,” the Connection dropdown set to “Google C new,” and the Recurrence Rule section, where users can set how often the Trigger checks for new emails.

3. Define your recurrence rule/scheduler to control when and how often your Flows are triggered and executed:

Screenshot of the Recurrence Rule editor showing a date picker. Red arrows mark the time selection fields for hour and minute, allowing the user to define exactly when the Trigger should run.
Screenshot of Recurrence Rule configuration for repeated runs. The view shows the “Daily at Multiple Times” option with a frequency set to every 15 minutes, repeating 1 time. Red arrows highlight the interval field and the repeat count, demonstrating how recurring execution is defined.

4. Select the Mailbox that you want to monitor

5. After receiving a new email, you can go to “Preview Data” tab and and get a visual preview of the Trigger results.

6. Select the button “Save” to complete the Trigger setting.

Screenshot of the Trigger parameters setup. The Mailbox field is shown with “INBOX” selected, highlighted by a red arrow. Another arrow indicates the “Preview Data” tab, which lets users check sample records, and the “Save” button to confirm the Trigger configuration.

Back on the Flow Builder, let’s get the Trigger Example input. This sample is a generic mock dataset, not real data.

This helps you preview and map incoming data when building a Flow. It allows you to test Field Mapping without waiting for a real event. For more details, see Example Input – How it Works.

  1. Select the Example Input button at the bottom of the Flow Builder.
  2. On the example Input settings panel, make sure “Capture Example Input” is uncheck.
  3. Select “Use Trigger as Example Input”.
  4. Click on “Use” to retrieve the mock dataset from your previously configured Trigger.
  5. Notice that the mock dataset is now displayed in the Example Input panel (in 3 different formats).
  6. Save the Example Input and move on to the next step.
Screenshot of the Example Input feature in Flow Builder. Red arrows highlight key elements: the Example Input tab at the bottom, the “Capture Example Input” checkbox, the “Use Trigger as Example Input” section with a listed scheduler, the “Use” button, a JSON preview of sample data, and the Save button. This panel allows users to provide or capture input data for field mapping.

The Methods will perform a specific task on a particular app or service you’ve connected to Wiresk. You can add multiple Methods for complex Flows.

In our case, we will add the Method from Google Sheets “Insert new row”.

  • On the Flow builder screen, select the (+) plus button next the Trigger button.
  • Search or scroll down to select Google Sheets app.
  • Then select the Method “Insert new row”.
Animated image Gif of Wiresk Flow builder, shows how to select the Method from Google Sheets, "Insert new Row".
For this Method you need to create a Google Sheets spreadsheet in your google drive beforehand, or download our spreadsheet template here.
  • Rename the Method if needed.
  • Select an existing Google Sheets connection or create a new one. Refer to Google Sheets documentation for the connection.
  • In the “Default Value” field, select your Drive, Spreadsheet, Worksheet, and a header row if your spreadsheet possess one (in our case, the header row is the first row).
Screenshot of Google sheets insert new row setting screen. it shows different fields for setting up the Spreadsheet, the worksheet and the header row.
  • In the Data object, Map your spreadsheet. In our case, the spreadsheet contains headers that go from “header 1” to “header 4”. You can either Map data from your Trigger (Received email) in “Input” field or write your own text in the “default value” field.
  • Click on “Input” field, a panel pops up.
  • In the Input Tab, search “Date”, then select the object “Date” to Map the email received date in header 1.
screenshot of Wiresk Method setting from Google sheets called Insert New Row. its shows how to map data from Gmail Trigger, Receive new mail.
  • Let’s repeat the previous step to Map all the header fields:
    • Map the data “From” in header 2 in order to get the sender’s address mail.
    • Map “Subject” in header 3 to get the email subject.
    • Finally, Map “To” in header 4, to get the receiver’s mail address.
  • Click on save.

You have completed the configuration of your Method.

Screenshot of wiresk Method setting from google sheets. It shows fields to map data from the Trigger. Arrows shows input field for mapping data from a step response and default value for a manual entry.
The data we are currently Mapping is only for this case, you could Map more data accordingly to your personal use cases.

Before using your Flow live, you should test it using the Run panel in Flow Builder. This ensures that your logic, field mapping, and data flow are working correctly.

  1. Click the Run button in the bottom-left corner of the Flow Builder.
  2. In the panel that opens, select the Run Flow tab.
  3. Click the Run button.
  4. Wiresk will perform a test using the current configuration and sample data.
  5. If everything is set up correctly, you’ll see a green tick over your Method icon, this means your Flow is valid and ready for automation. If the run fails, you need to troubleshoot the error, see Troubleshooting errors in Wiresk.

In you Spreadsheet, you will see the sample data recorded according to your mapping structure.

Screenshot of Wiresk Flow builder. it shows how to test the Flow by doing a "run Flow". Red arrows show different steps that is needed to be followed.

Before using this feature, you need to simulate a real scenario.
For example, our Trigger is based on a “New Email Received,” send a new email to yourself to generate real input data.

Then:

  • In the Run panel, go to the Run Scheduler tab.
  • Select the scheduler you configured (e.g. “New Email Received”).
  • Click Run Scheduler.

Wiresk will now run the scheduler immediately using actual data from the new email you just sent. A success notification will pop up from the right top corner.

Screenshot of Wiresk Flow Builder showing a Flow named “New Email > Add Row to Spreadsheet.” The Flow includes a Gmail Trigger on the left and a Google Sheets Method labeled “Insert New Row” on the right. A green check mark above the Gmail Trigger indicates success, while a red warning icon appears next to the Google Sheets step. On the right panel, the Run Flow tab is open, displaying the “New Email Received” Trigger with a success message banner at the top.

You should now see the mapped information from the Trigger written into your spreadsheet, confirming that the Flow processed the real data correctly.

Now that the “Run Once” and “Run Scheduler” procedures are validated, your Flow is now running automatically with the recurrence rule defined in your Trigger settings.

Congratulations! You have created your automated Flow with Wiresk.

You can return to the Flow management section and open the Trigger management panel (clock icon) to monitor or adjust your Trigger if needed.

You can manage your Triggers directly from the Flow management list by clicking the Trigger management button (clock icon). This opens the Scheduler panel, where you can:

  • Activate or deactivate each Trigger
  • Force-run any scheduler manually
  • Copy Routing Keys if your Flow uses an HTTP Trigger
Screenshot of Wiresk Flow management. Arrows show where to select to deactivate or activate a Flow, and where to select to get the Triggers list use in a specific Flow. In the Trigger management panel, red arrows, show where to deactivate a trigger, to force run the scheduled Trigger, and to copy the routing key.

On the Flow management page, select the switch button to deactivate your unused Flow. Repeat the same step to reactivate it.