Hustle

Start a Zaplane workflow when something happens in Hustle: a visitor submits an opt-in form, or a module is created or saved. This guide uses Opt-in Form Submitted as the example.

Make sure Hustle or Hustle Pro is installed and active on your site before you begin. Zaplane works with either one. Only one of them can be active at a time. There is no connection to set up, because Hustle runs on the same site.

Create a Workflow

From your WordPress dashboard, go to Zaplane > Workflows and click Create Workflow.

Zaplane > Workflows and click Create Workflow

Give the workflow a name, for example “Hustle Opt-in Submitted”, then click Create.

Hustle Opt-in Submitted", then click Create

Add the Hustle Trigger

The workflow builder opens with an empty trigger. Click Select an app.

opens with an empty trigger

In the Add Trigger panel, choose Apps.

Add Trigger panel, choose Apps.

Search for Hustle and select it.

Search for Hustle and select it

Choose the Trigger Type

Open the Trigger Type dropdown and pick the event that should start the workflow. For this guide, select Opt-in Form Submitted.

Trigger Type dropdown and pick

These are the Hustle triggers:

Trigger

Starts the workflow when

Setting

Opt-in Form Submitted

A visitor submits a Hustle opt-in form and Hustle accepts it. Submissions Hustle rejects, such as an invalid email address, do not start it.

Opt-in Module: Any Opt-in, or one opt-in module

Module Created

A new Hustle module is created.

Module Type: Any, Pop-up, Slide-in, Embed or Social Share

Module Updated

An existing Hustle module is saved in Hustle’s module editor.

Module: Any Module, or one module

Click Continue.

Configure the Trigger

Choose which opt-in form the workflow should watch. Select Any Opt-in to run for every opt-in form, or pick one module from the list. Each module is shown as Name (Type), for example “Newsletter (Pop-up)”.

Configure the Trigger

Module Created asks for a Module Type instead, and Module Updated asks for a Module.

Click Continue.

Test the Trigger

On the Test tab, click Test Trigger. Zaplane starts listening for the event.

On the Test tab, click Test Trigger.

Now do what the trigger describes on your site. For Opt-in Form Submitted, open a page that shows the chosen form and submit it with an email address. When Hustle accepts the submission, the captured data appears under Output.

 Hustle accepts the submission

Scroll down to see the email address, the submitted form fields and the other details.

submitted form fields and the other details

Click Save. The trigger now appears on the canvas.

Activate the Workflow

Add the actions you need after the trigger, such as Add Subscriber to Local List. Click Update to save the workflow.

Update to save the workflow

Open the status dropdown at the top right and choose Active.

opdown at the top right and choose Active

Data You Can Use in Later Steps

Every Hustle trigger passes data to the steps after it. Pick it from the data picker (@) in any field, or type it as a tag. A tag starts with the step’s number, for example {{2.email}} or {{2.fields.first_name}}.

Opt-in Form Submitted Fields

Field

What it holds

module

The submitted module: id, name, type, mode and active

entry_id

The Hustle entry ID. 0 when the module’s Local List is turned off, because Hustle saves nothing then

email

The submitted email address

fields

Every submitted form field by its name, for example fields.first_name

is_existing_subscriber

true when the email was already on this module’s list

local_list

Whether the module saves to Hustle’s Local List

integrations

The email services the module sends to, for example mailchimp

user_id

The WordPress user ID, 0 for a visitor who is not logged in

submitted_at

When the form was submitted

Module Created and Module Updated Fields

Field

What it holds

id

The module ID

name

The module name

type

popup, slidein, embedded or social_sharing

mode

optin or informational, empty for Social Share

active

Whether the module is published. New modules start unpublished

timestamp

When it happened

Good to Know

Module Updated runs when a module is saved in Hustle’s editor. Hustle’s Publish / Unpublish buttons and the Activate Module / Deactivate Module actions in Zaplane don’t save the module, so they don’t start it.
Hustle has no events for publishing, unpublishing, views or button clicks, so these can’t start a workflow.
If Hustle is deactivated, Hustle triggers stop running and the module lists only offer Any.

Done!

Hustle is connected. Your workflow now runs every time the Hustle event you chose happens.