Welcome to Purple Support

LogicFlow v2

  • Updated

LogicFlow is the brain behind every decision within the Purple platform. It determines what your visitors experience at your venue throughout their journey and thereafter.

LogicFlow links all parts of the Purple platform in one place, which allows you to trigger actions based on any data point from your visitors age to the weather outside. You can define which action you want to trigger or even a set of actions, whether it be something in the access journey, email campaigns, surveys, text alerts or even pull and push data to a 3rd party platform.

You choose a decision, enter the conditions the decision needs to meet and then choose what action to perform. You can combine multiple decisions with 'True / False' or 'If / Else' statements and add multiple actions in one logic flow to create a truly unique experience for your visitors.

The main canvas is where the nodes are shown. You can see a list of the nodes and search and filter the nodes with the layers option. You can also navigate the logic flow with the mini map, zooming in and out and using the home option to show the Start node in the centre of the screen.

Create a logic flow

  1. Within LogicFlow v2, click Add logic flow, and complete as follows:

    Name

    The name of the logic flow.

    Event

    The type of event you want to use to trigger the logic flow.

    Onboarding > Pre-authentication

    This determines what action occurs prior to authentication. As the visitor is not online at this stage you can only use the splash page action node.

    In LogicFlow 1 this was known as 'Offline'.

    Onboarding > Post authentication

    This determines what action occurs immediately after authentication. You can choose to action an NPS survey, micro survey, redirect or webhook.

    In LogicFlow 1 this was known as 'Interstitial'.

    Onboarding > Online

    This determines what action occurs when the visitor is online, following any logic from the post authentication action. You can choose to action a splash page, redirect or NPS survey.

    In LogicFlow 1 this was known as 'Online'.

    Ownership level

    Select which scope owns the logic flow. The action nodes display content at and above this scope.

  2. Click Create, this opens a blank LogicFlow canvas with the Start node at the center.

  3. Select the required decision node, this determines the criteria required to trigger an action. To see what options are available, refer to Decision Nodes.

  4. Click and drag a connector line between the start node and decision node.

  5. Within the decision node, click Select a logic type > Get started and choose which logic type to use:

    • True / False - Conditions must be true or false for the criteria defined to trigger the action.

    • If / Else - The action is triggered if the conditions are true, else perform another action.

  6. Select ALL to match all of the conditions in the logic or select ANY to match any one of the conditions.

  7. Choose the condition and the relation from the drop-down options, these differ based on the decision node. To see what options are available, refer to Decision nodes. Enter or search and select the required condition.

  8. To add more conditions, click the Add + button and choose the required conditions.

  9. On an 'If/Else' logic type you can add groups of criteria. Click New Group to add another group to trigger a different action for the other criteria within that decision node.

  10. When you have added all of the required conditions, click the LogicFlow canvas.

  11. To add an action node, click the Add + button and choose the required action. Action nodes determine what action is triggered when the conditions of the decision nodes are met. To see what options are available, refer to Action nodes.

  12. Select the required content for your action nodes, for example, if you choose Splash page, select the splash page you want to open.

  13. Add more action nodes as required and then click and drag a connector line between the decision and action.

  14. When all decisions are linked to an action you must add an End node, click the Add button and choose the End node.

  15. Click and drag the connector lines between the action nodes and the end node.

When you add all of the required nodes and the logic flow is complete, you must Validate the logic to check there are no issues and then to use the logic flow you must Publish it. If the logic flow is an Onboarding event, when it is published you must assign it to an access journey.

Edit, Duplicate or Delete a node

Each node has an action menu which you can use to edit, duplicate or delete the node. You can also edit the node by clicking anywhere on the node.

Validate logic

Validate logic checks for nodes which are incomplete, nodes with missing connections, any invalid logic and anything else that may prevent the logic flow from running. You can validate the logic at any time, click Validate logic.

A valid logic flow shows as Valid logic with no errors.

An invalid logic flow shows the number of errors, you can click on each error to take you directly to the invalid node. The error messages explain why the logic is invalid.

When the logic flow is valid, you can Publish the logic flow.

Publish a logic flow

You must Validate the logic flow to ensure the logic is valid before you publish.

Within the logic flow, click Publish, on the prompt click Publish again.

If the logic flow is a pre-authentication, post authentication or online event, when it is published you must assign it to an access journey.

Assign a logic flow to an access journey

  1. Click OnboardingAccess journeys > select the access journey you want to add the logic flow to.

  2. Click Options and select LogicFlow v2.

  3. Click the LogicFlow v2 tab, locate the logic flow you want to assign, click the ellipsis and click Assign.

  4. Click Assign again.

You can only assign one logic flow for each event type, if you try to assign a logic flow for an event type which is already assigned the following message appears:

Click Assign to change the logic flow for the event or Cancel to keep the current logic flow.

Edit, duplicate or delete a logic flow

To edit, duplicate or delete the logic flow, click the action menu and click one of the following options:

  • View - To view and edit the nodes within the logic flow.

  • Update details - To change the name or ownership level of the logic flow.

  • Duplicate - To create a copy of the logic flow.

  • Delete - To remove the logic flow.

Tailor micro-survey content

Different content can be shown based on a user’s answers, resulting in a more personalised access journey and better targeted marketing campaigns.

The micro-survey condition can be implemented from the visitor decision node and is available on post-authentication and online LogicFlow v2 events. Additional targeting can be implemented based on demographic factors such as gender, age or language.

Video implementation

Videos can be displayed during the access journey by using the media action node. Typical use cases may include showing a paid for promotion, or advertising an upcoming event.

The media action node can be used on post-authentication LogicFlow v2 events. This enables demographic targeting based on factors such as gender, age or language.

Videos can be uploaded to Media Manager, found under the Marketing set of features.

Add a logic flow group

Within LogicFlow v2, click Add group, enter the name of the group you want to add and click Create group.

This creates a folder in the logic flow list.

You can drag and drop existing logic flows into this folder or create new logic flows within the folder.

If you delete a group the logic flows within the group are not deleted, they are moved into the main logic flow list.

Decision nodes

These nodes determine what criteria is required to trigger an action within the logic flow. The following nodes and options are available:


Decision node

Description

Events available within

Options

Option description

Logic-Flow v1

Logic-Flow v2

 

 

Visitor

 

Demographics of the visitor.

 

Post authentication

Online

Micro-survey

Allows different content to be shown based on a user’s answers, resulting in more personalization & better targeted marketing campaigns.

No

Yes

Gender

Select from Male, Female, Non-binary, Not disclosed and Unknown.

Yes

Yes

Language

Choose from the 40 languages the platform supports.

Yes

Yes

Age

Age in years, you can target a range of ages as you can choose from multiple relations including, less than, less than or equal to, is, is not, greater than, greater than or equal to, is between or is outside.

Yes

Yes

SMS

If a visitor can be sent SMS communications or not.

Yes

Yes

Days until birthday

Number in days, you can target a range of birthdays with the multiple relations available.

Yes

Yes

Emailable

If a visitor can be sent email communications or not.

Yes

Yes

NPS response

Visitor responses from previous surveys which are held within the CRM record.

No

No

Email address

Email contains or does not contain.

Yes

Yes

Tiered bandwidth

Which tiered bandwidth plan the visitor has signed up to.

No

No

Visit count

The number of visits and which time period the visits occurred in. For example, 1 visit in the past year.

Yes but not time period

Yes but not time period

Venue

Details from the Venue.

Pre-authentication

Post authentication

Online

Tags

Choose from the list of tags already set up within your venues.

No

No

Venue name

Select the required venue names.

Yes

Yes

Country

Select the countries the venues are based in. This is useful for setting different splash pages for national holidays.

Yes

Yes

SSID

Select the required SSIDs.

Yes

Yes

Visitor device

Information about the device the visitor uses to connect to the WiFi.

Pre-authentication

Post authentication

Online

Operating system

Choose from iOS, OS X, Linux, Android or Windows.

Yes

Yes

Browser

Choose from Chrome, Safari, Firefox, Edge or Internet Explorer.

Yes

Yes

Weather

Information about the weather based on your venue co-ordinates.

Pre-authentication

Post authentication

Online

Condition

Choose from, Rain, Snow, Clear, Cloudy, Extreme and Low visibility.

Yes

Yes

Temperature

Temperature value, you can target a range of temperatures with the multiple relations available. You can also choose if it is Fahrenheit or Celsius.

Yes

Yes

Log in method

How the visitor logged into the WiFi from the splash page e.g. Facebook, login form.

Post authentication

Online

Select log in method(s)

Choose the log in method from the list, this includes social media logins, form login and staff WiFi.

No

No

Access point

Which AP the visitor used.

Pre-authentication

Post authentication

Online

Name

The name the portal user has given to an access point, this is an optional value. If no name is found the value falls back to the MAC address of the access point.

Yes

Yes

MAC address

MAC address of the access point.

Yes

Yes

Manufacturer

The AP brand, e.g. Meraki, Cisco etc.

Yes

Yes

Access hours

The access hours schedule.

Pre-authentication

Schedule

Choose the required schedule.

Yes

Yes

Day / time

The day, date or time of the visit.

Pre-authentication

Post authentication

Online

Day

Select the day of the week.

Yes

Yes

Time

Enter a time in 24 hour format, you can target a range of times with the multiple relations available.

Yes

Yes

Date

Enter a date or use the date picker to select a date. You can target a range of dates with the relations available.

No

No

Action nodes

These nodes determine what action to perform when the criteria on the decision node is met. The content available within each action node is at and above the scope of the logic flow ownership. The following nodes are available:

Action node

Events available within

Description

LogicFlow v1

LogicFlow v2

Media 

Post-authentication 

Videos can be displayed during the access journey. Typical use
cases may include showing a paid for promotion, or advertising an upcoming event.

Yes

Yes

Splash page

Pre-authentication

Online

Which splash page you want to show from your Splash page library.

Yes

Yes

NPS survey

Post authentication

Online

Which NPS survey you want to send.

No

No

Micro survey

Post authentication

Which Micro survey you want to send.

Yes

Yes

Redirect

Online

A URL visitors should be redirected to.

Yes

Yes

Tiered bandwidth

Post authentication

Which tiered bandwidth plans are available to your visitors.

No

No

Webhook

Post authentication

Webhook action from those set up in Webhooks.

Yes

Yes

Email campaign

Post authentication

Online

Email campaign to send to visitors from your E-shot communications and the time delay.

Yes

Yes

SMS campaign

Post authentication

Online

SMS campaign to send to visitors from your SMS communications and the time delay.

Yes

Yes

Share online: