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.

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.

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:

  • 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

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 “Use” button, it allows you to extract a subset of sample 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.

Select the (+) 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 Triggers section, red rectangle is highlighting the HTTP Trigger button.

On the Triggers settings panel:

  • Write a description.
  • Select your API key or create a new one.

It is a unique identifier used to authenticate and authorize access to an application (API). It acts as a secure token for Wiresk to communicate with your connected application and services.

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.
  • Select the “Save” button, 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”.

  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 going live, you need to test your Flow by doing a “RUN ONCE“.

  1. Select the “Run” button in the bottom left corner.
  2. Select the Run Flow tab.
  3. Select your routing key from your HTTP Trigger,.
  4. Select the “Run” button.
  5. Our Wiresk platform will perform a test and will notify you if everything is ok to proceed further.
  6. Notice a green tick over your Method icon, it means that your Flow is correctly configured and ready to go live.
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.
  • 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 management page, select the switch button to deactivate your unused Flow. Repeat the same step to reactivate it.

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.

Select the icon under the Trigger column, you will find a list of all Triggers that you had set up in your Flows.  This allows you to precisely control your manual and scheduled Triggers, ensuring tasks are performed at the right times and intervals without manual intervention.

On the list panel you can:

  • Switch on/off the scheduled Triggers
  • Manually force run the Scheduler.
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.