In OneTeg, there are three ways to execute Flows:
-
Manually, by executing the Flow.
-
By setting up a start time and schedule period for the Flow to be executed.
-
Via Webhooks/Event Calls, which enable the flow to execute when a trigger is sent to it.
To view the execution settings for each flow, please refer to the "Scheduled" column on the Flows page.
Manually Executing a Flow
To manually execute a flow either;
-
Select the “Run” option after clicking the Flow Options button in the Flows Page.
-
If you are editing a flow, you can click on the “Run” button at the right bottom side of the page.
Once a flow has been executed manually, a new window will open and begin to provide information (flow logs) about the executed flow.
Webhook Execution / Using Webhooks
OneTeg offers the ability to trigger flows using webhooks, also known as event calls. Once a flow has been created with the Webhook Connector as its first step and saved, the schedule information on the Flows page will be updated to show "Webhook."
Webhook trigger events are configured in their originating sandbox/environment.
The OneTeg Webhook Connector can only be used as the 1st step of a flow.
To initiate a flow using a webhook, first create a flow using only the Webhook Connector and save this one-step flow. Upon saving the flow, the Webhook Connector will begin displaying the URL address that must be entered in the originating sandbox/environment.
It is also possible to manually execute webhook flows. Should this option be selected, only the most recent information received via the Webhook will be used.
Setting Up Schedules
Furthermore, OneTeg flows can be configured for execution according to a schedule. This option can be selected either during the creation of the flow or at a later stage. Any flow that was scheduled can also be unscheduled later on.
To create a schedule, please select the Schedule drop-down menu and choose an appropriate option.
To modify flow details, including the flow name, description, active status, continue on fail, and schedule, please use the top right information button.
Options to select for Scheduling OneTeg flows are:
-
Predefined Schedule: Select a first execution time and a predefined execution period for this flow to run.
Select a date and time for the first execution time and select a period afterwords.
-
One-Time Schedule: The flow will run only once in the selected time and timezone.
-
Custom Schedule: Select the first execution time and select an execution frequency.
After selecting a frequency, a new option panel will open for you to select.