Running a flow

Updated 18 hours ago by Karan

In this development guide, we will discover how to run the no-code backend flow design for your websites and apps. Byteline helps you to build create and run flow design with the help of powerful nodes such as form submission, send an email, scheduler, HTTP API trigger, and much more. 

For this documentation, a simple Byteline flow is assumed that consists of a Webhook node and Send Email node. So basically you're delivering real-time webpage information via email.

We have assumed that you have created the structure of your flow successfully.

Please look into How to create your First Flow Design and Send an Email document to understand the steps required to create these flows.

Test Run

You can test the flow by hitting the Run button at the top-right corner of the interface.

A small dialog window will appear on the screen asking for input data. Hit the run button once done and the window will show success status.

You have successfully created your flow and executed the test run. 

Running flows

On this page, three methods of running a flow are explained.

Method 1 - Webhook

In this method, we are assuming; flow is initiated with a Webhook trigger node followed by Send Email node.

The webhook trigger node collects user data from the back-end via URL and sends real-time information to the Send Email node. 

Click on the edit button to configure the webhook trigger node. 

For Webhook node configuration follow the steps below:

Step 1: Click on Register body format now to register the capture the request body from Postman.

Step 2: Paste the webhook URL in the Postman enter request URL field.

Step 3: Select the Post method to call API for posting the data.

Step 4: Enter the body you want to post, for example:{" email": "hello@email.com"}

Step 5: Click on the Send button to post to that Webhook URL.

You can tick the redirect URL checkbox and enter the Redirect URL in the field for specifying the next page to be shown.

Step 6: Click on the Save button to save the webhook node configuration.

Once you have configured the Webhook trigger node, you will need to configure Send Email node to send the registered information body within the Webhook via email. 

Refer to this document to configure the Send Email node. 

Method 2 - Applications Triggers (e.g., Airtable Trigger) 

In this method, we are assuming; the flow is initiated with an Airtable trigger node followed by Send Email node.

You can configure the Airtable trigger which invokes Send Email whenever a new record is created or updated in the Airtable.

Step 1: Click on the edit button to configure the Airtable trigger node. 

Step 2: By clicking on the Here button as shown below, you will be redirected to your Airtable Account to get your Airtable Base ID.

Step 3: Log in to your Airtable account with your email and password.

Step 4: Select your base from the Airtable API to view your API documentation. This will allow you to fetch your Airtable Base ID.

Step 5: Copy the base id as shown in the snippet below. In this case, the base id is "asappfHBMTMuJi4HDQ3". 

Step 6: Paste the copied string in the base Id field of the Airtable configuration window.

Method 3 - Scheduler

In this method, we are assuming; the flow is initiated with a Scheduler trigger node followed by Send Email node.

You can configure the scheduler to run the flow hourly, weekly, monthly, or daily.

Click on the Edit button to configure the Scheduler trigger node. 

For scheduler node configuration, follow the steps below:

Step 1: Select any of the following scheduling options from the scheduler dropdown menu: 

  • Day: To schedule a day, you need to select UTC or Local time zones from the dropdown menu and set the time to run the flow accordingly. 
  • Hourly: To schedule hourly, you only need to select any options from the drop-down to run the flow after every 1 hour, 2 hours, or 3 hours. For example, if 2 hours is selected, it means the flow will run every 2 hours.
  • Weekly: To schedule your email weekly, select the multiple weekdays you want to send the email. Choose any of the options from the Every drop-down to determine the frequency of running the flow. Set the scheduled time as per the GMT timezone. For example, You went for the weekly option, selected Monday at 09:00 AM, and chose "2" to run the flow every 2 weeks.
  • Monthly: To schedule your email monthly, select the date you want to send the email. Choose any options from the Every drop-down to specify how often you want to run the flow. Set the scheduled time as per UTC or Local timezone and hit the save button. For example, You went for the monthly option, selected day 15 at 11:00 AM, and chose "1" to run the flow once a month.
Using the Every dropdown menu, you can set the frequency of running the flow. 

Step 2: Select either UTC or Local time zones from the dropdown menu in the configuration window.

Step 3: Enter the Spreadsheet Id in the field to post the spreadsheet data into the flow.

The flow runs once for each row in the Google Sheet. Click on the save button to save the node configuration.

Once you have configured the Scheduler node, you will need to configure Send Email node to send emails to users at the pre-scheduled time. Refer to this document to configure the Send Email node. 

Feel free to connect us for any doubts. Develop fast!


How did we do?