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.
Prerequisite:
Before creating your Flows, you need to select your Group workspace or create a new one.

In fact, when you start using Wiresk, you are automatically assigned to the default group. You can either use this default group to start creating your Flows or create a new one. With the group system, you can organize your Flows into logical group then add specific users into it. For more details, refer to Group System in Help Center.

Select a group

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.

Animated image GIF, shows where to click to create a Flow in Wiresk. first select a group then click on create Flow.

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

  • Click on the (+) button to add your Trigger.
  • Search or select in the list “Google app”.
  • Select the Trigger “Received mail”.
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 "received Mail" settings. Numbered red arrows are pointing to different fields to help user for setting up the Trigger.

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

      Recurrence rule or scheduler settings

      Run Once Tab: This tab allows you to schedule a Flow to execute a single time at a specific date and time. This is ideal for one-time operations such as data syncs, cleanups, or initial configuration steps. After execution, the schedule will be automatically cleared unless rescheduled manually.

      Run Tab: This tab is used to set up repeating schedules:

      • Repeat feature: This dropdown determines how long the automation will continue repeating based on the selected frequency (Minutely or Hourly). You can choose from:
        • Repeat Forever
          • The automation will continue to run indefinitely at the defined interval (e.g. every 15 minutes).
          • No end condition is specified.
        • Repeat for (x) Times
          • You set a specific number of repetitions.
          • Requires the field Number (x) of Repeat Times to be filled (e.g. 10 times).
        • Repeat Between Start & End Dates
          • The automation will run only within a defined date range.
          • Additional fields will appear to select start and end dates.
          • Useful for limited-time schedules like campaigns or batch jobs.
      • Daily at Multiple Times: Sets the Flow to run several times per day based on a minutely or hourly interval.
      • Daily: This allows a Flow to run x times per day at a specific time.
      • Weekly: This allows you to run a Flow weekly by selecting the days and time.
      • Monthly: This will monitor your Trigger every month on a defined date and hour.
      • Yearly: This will monitor your Trigger on a specific date and hour every year.
      • Specific dates: This will start your Trigger on specific dates and time.

      For more details, see Wiresk Scheduler – The Fundamentals.

      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.

      Back on the Flow creation setting panel:

      • Select the “Use” button to fetch an input data sample. Refer to Field Mapping using sample data.
        • The sample helps you map your Trigger output to your Method parameters in the Flow. Refer to FIELD MAPPING documentation.
      • Save the Trigger by clicking on “Save“.
      Screenshot of Flow setting for adding Triggers. It shows arrows pointing to "Get Sample" button and to the example input.

      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”.

      1. On the Flow builder screen, select the (+) plus button next the Trigger button
      2. Search or scroll down to select Google app.
      Screenshot of Wiresk Flow builder. Red arrow shows where to click to add a Method.
      • Search and 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.
      • Create a connection to your Google Sheets app or select an existing 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.
      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 fields, 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.

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

      Screenshot of Wiresk Flow builder. it shows how to Activate 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.

      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.

      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.
      You have nothing else to do at this point.

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

      Congratulations! You have created your automated Flow with Wiresk.

      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.

      Learn more about Wiresk, explore our user guide.

      If you need an integration that you cannot find in Wiresk, you can make a request to our team, and we will try our best to satisfy your needs.