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.
Give the workflow a name, for example “Hustle Opt-in Submitted”, then click Create.
Add the Hustle Trigger
The workflow builder opens with an empty trigger. Click Select an app.
In the Add Trigger panel, choose Apps.
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.
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)”.
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.
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.
Scroll down to see the email address, the 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.
Open the status dropdown 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 |
|
|
The submitted module: id, name, type, mode and active |
|
|
The Hustle entry ID. 0 when the module’s Local List is turned off, because Hustle saves nothing then |
|
|
The submitted email address |
|
|
Every submitted form field by its name, for example |
|
|
|
|
|
Whether the module saves to Hustle’s Local List |
|
|
The email services the module sends to, for example |
|
|
The WordPress user ID, 0 for a visitor who is not logged in |
|
|
When the form was submitted |
Module Created and Module Updated Fields
|
Field |
What it holds |
|
|
The module ID |
|
|
The module name |
|
|
|
|
|
|
|
|
Whether the module is published. New modules start unpublished |
|
|
When it happened |
Good to Know
Done!
Hustle is connected. Your workflow now runs every time the Hustle event you chose happens.
