Creating Automations: Triggers

Overview

Triggers allow you to define a target group and trigger action and then simply select from the actions dropdown which actions you would like it to set off.

Woopra supports many types of Triggers:

Tag Visitor Properties Add or update visitor properties whenever a visitor performs a specified action. For example, whenever a visits your site or app, you can copy certain properties, such as IP address from the visit properties to the visitor properties. Remember to add Visitor Schema for the property to allow it to appear.
Run Script This allows you to run a custom script in your visitor’s browser whenever they perform a specified action. For example, you can show a special discount message to your users who have purchased items from your site previously, or encourage a returning visitor to join a newsletter. Possibilities are endless, use this feature wisely!
Webhooks Woopra can send HTTP requests to different tools whenever a visitor triggers an event.
Email Notifications You and your colleagues can receive notifications on noteworthy visitor activity.
Push Notifications You will see these notifications of visitor activity at the top of the Woopra web app. You may also receive these notifications as push notifications to your mobile phone if you have installed the Woopra iOS or Android app.
AppConnect Actions You can use select any trigger actions automatically installed by your AppConnect Apps. These triggers perform many different functions, based on the App they originate from.

How To Create a Trigger

Step 1: Define Segment & Trigger Filters

The first step to creating a Trigger is to define the segment you would like to run the Trigger on and the event you would like to trigger the Trigger.

  1. Go to the Manage icon in your sidebar (the icon that looks like slide-bars toward the bottom)
  2. Click on “Triggers” on the top toolbar
  3. Click on “New” to create a new Trigger. A new Trigger window will appear on the right side.
  4. Start by entering a name for this Trigger
  5. Define the population you want to run this Trigger on using the filters. If you want to run this Trigger on all visitors who trigger the event, simply leave this empty. For more information on how to use the segmentation filters, please see our document on defining segments.
  6. Define the trigger action using the trigger filters. For more information on how to configure the trigger filters, please see our document on defining trigger filters.
  7. Check whether you want Woopra to run this Trigger once per visit

Step 2: Choose and Set Up Configuration

The second step to creating a Trigger is to configure the Trigger action in the tabbed view at the bottom. You can choose from any of the options listed above in the Overview.

Option 1: Tag Visitor Properties

If you want to add visitor properties to the visitor who triggered the event, you can set the properties as key/value.

tag props

Option 2: Run Script Configuration

You can run a script on your visitors browser as soon as the tracking event is triggered. Woopra is optimized to run Triggers within less than 200 milliseconds from the event trigger time which makes Triggers extremely responsive and smart.

run script

Option 3: Webhook Configuration

Webhooks let you register a URL that we will POST anytime an event happens on your website or app. For example, when a user signs up to your website, Woopra can be configured to send an HTTP POST request to your servers (or other 3rd party endpoints).

To configure your webhook, you must provide a URL endpoint and the optional POST parameters. Just like other Trigger types, your fields can be dynamic containing the triggering event, visit, or visitor data.

The example below shows an example of how you can POST a request to your website whenever a user signs up from a company with over 300 employees:

webhook

Option 4: Email Notification Configuration

You and your team members may receive notifications via email.

Email

Email(s) Enter one or more emails separated by commas, where the notifications will be sent to.
Subject You can insert tags from the drop-down menu at the right in order to provide more contextual information about the notification. For example, it’s possible to set up a notification with subject line that reads: “John Smith from Health Corp signed up”. In this case “John Smith” is generated using the tag “Visitor Name” and “Health Corp” was generated using the tag “Company”. Note that both “Visitor Name” and “Company” are pieces of custom visitor data that you must send to Woopra. However, tags such as “Device Type” and “Country” do not require any custom visitor data.
Content This is where you define the body of the email notification that will be sent. As with the subject line, you can insert tags from the drop-down menu at the right in order to provide more contextual information within the body of the email.

Option 5: Push Notification Configuration

You will receive push notifications in two ways:

  • You will always receive them at the top of the Woopra web app
  • You can also receive them to your mobile phone if you have downloaded the Woopra iOS app or Android app.

push not

Play Sound Select the sound you would like to play in the web app whenever you receive a push notification
Content In this section you can format how the notification reads. You can insert tags from the drop-down menu at the right to provide more contextual information about the notification. For example, it’s possible to set up a notification that reads: “John Smith from Health Corp signed up”. In this case “John Smith” is generated using the tag “Visitor Name” and “Health Corp” was generated using the tag “Company”. Note that both “Visitor Name” and “Company” are pieces of custom visitor data that you must send to Woopra. However, tags such as “Device Type” and “Country” do not require any custom visitor data.
  • To receive a notification to your Woopra web app and to your mobile phone (if you have downloaded the Woopra iOS app or Android app), check the box next to “Push Notification”
  • Select a sound from the “Play Sound” drop-down menu, such as “Xylophone # 1”
  • Select a thumbnail from the “Thumbnail” drop-down menu, such as “Country Flag”
  • Define the content to be displayed in the notification. Here we will write: “Visitor Name from Company has cancelled account.”
  • “Visitor Name” and “Company” are both tags that were selected from the tag drop-down menu at the right. Note that both “Visitor Name” and “Company” are pieces of custom visitor data that you must send to Woopra.

    Option 6: AppConnect Actions

    triggers

    Your installed AppConnect apps will instantly install their Trigger Actions options as soon as the app is installed. Most Apps allow for some kind of trigger. For example, the Zendesk App allows you to change ticket priority. The HipChat app allows you to post messages to specific rooms when a given action occurs. Customer.io allows you to add visitors to relevant mailing lists based directly on their behavior, and so on.

    Click the ‘Save” button. Your triggers will begin firing when the trigger action is performed.

    Do you know what your customers are doing?
    Find out in 5 minutes.

    Start your 30-day free trial. No credit cards. No obligations.

    Try it out