How to create a Flow in Wiresk

Estimated reading time: 3 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.

Available with Pro plan or higher

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

Screenshot of wiresk interface. Arrows shows where to click for selecting a group. 1 arrow point to "select group field" the other one point to "Wiresk team" admin profile.

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

  • Click on the red Plus button (+) to add your Trigger
  • Search or select in the list the 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

3 – Or create a connection, this is needed so we can sync it with our platform. Refer to Gmail documentation.

Screenshot of the Trigger "received Mail" settings. Numbered red arrows are pointing to different fields to help user for setting up the Trigger.

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

  • Regular intervals will monitor your Trigger by intervals in minute
  • Daily recurrence will monitor your Trigger by day and hour 
  • Monthly recurrence will monitor your Trigger every month on a defined date and hour
  • Yearly recurrence will monitor your Trigger on a specific date and hour every year
  • Specific dates will start your Trigger on specific dates

5 – Select the Mailbox that you want to monitor

6 – After receiving a new email, you can go to “Preview Data” tab and and get a visual preview of the Trigger results. Click on the button “Save” to complete the Trigger setting.

Back on the Flow creation screen, click on “Get sample” button, it allows you to extract a subset of data for validation. The data will be used to MAP your Method parameters according to your Flow.

Screenshot of Flow setting for adding Triggers. It shows arrows pointing to "Get Sample" button and to the example input.

An HTTP Trigger allows you to manually activate your Flows.

  • One-time tasks: For tasks that only need to be performed once, like sending a specific notification or updating a database record.
  • Ad-hoc actions: For actions that need to be triggered on demand, without relying on scheduled events or data changes.
  • Testing and debugging: For testing and debugging Flows without relying on external events or conditions.

Click on the red plus button (+) again to add an HTTP Trigger for testing your Flow, then click on the button “HTTP Trigger”.

Screenshot of Wiresk HTTP Trigger selection. in manual configuration section, an arrow point to HTTP Trigger.

Write a description and select your API key or create a new one.

Screenshot of HTTP Trigger setting screen. Arrows shows fields that need to be filled and selected for the settings. User need to add a description, select or create an API key.

Click on save, then save your Trigger, the next step is to add a Method to your Flow.

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, click on the plus button (+) next to your Trigger, then search or scroll down to select your apps Methods.

Screenshot of wiresk flow builder Trigger button. Red arrow shows where to click to add a Method.
  • Search and select Google sheets app, then select the method “Insert new row”
Animated iamge 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. Refer to Google Sheets documentation for the connection.
  • 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 screen pops up, in the list of Input data from the Trigger, select “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 going live, you need to test your Flow by doing a “RUN ONCE“.

  • Click on the red “Play” button in the bottom left corner (1).
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.
  • In the Run Flow tab, select your routing key from your HTTP Trigger (2), then click on run (3). Our Wiresk platform will perform a test and will notify you if everything is ok to proceed further (4). Notice a green light over your Method icon (5), it means that your Flow is correctly configured and ready to go live.

Now that the “Run Once” procedure is validated, click on “Run scheduler” tab.

Select your scheduler, then click on Run. Your Flow is now running with the recurrence rule/scheduler that you previously defined in the Trigger settings.

Congratulations! You have created your automated Flow with Wiresk.

Managing and organizing your Flows is important, it helps to ensure that tasks run smoothly, reduces errors, and saves time.

A well-organized Flow improves efficiency, keeps processes aligned, and makes it easier to track and optimize performance.

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

Screenshot of Wiresk Flow management. Arrow show where to select to deactivate or activate a Flow.

In the Schedulers tab, you will find a list of all schedulers that you had set up in your Flows.  This allows you to precisely control when automated workflows are initiated, ensuring tasks are performed at the right times and intervals without manual intervention.

Familiarize yourself with Wiresk by reading more tutorials here.

Find more possibilities by checking our Templates page.