Add Hustle actions to a Zaplane workflow to add someone to a module’s email list, look a subscriber up, and switch modules on or off. This guide uses Add Subscriber to Local List 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.
Set Up a Trigger First
Go to Zaplane > Workflows in your WordPress dashboard, then click Create Workflow to open the workflow editor.
Before adding a Hustle action, you need to set up a trigger first. Here is how to do it quickly:
Once the trigger is saved, add theHustle action. To use Hustle as the trigger instead, see Hustle trigger or any other app.
Add a Hustle Action
Click the + next to the trigger to add the next step.
In the Add Action panel, search for Hustle and select it.
Choose the Action Type
Open the Action Type dropdown and pick what the step should do. For this guide, select Add Subscriber to Local List.
These are the Hustle actions:
|
Action |
What it does |
Settings |
|
Add Subscriber to Local List |
Adds an email address to an opt-in module’s email list (Hustle > Email Lists). If the address is already on that list, nothing changes and the existing entry is returned. |
Opt-in Module, Email Address, First Name, Last Name, Extra Fields (JSON) |
|
Find Subscriber by Email |
Checks whether an email address is on an opt-in module’s email list and returns its saved details. |
Opt-in Module, Email Address |
|
Activate Module |
Publishes a module, the same as Hustle’s Publish. |
Module |
|
Deactivate Module |
Unpublishes a module, the same as Hustle’s Unpublish. |
Module |
Click Continue.
Configure the Action
Choose the Opt-in Module the subscriber should be added to. For Email Address, click the field and pick Email from the trigger’s data in the data picker. You can also type an address.
Fill First Name and Last Name the same way, or leave them empty.
Extra Fields (JSON) is optional. Use it to save more details with the subscriber, written as a JSON object, for example {"phone": "555-0100", "City": "Dhaka"}.
The fields each action asks for:
|
Action |
Field |
Required |
What to enter |
|
Add Subscriber to Local List |
Opt-in Module |
Yes |
The opt-in module whose email list to add to |
|
Email Address |
Yes |
The subscriber’s email address |
|
|
First Name |
No |
The subscriber’s first name |
|
|
Last Name |
No |
The subscriber’s last name |
|
|
Extra Fields (JSON) |
No |
More details as a JSON object, for example |
|
|
Find Subscriber by Email |
Opt-in Module |
Yes |
The opt-in module whose email list to search |
|
Email Address |
Yes |
The email address to look for |
|
|
Activate Module |
Module |
Yes |
Any Hustle module |
|
Deactivate Module |
Module |
Yes |
Any Hustle module |
Click Continue.
Test the Action
On the Test tab, click Test Action. Zaplane runs the step once with the trigger’s test data and shows the result under Output. This really adds the subscriber to the chosen list.
Click Save. The action appears on the canvas after the trigger.
Save and Activate the Workflow
Click Update to save the workflow.
Open the status dropdown at the top right and choose Active.
The workflow is now active. If you change the workflow later, click Update to save your changes.
Check the Result in Hustle
Go to Hustle > Email Lists, choose the module type and module, and click Show Email List. Subscribers added by the workflow appear in the list.
Action Data
Every Hustle action 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}}.
|
Action |
Fields |
|
Add Subscriber to Local List |
|
|
Find Subscriber by Email |
|
|
Activate Module, Deactivate Module |
|
All actions also return success.
Good to Know
created: false.unmapped_fields. To see it, add a field with that name or label to the Hustle form.Done!
Hustle is connected. Your workflow now runs the Hustle action every time the trigger fires.
